Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

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). Also I've fixed switchable graphics bug, using this guide (STEP 2). I've 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. PLEASE HELP! :) Thanks! :]

share|improve this question
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

1 Answer

up vote 0 down vote accepted

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

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

Yay!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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