Hi Frank,

In our case we use various software packages that can use OpenGL (eg Matlab 3D), all of these machines are accessed through RDP (VBoxHeadless).

When I ran benchmarks between OpenGL enabled and disabled directly through the GUI, I got a performance gain of 4X when OpenGL was enabled. So for us it does make sense to have OpenGL accelleraton support when running VMs through VBoxHeadless.

- James

On Wednesday 17 June 2009, James Lucas wrote:
> Is it possible to have OpenGL enabled on a Windows Guest/RHEL Host when
> started via VBoxHeadless?
>
> The machine starts correctly when run from the GUI and OpenGL works,
> when starting from the VBoxHeadless command line I get
>
> > 00:00:00.160 OpenGL Warning: Render SPU: no display, aborting
> > 00:00:00.160 OpenGL Warning: Render SPU: Couldn't get a visual,
> > renderspu_SystemInitVisual failed
> > 00:00:00.160 OpenGL Warning: Render SPU: Couldn't create a window,
> > renderspuFindVisual returned NULL
> > 00:00:00.160 OpenGL Error: Render SPU: Couldn't get a double-buffered,
> > RGB visual with Z!
> > 00:00:00.160 Failed to load Shared OpenGL service VERR_NOT_SUPPORTED
>
> Which would indicate it requires a X session. Is this correct or should
> I open a bug?

This is not a bug but a feature: VBoxHeadless does not have any
X11 dependencies. As you can access a headless session only via
RDP (or by guest means like ssh of course), it wouldn't make much
sense to enable OpenGL for such guests.

Kind regards,

Frank
--
Dr.-Ing. Frank Mehnert    Sun Microsystems, Inc.    www.sun.com

--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly, and
with authority, states them to be the views the University of Technology,
Sydney. Before opening any attachments, please check them for viruses and
defects.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to