Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm following a wiki on how to make VLC use the GPU in the Core i3 integrated graphics chipset, but I'm stuck at one of the first steps, installing VAAPI.

I installed libva1 and vainfo by using "sudo apt-get install libva1 vainfo", but when I run vainfo it says

libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

It should say

VAProfileH264High               :   VAEntrypointVLD
VAProfileVC1Advanced            :   VAEntrypointVLD

according to the wiki.

/usr/lib/dri/i965_drv_video.so doesn't exist in my system, but I installed libva1 with apt-get.

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

OK, fixed it after some googling, turned out "sudo apt-get install i965-va-driver" was also needed. vainfo now says

libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: i965 Driver 0.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
share|improve this answer
add comment

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.