注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

我的博客

小猪哥

 
 
 

日志

 
 

加大VMware显存  

2008-04-14 18:51:02|  分类: 记事本_技术文章 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

 

2008年04月01日 星期二 23:24

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

重起虚拟机。

  评论这张
 
阅读(2073)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017