Comment 28 for bug 753443

Revision history for this message
Ari (ari-reads) wrote :

Actually the package from Andrew does work. What is not needed are the packages from splitted desktop.

@RussianNeuroMancer: saw your bug report - I think you may be missing the last step below (system variables).

Here's how I got vaapi to work on Natty / AMD64 / Catalyst 11.5 from x-updates:

- Install libva1 and libva-dev after adding the x-udpates PPA
                     https://launchpad.net/~ubuntu-x-swat/+archive/x-updates?field.series_filter=natty

- use the latest xvba-va-video package (this is the equivalent of libvdpau in Nvidia), that provides the ATI XVBA backend to the VAAPI library, from here:
        https://launchpad.net/~rexbron/+archive/bugfixes
        (fixes a problem in splitted-desktop xvba-video package; do not use the one from splitted-desktop)
        sudo apt-get install xvba-video

- add the following to /etc/environment (and then reboot)

LIBVA_DRIVERS_PATH=/usr/lib/dri
LIBVA_DRIVER_NAME=fglrx

After this, vainfo output should show something like the below (note the fglrx reference):

$ DISPLAY=:0.0 vainfo

libva: libva version 0.32.0
libva: User requested driver 'fglrx'
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
     VAProfileH264High : VAEntrypointVLD
     VAProfileVC1Advanced : VAEntrypointVLD

This is working fine with XBMC.