You are not logged in.

#1 2014-10-08 14:49:32

w3
Member
Registered: 2014-03-10
Posts: 15

[SOLVED] VA-API not working properly with VLC

Hi,

I'm trying to make use of VA-API with the VLC Media Player, but it only works under certain circumstances. If I have watched the movie with hardware acceleration disabled, then enable VA-API and watch the movie again (after restarting VLC), it works. But, if I try to watch the movie with VA-API directly, the system freezes, and I'm only able to move the mouse cursor a bit. This is the output of 'vainfo':

libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.36 (libva 1.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 1.4.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

'libva-intel-driver' is installed.
The movie is in 1080p and encoded with H.264.

Any ideas?
Thanks!

Last edited by w3 (2014-10-08 21:45:11)

Offline

#2 2014-10-08 15:48:52

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [SOLVED] VA-API not working properly with VLC

Kernel 3.17 fixes this, it's in [testing] currently. For reference, it's this bug: https://bugs.archlinux.org/task/42221

Offline

#3 2014-10-08 17:13:07

w3
Member
Registered: 2014-03-10
Posts: 15

Re: [SOLVED] VA-API not working properly with VLC

Thank you! Sorry, couldn't find it on Google because I searched for 'vlc freeze vaapi'. May only be found by searching for 'vlc freeze va api' or 'vlc freeze va-api'.

Last edited by w3 (2014-10-09 13:07:11)

Offline

Board footer

Powered by FluxBB