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

rlandle at gdrs.com rlandle at gdrs.com
Tue Aug 14 06:13:34 PDT 2012


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.



More information about the Libva mailing list