用记事本打开虚拟机文件夹里面以.vmx结尾的文件,在末尾添加3行:
mks.enable3d = TRUE
svga.vramSize = 67108864
vmmouse.present = FALSE
然后,主菜单 Edit > Preferences,input标签。把Ungrab when cursor leaves window的钩去掉,这样就可以在VMWare里面使用3D加速了。
但是此时有些机器可能玩不了, 进入需要3D加速的软件会出现一片白色,此时你就需要应用以下的补丁
这个补丁是要替换在虚拟机系统下的
C:\WINDOWS\system32
如果虚拟机是2000系统的话就是C:\WINNT\system32
其中VMX_FB.DLL VMX_MODE.DLL拷贝到WINDOWS\system32
VMX_SVGA.SYS放在WINDOWS\system32\drivers目录下
VMX_SVGA.inf文件可以不需要
以上的文件是放在虚拟机的windows里啊,不是放在你自己的机器里。
补丁地址:
http://www.divshare.com/download/4482272-03b
http://www.zxcf.cn/uploadfile/rar/2007-5/2007515125425621.rar
Vmare官方原文:
Enabling Accelerated 3-D for a Virtual Machine
http://www.vmware.com/support/ws5/doc/ws_vidsound_d3d_enabling_vm.html
To enable a virtual machine for accelerated 3-D
1. Choose a virtual machine with Windows 2000 or XP guest operating system.
Note: Do not enable Direct3D on a virtual machine that is powered on or suspended.
2. Add the following to the
configuration (.vmx)
file for the virtual machine:
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.
3. You may also add one or both of the following optional lines:
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:
a. Choose Edit > Preferences.
b. Click Input.
c. Deselect Ungrab when cursor leaves window.