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 three lines to the .vmx configuration file for the virtual machine:
mks.enable3d = TRUE
(Required) This enables accelerated 3D on the host. It is required to support accelerated 3D in the guest and also enables the host to accelerate 2D portions of the guest display.
svga.vramSize = 67108864
(Optional) This 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.
在windows 2000或xp中,可以打开d3d功能,从中可以看到在你虚拟机高衫所在目戚慎腔录中有一个文件后缀为.vmx 用记事本打开 在文末添加:
svga.vramSize = 67108864 (1024*1024*64)
可将显存加到64M最大可以加到128M(1024*1024*128)
即你所想要的显存大小为n的话,设置
svga.vramSize =n*1024*1024
摄制完成后打开虚拟系统,重新安装vmtools,选择modify就可以
安装完以后,察看显存以变为你所想要的大小的了:),我试过了,成功
上面是在系统中设D3D中说的,你要在虚拟系统中运行3D游戏的话
首先主系统要安装有d9c,其次虚拟机中孝亩.vmx文件
加入以下代码:
# Experimental Support for Direct3D (option 1 of 3)
# (REQUIRED) The line below enables accelerated 3D on the host.
# It is required to support 3D in the guest
mks.enable3d = TRUE
# Experimental Support for Direct3D (option 2 of 3)
# (OPTIONAL) The line below 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.
# This option is expressed in bytes.
svga.vramSize = 67108864
# Experimental Support for Direct3D (option 3 of 3)
# (OPTIONAL) Applications which required 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
# 3d applications (e.g. real-time games like first person shooters).
# If you set this option, we recommend also turning off the preference
# for motion ungrabbing in the Input tab of the Preferences settings
# dialog.
vmmouse.present = FALSE
到此结束:)
To turn off ungrabbing for vmouse.present:
a. Choose Edit > Preferences.
b. Click Input.
c. Uncheck the box for Ungrab when cursor leaves window.
推荐关闭如下选项:
a.选择 Edit > Preferences.
b.单击Input.
c.去掉Ungrab when cursor leaves window选项前的选中状态
重装vmtools
重起虚拟机,在其中安装D9C可以在这里下
www.microsoft.com/downloads/search.aspx?displaylang=en&categoryid=2
安装你的3d游戏,开始玩吧
这个我也不好说,所以参考了一下其他人的,这个方法也是可以的。
在VM workstation中,打开快照之后,在右下角会有一个显示器绝圆饥的标志并返,鼠标右键腔察选择增加显卡。在界面中看到可以增加任何一个硬件。