[Libva] using libva video compression on system with no monitor

rlandle at gdrs.com rlandle at gdrs.com
Thu Aug 16 05:45:09 PDT 2012


I agree with Gwenole.
I verified that I am in the video group, and I changed the file mode and group of /dev/dri/card0 but it did not help.

>>ls -l /dev/dri/card0
crw-rw----+ 1 root video 226, 0 Aug 16 07:46 /dev/dri/card0

I can only get this to work with "root" privileges.




-----Original Message-----
From: Gwenole Beauchesne [mailto:gb.devel at gmail.com] 
Sent: Thursday, August 16, 2012 4:25 AM
To: Xiang, Haihao
Cc: Robert J. Landle; libva at lists.freedesktop.org
Subject: Re: [Libva] using libva video compression on system with no monitor

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.

-------------------------------------------------------
This is an e-mail from General Dynamics Robotic Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.



More information about the Libva mailing list