3D Acceleration & custom guest drivers

This is for discussing general topics about how to use VirtualBox.
Post Reply
mcietwie
Posts: 2
Joined: 19. Oct 2010, 22:11
Primary OS: MS Windows XP
VBox Version: OSE self-compiled
Guest OSses: win32

3D Acceleration & custom guest drivers

Post 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.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: 3D Acceleration & custom guest drivers

Post 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
Post Reply