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.

  • 1
    Please edit the original questions rather than add in information in comments. – user68186 Aug 14 '12 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 '12 at 18:32
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! :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.