You are not logged in.

#1 2015-03-11 23:25:40

ooo
Member
Registered: 2013-04-10
Posts: 1,638

[SOLVED] VA-API stopped working

I've had set up my system to support vaapi hardware decoding with mpv, everything according to the wiki, but just noticed that out of nowhere it had stopped working.

I have libva-intel-driver and libvdpau-va-gl installed

also I have these variables set

$ export |grep -i vdpau
declare -x LIBVA_DRIVER_NAME="vdpau"
declare -x VDPAU_DRIVER="va_gl"

this is the error I'm getting from vainfo (and mpv when it tries to open vaapi hwdec driver)

$ vainfo 
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

I just double checked the wiki and everything seems to be set up right.
Any ideas of what could be wrong appreciated.


EDIT:

The issue was actually solved quite easily.

I was trying to figure out why libva is trying to load vdpau_drv_video.so when I'm on intel gfx card (which is something I forgot to mention earlier), and tried

unset LIBVA_DRIVER_NAME

and now everything libva related seems to be working again. Just bit of a misunderstanding from my part..

Last edited by ooo (2015-03-11 23:44:55)

Offline

Board footer

Powered by FluxBB