You are not logged in.
Pages: 1
I'm having problems using VAAPI as a normal user since yesterday:
$ vainfo
libva: VA-API version 0.33.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/dri//xvba_drv_video.so
libva: Found init function __vaDriverInit_0_32
libva error: /usr/lib/dri//xvba_drv_video.so init failed
libva: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exitIt works as root:
$ sudo vainfo
libva: VA-API version 0.33.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: Found init function __vaDriverInit_0_32
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.33 (libva 1.1.0)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLDSame thing with mplayer, I can only get -vo vaapi working as root.
I'm not sure what could have broken it, since I hadn't tried to use it recently.
Thanks.
Offline
Hi,
Is your user still a member of the video group?
Offline
I was. I just removed myself from it, and the problem still stands.
Offline
The error seems to be related to the lib with vainfo calls but not really your user.
Normal user:
libva error: /usr/lib/dri//xvba_drv_video.so init failedRoot:
libva: Trying to open /usr/lib/dri/fglrx_drv_video.soCompare the search path of root and your standard user.
The hard approach would be a link to your fglrx_drv_video.so if you are unable to resolve the path issue. Also check out the file permissions of fglrx. May be group has no correct rights and xvba_drv is the fallback ?!?
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
I changed /etc/profile.d/xvba.sh, now vainfo returns
$ vainfo
libva: VA-API version 0.33.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: Found init function __vaDriverInit_0_32
libva error: /usr/lib/dri/fglrx_drv_video.so init failed
libva: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exitFurthermore, both files are identical, and changing ownership of that file to my user didn't help.
I also tried to use xvba-video-open. It works with vainfo, but mplayer crashes instantly.
Last edited by tungsten (2012-06-23 03:04:06)
Offline
Pages: 1