Showing posts with label VMWare. Show all posts
Showing posts with label VMWare. Show all posts

Tuesday, January 1, 2008

VMWare: Enable 3D Acceleration

Last updated: 2008-07-30

To enable 3D acceleration for a virtual machine:
1. Shutdown the guest OS AND exit VMWare Workstation completely. Even the guest OS is turned off, if you don't close VMWare, your changes will be reverted back.
Note: Do not enable Direct3D on a virtual machine when it is powered on or suspended

2. Open the configuration file (.vmx) with notepad or any text editor

3. Add the following lines:

(Reqired)
=======
mks.enable3d = TRUE
This line enables accelerated 3-D on the host. It is required to support accelerated 3-D in the guest and also enables the host to accelerate 2-D portions of the guest display.

(Optional)
=======
svga.vramSize = 67108864
This line increases the amount of VRAM on the virtual display card to 64 MB. Adding more VRAM helps to reduce thrashing in the guest. The maximum value is 128 MB.

vmmouse.present = FALSE
This line disables the absolute pointing device in the guest. Applications which require DirectInput relative mode need to turn off the absolute pointing device in the guest. In practice, this is only required for a certain class of full screen 3-D applications (for example, real-time games like first-person shooters).

Note: If you set the vmmouse.present option, you should also turn off the preference for motion ungrabbing in the Input tab of the Preferences settings dialog.

To turn off ungrabbing for vmouse.present:
1. In VMWare, click Edit -> Preferences
2. Under the Input tab, uncheck Ungrab when cursor leaves window

Ref: Enabling Accelerated 3-D for a Virtual Machine



Other things to double-check:
1. 3D acceleration is enabled on the host OS
2. Install the latest version of VMWare Tools on the guest OS


Ref:
Enabling Accelerated 3-D