VirtualBox problems with 3d acceleration

Hello, I use openSUSE 11.1 on my desktop pc and have installed virtualbox 2.1 from yast. I run windows xp on my vbox and I’ve enabled 3d acceleration for this virtual machine, however inside the windows xp there is no sign of opengl support… :\ I have the latest guest tools installed…:expressionless: The 3D acceleration check box is checked, and nothing happens, any ideas?

From the VB manual

The VirtualBox Guest Additions contain experimental hardware OpenGL 3D support
for Windows and Linux guests.2
With this new feature, if an application inside your virtual machine uses 3D features
through the OpenGL programming interfaces, instead of emulating them in software
(which would be slow), VirtualBox will attempt to use your host’s 3D hardware. This
works for all supported host platforms (Windows, Mac, Linux, Solaris), provided that
your host operating system can make use of your accelerated 3D hardware in the first
place.
The 3D acceleration currently has the following preconditions:

  1. It is only available for certain Windows and Linux guests. In particular:
    • For Windows guests, support is restricted to 32-bit versions of XP and Vista.
    Only OpenGL acceleration is presently available in the guests listed above;
    Direct3D is not yet supported and will be added in a future release.

See the key word. I use Virtual Box but don’t have much joy with this.

Well… my system fully supports 3d acceleration with fglrx ati driver.

Okay, but as caf4926 mentioned above you need to install this package. Your system’s hardware is not the virtual machine’s hardware. VirtualBox can handle your 3D acceleration through Guest additions package.

Which package?

xorg-x11-driver-virtualbox-ose

well… I have it.

You have it… installed?

I have the following packets installed:


virtualbox-ose 2.1.4-8.9
virtualbox-ose-guest-tools 2.1.4-8.9
virtualbox-ose-kmp-default 2.1.4_2.6.27.21_0.1-8.9
xorg-x11-driver-virtualbox-ose 2.1.4-8.9

It looks okay. I have the same packages installed, and VirtualBox shows me that the 3D acceleration is enabled. The X11 driver for VBox is a generic driver, I think this is why Windows can’t show opengl informations about it.

Any ideas how to really enable the 3d acceleration inside the guest windows xp 32 bit os?

You have to install the virtualbox guest addition on the windows machine… but do it in safe-mode or else it wont install properly.

regards,
Carlos