Hi,

2012/8/16 Xiang, Haihao <haihao.xi...@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.
_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to