Results 1 to 6 of 6

Thread: HD2400 Enabled TexturedVideo, Xv apps still Crash

  1. #1
    Join Date
    Mar 2008
    Posts
    3

    Default HD2400 Enabled TexturedVideo, Xv apps still Crash

    Hi all. I'm new to the world of ATI/AMD cards but not Linux itself, so hopefully this isn't a totally stupid question.

    I have a PC with a Diamond HD2400. I installed the 8.3 drivers and they seem to do okay, with the exception of anything Xv related. xvinfo returned something along the lines of no xv support.

    Reading phoronix and elsewhere I realized I needed to enable TexturedVideo in order to get Xv working.

    xorg.conf Device section:
    Section "Device"
    Identifier "device1"
    Driver "fglrx"
    BoardName "ATI Radeon HD 2400"
    Option "DPMS"
    Option "DesktopSetup" "horizontal"
    Option "TexturedVideo" "on"
    Option "OpenGLOverlay" "on"
    BusID "PCI:2:0:0"


    After enabling TexturedVideo xvinfo returns:
    X-Video Extension version 2.2
    screen #0
    Adaptor #0: "ATI Radeon AVIVO Video"
    number of ports: 4
    port base: 131
    operations supported: PutImage
    supported visuals:
    [...]

    However Xv apps (totem, xine, etc) all crash as follows:
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 142 (XVideo)
    Minor opcode of failed request: 17 ()


    Is there something I've missed in the configuration of the xorg.conf?

    I can provide full files at request, just didn't want to jam up the forum if they weren't needed.

    This is kernel 2.6.24.3 if that matters.

    Thanks
    -MrA

  2. #2
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,281

    Default

    Can you try with mplayer ?

  3. #3
    Join Date
    Mar 2008
    Posts
    3

    Default

    Quote Originally Posted by bridgman View Post
    Can you try with mplayer ?
    mplayer does some interesting things. First the screen goes black for 1-2 seconds and then the video window opens but is just black on the inside. Audio plays. I noticed similar behavior from the gstreamer xv backend, a black window but no crash.

    When I quit mplayer it does the whole screen goes back thing before quitting as well.

    ISO: File Type Major Brand: Original QuickTime
    Quicktime/MOV file format detected.
    [mov] Video stream found, -vid 0
    [mov] Audio stream found, -aid 1
    VIDEO: [avc1] 480x272 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
    Clip info:
    comments: Encoded and delivered by apple.com/trailers/
    copyright: � 2007 All Rights Reserved
    name: Teeth
    xscreensaver_disable: Could not find XScreenSaver window.
    ================================================== ========================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ================================================== ========================
    ================================================== ========================
    Trying to force audio codec driver family libmad...
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
    ================================================== ========================
    AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    VDec: vo config request - 480 x 272 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO: [xv] 480x272 => 480x272 Planar YV12 [zoom]
    A: 12.9 V: 12.9 A-V: -0.000 ct: 0.023 387/387 3% 0% 0.6% 0 0
    Exiting... (Quit)

  4. #4
    Join Date
    Mar 2008
    Posts
    3

    Default

    Okay this is weird after running mplayer for the above test both totem and xine play just fine. I'll do some further testing

    Thanks

  5. #5
    Join Date
    Nov 2007
    Posts
    75

    Default

    I have the same problem with a 1900XT. I just reinstalled because i had the same problem before. The strange thing is that it worked with mplayer with the first two reboots then i got the same old behavior (crash or black/non updating window).

    Xvinfo:
    X-Video Extension version 2.2
    screen #0
    Adaptor #0: "ATI Radeon AVIVO Video"
    number of ports: 4
    port base: 131
    operations supported: PutImage
    supported visuals:
    ...

    mplayer battlefield_2_the_pwned_life.avi
    MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2008 MPlayer Team
    CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

    Playing battlefield_2_the_pwned_life.avi.
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO: [XVID] 640x480 24bpp 29.970 fps 1377.1 kbps (168.1 kbyte/s)
    ================================================== ========================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ================================================== ========================
    ================================================== ========================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ================================================== ========================
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    VO: [xv] 640x480 => 640x480 Planar YV12
    X11 error: BadValue (integer parameter out of range for operation)
    X11 error: BadValue (integer parameter out of range for operation)
    X11 error: BadValue (integer parameter out of range for operation)
    X11 error: BadValue (integer parameter out of range for operation)
    And so on.

    Seems to be card specific. On my old computer with a 9800pro it works without any problems.
    I tried vlc but it just gave the same error and crashed.
    Had xorg 7.3 before reinstall and kernel 2.6.24. After reinstall xorg 7.2 and kernel 2.6.23.
    Last edited by ZedDB; 03-16-2008 at 02:08 PM.

  6. #6
    Join Date
    Nov 2007
    Posts
    75

    Default

    It's working again thanks to this: http://www.phoronix.com/forums/showp...&postcount=173
    However, sometimes when i open up an other video, after i already started playing one, the new one is to big and goes outside of the screen. Kind of like if you had just chopped out a piece of a lagre picture rather then resize it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •