Results 1 to 10 of 11

Thread: Problem using xvba

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    21

    Wink Problem using xvba

    Hi,

    I'm running ubuntu 10.10, trying to get xvba working for my radeon mobility HD4570. I've got mobility catalyst 10.12 installed, as well as libva from the repo's, and xvba-video_0.7.7-1_amd64.deb from splitted-desktop. I've downloaded and compiled mplayer, but when I try to run it, I get no video, just audio. inspecting vainfo gives me the following error:
    Code:
    libva: libva version 0.31.0
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit
    and fglrxinfo gives:
    Code:
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: ATI Mobility Radeon HD 4500 Series
    OpenGL version string: 3.3.10362 Compatibility Profile Context
    Anyone have a clue what's going on here? I can't upgrade libva, as that breaks dependencies, and I have no idea what else to do... mplayer gives the same error as vainfo btw, the rest of the output was standard.

  2. #2
    Join Date
    Feb 2009
    Posts
    21

    Default

    hmm since I'm not able to edit:

    I've now got vainfo to return something useful. I did this by the following two commands:

    Code:
    export LIBVA_DRIVER_NAME="fglrx"
    sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/fglrx/dri/fglrx_drv_video.so
    after which vainfo returned:

    Code:
    libva: libva version 0.31.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/fglrx/dri/fglrx_drv_video.so
    libva: va_openDriver() returns 0
    vainfo: VA API version: 0.31
    vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.7
    vainfo: Supported profile and entrypoints
          VAProfileH264High               :	VAEntrypointVLD
          VAProfileVC1Advanced            :	VAEntrypointVLD
    However, when playing a h264 file, I get garbled output, as well as the following message among the output, which I think indicates what's wrong, but I have no idea how to fix it...

    Code:
    Starting playback...
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=1.

  3. #3
    Join Date
    Feb 2009
    Posts
    21

    Default

    Last update for now..

    I've managed to install libva1_0.31.1-1+sds4_amd64.deb, using dpkg, and vainfo gives correct output on its own now. However, I'm trying to recompile mplayer now, and it fails to link in the end:

    Code:
    /usr/bin/ld: cannot find -lva
    I'm not sure how to update this information, just calling ldconfig doesn't seem to work..

    For reference, this is the output of ldd /usr/bin/vainfo:
    Code:
    	linux-vdso.so.1 =>  (0x00007ffffd34c000)
    	libva-0.31.1.1.so.1 => /usr/lib/libva-0.31.1.1.so.1 (0x00007f5af2df5000)
    	libva-x11-0.31.1.1.so.1 => /usr/lib/libva-x11-0.31.1.1.so.1 (0x00007f5af2cee000)
    	libc.so.6 => /lib/libc.so.6 (0x00007f5af296a000)
    	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f5af2634000)
    	libdl.so.2 => /lib/libdl.so.2 (0x00007f5af2430000)
    	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f5af221d000)
    	libdrm.so.2 => /lib/libdrm.so.2 (0x00007f5af2012000)
    	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f5af1e0c000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007f5af2f2c000)
    	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f5af1bee000)
    	librt.so.1 => /lib/librt.so.1 (0x00007f5af19e6000)
    	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f5af17e3000)
    	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f5af15dc000)
    	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5af13bf000)
    hope someone can help me here..

  4. #4
    Join Date
    Oct 2007
    Posts
    16

    Default

    Try a pre-compiled VLC with xvba from this PPA:
    https://launchpad.net/~dtl131/+archive/catalysthacks

    Once you have it installed, go in to tools>preferences>input & codecs>and check GPU acceleration.
    AFAIK it works.

    Unfortunately I'm having performance trouble playing videos with the fglrx driver, So I can't tell if GPU accel helps.

    Any info as to why using fglrx takes ~55% cpu to watch a 720p video when xorg drivers only need 20%?

    HD4850 ubuntu 10.10 here

  5. #5
    Join Date
    Oct 2007
    Posts
    16

    Default

    I guess I can't edit my post.

    Anyways. GPU accel does work with this VLC. my CPU usage went from ~55% to ~22%.
    Playback smoothness is indistinguishable; I still have lag (with or without compiz).

    xorg drivers playback is perfectly smooth.

  6. #6
    Join Date
    Feb 2009
    Posts
    21

    Default

    Thanks, I'll try it. Usually I use mplayer, but if video accel works, I'll switch

Posting Permissions

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