Page 1 of 1

3D Acceleration & custom guest drivers

Posted: 4. Jan 2011, 20:45
by mcietwie
Hello, a two part question regarding 3D Acceleration:

1. How would one go about writing an opengl driver for a guest that doesn't currently have any 3D Acceleration support in VirtualBox? Is there a virtual 3d device with some sort of API/interface? As an example VMWare has a SVGA 3D device that a 3d driver can send commands to, which are later processed async by VMWare and/or sent to the host GPU.

2. Does VirtualBox support saving the state while 3D Acceleration is being used? Will it be able to restore such a state fully? This would include saving/restoring the state the GPU is in.

Re: 3D Acceleration & custom guest drivers

Posted: 5. Jan 2011, 13:38
by Technologov
>1. How would one go about writing an opengl driver for a guest that doesn't currently have any 3D Acceleration support in VirtualBox? Is there a virtual 3d device with some sort of API/interface? As an example VMWare has a SVGA 3D device that a 3d driver can send commands to, which are later processed async by VMWare and/or sent to the host GPU.

VirtualBox uses Chromium layer -- look at Windows XP guest drivers to see how it works.

>2. Does VirtualBox support saving the state while 3D Acceleration is being used? Will it be able to restore such a state fully? This would include saving/restoring the state the GPU is in.

Not sure about this one.
To my knowledge it doesn't work.

-Technologov