0

I've followed steps in this guide. Here is output of vainfo command:

me@hostname:~$ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

I have Catalyst 12.6 driver installed (from debs). I've fixed switchable graphics bug, using this guide (step 2). Also I tried to add LIBVA_DRIVER_NAME=xvba LIBVA_DRIVERS_PATH=/usr/lib/va/drivers to /etc/environment and rebooted system, but the result was the same.

2
  • 1
    Please edit the original questions rather than add in information in comments.
    – user68186
    Aug 14, 2012 at 17:11
  • 1
    Please answer your own question in the your answer section below and accept your answer so that the question is marked answered and others can benefit from it.
    – user68186
    Aug 17, 2012 at 18:32

1 Answer 1

0

I found the solution! Executing following will create a link to required file:

sudo ln -s xvba_drv_video.so /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so

And...

me@hostname:~$ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

Yay! It works! :)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .