Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Hardware video acceleration not working on HD4530 (DisablePCIEx1LaneUVD?????)

  1. #1
    Join Date
    Feb 2011
    Posts
    14

    Default Hardware video acceleration not working on HD4530 (DisablePCIEx1LaneUVD?????)

    Hi everybody.
    I'm totally new to this forums but I think this is the best place to ask for this.

    My machine is an ASUS EEEPC EB1006.
    Despite of following every tutorial I've found about ATI hardware video acceleration I haven't got it to work.
    But there's one thing curious. In Windows I got it but I must "insert" a value at the registry because it's not activated by default in Catalyst drivers.
    This value is DisablePCIEx1LaneUVD and must set to 0.
    I'm asking if this could be happening on Linux Catalyst drivers too.

    Any ideas ?

    Thank you very much in advance and sorry for my english.

  2. #2
    Join Date
    Aug 2007
    Posts
    6,496

    Default

    Whats your output of

    vainfo

    ?

  3. #3
    Join Date
    Feb 2011
    Posts
    14

    Default

    Hi Kano.

    Well, I'm now preparing a new fresh Ubuntu maverick install.
    I'll install the last Catalyst drivers and then... could you please tell me what's next ?
    I suppose libva from http://www.splitted-desktop.com/~gbeauchesne/.
    Is it better package or compiled?

    Wish to know the really right steps!

    Thanks.

  4. #4
    Join Date
    Feb 2011
    Posts
    14

    Default

    Hi Kano.

    I've just installed a new fresh Ubuntu maverick.
    It has the last Catalyst driver so, what's next ?

    I suppose libva from splitted desktop but, package or compile it ?

    Wish to know the right steps.

    Thank you very much.

  5. #5
    Join Date
    Aug 2007
    Posts
    6,496

    Default

    All wrong assumptions...
    Code:
    sudo -i
    cd /tmp
    wget -N http://kanotix.com/files/install-fglrx-debian.sh
    DISPLAY= sh install-fglrx-debian.sh -z
    reboot
    Then
    Code:
    wget -qO- http://kanotix.com/files/fix/mplayer-vaapi-latest.txt|sudo bash
    And then try again...

  6. #6
    Join Date
    Oct 2010
    Posts
    257

    Default

    Quote Originally Posted by txboy View Post
    Hi Kano.

    I've just installed a new fresh Ubuntu maverick.
    It has the last Catalyst driver so, what's next ?

    I suppose libva from splitted desktop but, package or compile it ?

    Wish to know the right steps.

    Thank you very much.
    Hello txboy, which libva-sds version did you try to compile?

    If you tried to compile libva-0.32.0-sds1, currently xvba-video doesn't support it (this also happens if you try to use xvba-video with libva 1.0.9/1.0.10 from Freedesktop.org). I can confirm it as I tested it by myself (yesterday) and it gives an API version error.

    If you want to have vaapi acceleration with Catalyst, ATM try to use xvba-video-0.7.8-pre1, along with the latest libva-0.31-sds version + mplayer-vaapi from Splitted Desktop. I can confirm this combination is working properly ATM.

    Cheers

  7. #7
    Join Date
    Jun 2009
    Location
    Paris
    Posts
    428

    Default

    Quote Originally Posted by txboy View Post
    Hi everybody.
    I'm totally new to this forums but I think this is the best place to ask for this.

    My machine is an ASUS EEEPC EB1006.
    Despite of following every tutorial I've found about ATI hardware video acceleration I haven't got it to work.
    But there's one thing curious. In Windows I got it but I must "insert" a value at the registry because it's not activated by default in Catalyst drivers.
    This value is DisablePCIEx1LaneUVD and must set to 0.
    I'm asking if this could be happening on Linux Catalyst drivers too.

    Any ideas ?

    Thank you very much in advance and sorry for my english.
    AFAICS, there is no such PCS entry in the Linux Catalyst version.

  8. #8
    Join Date
    Feb 2011
    Posts
    14

    Default

    Quote Originally Posted by Kano View Post
    All wrong assumptions...
    Code:
    sudo -i
    cd /tmp
    wget -N http://kanotix.com/files/install-fglrx-debian.sh
    DISPLAY= sh install-fglrx-debian.sh -z
    reboot
    Then
    Code:
    wget -qO- http://kanotix.com/files/fix/mplayer-vaapi-latest.txt|sudo bash
    And then try again...
    Still no hardware acceleration with this.

    I think that the DisablePCIEx1LaneUVD option is the cause.
    In fact, ASUS sells this machine as HD video playbak and the oficial ASUS video driver has that option enabled, but no the Catalyst one.

    If, as gbeauche said, there is no such PCS entry in the Linux Catalyst version, don't know what to do now. Perhaps sending a bug to ATI ?

    Anyway, I'm going to post my results.

    From vainfo:
    Code:
    libva: libva version 0.31.1-sds1
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_openDriver() returns 0
    vainfo: VA API version: 0.31
    vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8.pre1
    vainfo: Supported profile and entrypoints
          VAProfileH264High               :	VAEntrypointVLD
          VAProfileVC1Advanced            :	VAEntrypointVLD
    And from mplayer:
    Code:
    MPlayer SVN-r32819-4.4.5 (C) 2000-2011 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    ...
    libavformat file format detected.
    [matroska,webm @ 0x9f197b0] max_analyze_duration reached
    [matroska,webm @ 0x9f197b0] Estimating duration from bitrate, this may be inaccurate
    ...
    VIDEO:  [H264]  1920x800  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
    Load subtitles in ./
    libva: libva version 0.31.1-sds1
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_openDriver() returns 0
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    [VD_FFMPEG] VA API accelerated codec.
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
    Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
    ==========================================================================
    AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=1.
    Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
    VO: [vaapi] 1920x800 => 1920x800 H.264 VA-API Acceleration 
    xvba_video: XVBA_CreateDecode(): status 2
    [vo_vaapi] vaCreateContext(): unknown libva error
    FATAL: Cannot initialize video driver.
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=0.
    Unsupported PixelFormat 61
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=2.
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=3.
    Movie-Aspect is undefined - no prescaling applied.
    VO: [vaapi] 1920x800 => 1920x800 Planar YV12 
    A:   3.3 V:   2.6 A-V:  0.691 ct:  0.013   0/  0 87% 68%  2.4% 50 0 
    
    
               ************************************************
               **** Your system is too SLOW to play this!  ****
               ************************************************
    
    Possible reasons, problems, workarounds:
    - Most common: broken/buggy _audio_ driver
      - Try -ao sdl or use the OSS emulation of ALSA.
      - Experiment with different values for -autosync, 30 is a good start.
    - Slow video output
      - Try a different -vo driver (-vo help for a list) or try -framedrop!
    - Slow CPU
      - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
        e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
    - Broken file
      - Try various combinations of -nobps -ni -forceidx -mc 0.
    - Slow media (NFS/SMB mounts, DVD, VCD etc)
      - Try -cache 8192.
    - Are you using -cache to play a non-interleaved AVI file?
      - Try -nocache.
    Read DOCS/HTML/en/video.html for tuning/speedup tips.
    If none of this helps you, read DOCS/HTML/en/bugreports.html.
    
    A:   5.3 V:   4.0 A-V:  1.310 ct:  0.011   0/  0 95% 56%  2.3% 81 0 
    
    Exiting... (Quit)
    This video works like a charm in Windows.
    You can see the "xvba_video: XVBA_CreateDecode(): status 2
    [vo_vaapi] vaCreateContext(): unknown libva error" which is making me crazy.

    Thanks for any help.

  9. #9
    Join Date
    Feb 2011
    Posts
    14

    Default

    Could it be Chrome ?
    I have to write post twice to do it appear.

  10. #10
    Join Date
    Feb 2011
    Posts
    14

    Default

    Quote Originally Posted by Kano View Post
    All wrong assumptions...
    Code:
    sudo -i
    cd /tmp
    wget -N http://kanotix.com/files/install-fglrx-debian.sh
    DISPLAY= sh install-fglrx-debian.sh -z
    reboot
    Then
    Code:
    wget -qO- http://kanotix.com/files/fix/mplayer-vaapi-latest.txt|sudo bash
    And then try again...
    Still no hardware acceleration with this.

    I think that the DisablePCIEx1LaneUVD option is the cause.
    In fact, ASUS sells this machine as HD video playbak and the oficial ASUS video driver has that option enabled, but no the Catalyst one.

    If, as gbeauche said, there is no such PCS entry in the Linux Catalyst version, don't know what to do now. Perhaps sending a bug to ATI ?

    Anyway, I'm going to post my results.

    From vainfo:
    Code:
    libva: libva version 0.31.1-sds1
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_openDriver() returns 0
    vainfo: VA API version: 0.31
    vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8.pre1
    vainfo: Supported profile and entrypoints
          VAProfileH264High               :	VAEntrypointVLD
          VAProfileVC1Advanced            :	VAEntrypointVLD
    And from mplayer:
    Code:
    MPlayer SVN-r32819-4.4.5 (C) 2000-2011 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    ...
    libavformat file format detected.
    [matroska,webm @ 0x9f197b0] max_analyze_duration reached
    [matroska,webm @ 0x9f197b0] Estimating duration from bitrate, this may be inaccurate
    ...
    VIDEO:  [H264]  1920x800  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
    Load subtitles in ./
    libva: libva version 0.31.1-sds1
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_openDriver() returns 0
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    [VD_FFMPEG] VA API accelerated codec.
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
    Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
    ==========================================================================
    AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=1.
    Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
    VO: [vaapi] 1920x800 => 1920x800 H.264 VA-API Acceleration 
    xvba_video: XVBA_CreateDecode(): status 2
    [vo_vaapi] vaCreateContext(): unknown libva error
    FATAL: Cannot initialize video driver.
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=0.
    Unsupported PixelFormat 61
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=2.
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=3.
    Movie-Aspect is undefined - no prescaling applied.
    VO: [vaapi] 1920x800 => 1920x800 Planar YV12 
    A:   3.3 V:   2.6 A-V:  0.691 ct:  0.013   0/  0 87% 68%  2.4% 50 0 
    
    
               ************************************************
               **** Your system is too SLOW to play this!  ****
               ************************************************
    
    Possible reasons, problems, workarounds:
    - Most common: broken/buggy _audio_ driver
      - Try -ao sdl or use the OSS emulation of ALSA.
      - Experiment with different values for -autosync, 30 is a good start.
    - Slow video output
      - Try a different -vo driver (-vo help for a list) or try -framedrop!
    - Slow CPU
      - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
        e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
    - Broken file
      - Try various combinations of -nobps -ni -forceidx -mc 0.
    - Slow media (NFS/SMB mounts, DVD, VCD etc)
      - Try -cache 8192.
    - Are you using -cache to play a non-interleaved AVI file?
      - Try -nocache.
    Read DOCS/HTML/en/video.html for tuning/speedup tips.
    If none of this helps you, read DOCS/HTML/en/bugreports.html.
    
    A:   5.3 V:   4.0 A-V:  1.310 ct:  0.011   0/  0 95% 56%  2.3% 81 0 
    
    Exiting... (Quit)
    You can see the "xvba_video: XVBA_CreateDecode(): status 2
    [vo_vaapi] vaCreateContext(): unknown libva error" which is making me crazy.

    Thanks for any help.

Posting Permissions

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