I am using fedora core 16.
Yes I have full sudo access, but I don't want to have to run as sudo.

The display does not get "authenticated" when I run with just my user name.



-----Original Message-----
From: Ratin [mailto:rat...@gmail.com] 
Sent: Tuesday, August 14, 2012 7:07 PM
To: Robert J. Landle
Cc: libva@lists.freedesktop.org
Subject: Re: [Libva] using libva video compression on system with no monitor

Which OS? If debian, granting access to non-root users in /etc/sudoers
file does not do it?

%my-username   ALL=NOPASSWD: ALL




On Tue, Aug 14, 2012 at 9:25 AM,  <rlan...@gdrs.com> wrote:
> Ignore my changes to vainfo. This change was not necessary.
>
> I have now successfully used avcenc as well.
>
> I still need to run with sudo or root permission?
>
> Thanks,
> Bob L.
>
>
>
>
>
> -----Original Message-----
> From: Robert J. Landle
> Sent: Tuesday, August 14, 2012 10:45 AM
> To: libva@lists.freedesktop.org
> Subject: RE: [Libva] using libva video compression on system with no monitor
>
>
> The staging branch of intel-driver compiled successfully against the staging 
> branch of libva.
>
> I can now run:
>
>>>sudo vainfo --display drm
> with the correct results.
>
> But I need to run as sudo, or with root privileges?
>
> I suppose that is because we are opening the /dev/dri/card0 and /dev/dri is 
> in the root group.
>
> Do you have any suggestions on how use this without running as sudo or root?
>
> Thanks,
> Bob L.
>
>
>
>
>
> -----Original Message-----
> From: libva-bounces+rlandle=gdrs....@lists.freedesktop.org 
> [mailto:libva-bounces+rlandle=gdrs....@lists.freedesktop.org] On Behalf Of 
> rlan...@gdrs.com
> Sent: Tuesday, August 14, 2012 9:48 AM
> To: libva@lists.freedesktop.org
> Subject: Re: [Libva] using libva video compression on system with no monitor
>
> I see in the avcenc example there is a call to the va_init_display_args() 
> function to force the name of the display to be drm
>
> This function call does not appear to be in the avinfo test.
>
> If I copy this function call into vainfo.c, recompile, and run
>>> vainfo --display drm
>
> I see va_open_display_drm gets called.
>
> I still cannot compile the intel-driver-1.0.15 with this version of libva.
>
> Thanks,
> Bob
>
>
>
> -----Original Message-----
> From: libva-bounces+rlandle=gdrs....@lists.freedesktop.org 
> [mailto:libva-bounces+rlandle=gdrs....@lists.freedesktop.org] On Behalf Of 
> rlan...@gdrs.com
> Sent: Tuesday, August 14, 2012 9:14 AM
> To: libva@lists.freedesktop.org
> Subject: Re: [Libva] using libva video compression on system with no monitor
>
> Haihao,
> I git-cloned the staging branch and can see the addition of the 
> ./test/common/va_display_drm.c
>
> It is clear to me that va_open_display_drm() will get called when DRM is an 
> available display.
> But am I supposed to configure libva with --enable-x11 off, so that this 
> function is the only option?
>
> The va_open_display_x11 function still gets called when I configure with the 
> defaults (x11 on).  This gives me an error and va_open_display_drm() never 
> gets called.
>
> Also if I configure libva with --enable-x11 off I have problems building the 
> intel-driver-1.0.15.
>
> Do I need a newer intel driver library to support the raw-DRM capabilities of 
> the libva?
>
> Thanks,
> Bob
>
> -----Original Message-----
> From: Xiang, Haihao [mailto:haihao.xi...@intel.com]
> Sent: Monday, August 13, 2012 11:11 PM
> To: Robert J. Landle
> Cc: libva@lists.freedesktop.org
> Subject: Re: [Libva] using libva video compression on system with no monitor
>
>
> The staging branch supports raw-DRM. With it, an user can use libva
> without an X server.
>
> Thanks
> Haihao
>
>
>
>> I was wondering if it was possible to use libva for gpu video
>> compression/acceleration on intel HD3000 on a system with no monitor?
>>
>> I have an fc-16 (linux 3.1) sytem in which I built the intel 2001Q4
>> graphic package.
>>
>> I can run vainfo successfully while I am plugged into the system with
>> keyboard/mouse/monitor.
>>
>>
>>
>> However when I ssh into the system an attempt to run vainfo I get the
>> following error:
>>
>>
>>
>> libva: VA-API version 0.32.0
>>
>> Xlib:  extension "XFree86-DRI" missing on display "localhost:10.0".
>>
>> libva: va_getDriverName() returns -1
>>
>> vaInitialize failed with error code -1 (unknown libva error),exit
>>
>>
>>
>> It must be possible to take advantage of the intel gpu video
>> compression acceleration hardware on systems without a
>> monitor/keyboard/mouse. No?
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Bob
>>
>>
>> ------------------------------------------------------
>>
>> 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.
>>
>>
>> _______________________________________________
>> Libva mailing list
>> Libva@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libva
>
>
>
> -------------------------------------------------------
> 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.
>
> _______________________________________________
> Libva mailing list
> Libva@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>
> -------------------------------------------------------
> 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.
>
> _______________________________________________
> Libva mailing list
> Libva@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>
> -------------------------------------------------------
> 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.
>
> _______________________________________________
> Libva mailing list
> Libva@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva

-------------------------------------------------------
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.

_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to