[Libva] Permission problem using vaapi.
Xiang, Haihao
haihao.xiang at intel.com
Fri Jul 22 06:33:51 UTC 2016
> Hi,
> This's a fairly common problem. As root --
>
> ./vainfo
> libva info: VA-API version 0.39.2
> libva info: va_getDriverName() returns 0
> libva info: Trying to open
> /home/de/small/temp_small/libva/root/lib/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_39
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 0.39 (libva 1.7.1)
> vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake
> Mobile -
> 1.7.1
> vainfo: Supported profile and entrypoints
> VAProfileMPEG2Simple : VAEntrypointVLD
> VAProfileMPEG2Main : VAEntrypointVLD
> VAProfileH264ConstrainedBaseline: VAEntrypointVLD
> VAProfileH264Main : VAEntrypointVLD
> VAProfileH264High : VAEntrypointVLD
> VAProfileNone : VAEntrypointVideoProc
>
> As user --
> ./vainfo
> libva info: VA-API version 0.39.2
> libva info: va_getDriverName() returns 1
> libva error: va_getDriverName() failed with operation
> failed,driver_name=i965
> vaInitialize failed with error code 1 (operation failed),exit
>
According to the above info, I presume you are using vaapi on X11, is
that right? Does vainfo work for you if no X11?
> Yes, I'm in the video group.
What is the permission mode of /dev/dri/card0 and /dev/dri/renderD128?
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libva
More information about the Libva
mailing list