[Libva] using libva video compression on system with no monitor
rlandle at gdrs.com
rlandle at gdrs.com
Tue Aug 14 07:45:01 PDT 2012
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.com at lists.freedesktop.org [mailto:libva-bounces+rlandle=gdrs.com at lists.freedesktop.org] On Behalf Of rlandle at gdrs.com
Sent: Tuesday, August 14, 2012 9:48 AM
To: libva at 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.com at lists.freedesktop.org [mailto:libva-bounces+rlandle=gdrs.com at lists.freedesktop.org] On Behalf Of rlandle at gdrs.com
Sent: Tuesday, August 14, 2012 9:14 AM
To: libva at 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.xiang at intel.com]
Sent: Monday, August 13, 2012 11:11 PM
To: Robert J. Landle
Cc: libva at 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 at 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 at 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 at 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.
More information about the Libva
mailing list