[Libva] using libva video compression on system with no monitor
Gwenole Beauchesne
gb.devel at gmail.com
Thu Aug 16 01:25:23 PDT 2012
Hi,
2012/8/16 Xiang, Haihao <haihao.xiang at intel.com>:
>> I see a comment in /va/drm/va_drm_auth.c
>>
>> /* Default: root + master privs are needed for the following call */
>
> Master is enough.
Master requires "root" privileges.
> That is because the permission is wrong for you. Usually the file mode
> of /dev/dri/card0 is
>
> crw-rw---- 1 root video 226, 0 2012-08-16 08:55 /dev/dri/card0
>
> So either add the user into video group or change the file mode.
The other condition is to *not* have any X server running, or that you
provide a valid DISPLAY in that case.
Regards,
Gwenole.
More information about the Libva
mailing list