工作站 11 中的 VRAM 仅为 64MB

工作站 11 中的 VRAM 仅为 64MB

我有一台主机,它运行的是 Windows 8.1,包含 3GB 的 nVidia 显卡。在 VMware 中,我运行的是 Windows 7。
我安装了 VMware 工具,但专用显存显示为 64 MB。在设置中,我说过我希望显存为 1 GB。在客户机的显示设置中,它显示它使用的是 VMware SVGA 3D 驱动程序,总显存为 2114 MB,其中 64 MB 为专用显存,0 MB 为系统显存,2080 MB 为共享显存。

系统运行速度非常慢。我关闭了 Aero 和所有视觉效果,但客户机的速度却大大加快,所以我认为视频内存存在问题,但我希望这些功能在我的客户机中,并且不想关闭它们。我如何增加专用内存?我在网上搜索了一些解决方案,但它们似乎针对的是旧版本的 VMware,似乎不起作用。

更新我的配置文件:

.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "11"
numvcpus = "6"
cpuid.coresPerSocket = "6"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsisas1068"
sata0.present = "TRUE"
memsize = "8192"
mem.hotadd = "TRUE"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Windows 7.vmdk"
sata0:1.present = "TRUE"
sata0:1.fileName = "auto detect"
sata0:1.deviceType = "cdrom-raw"
floppy0.fileType = "device"
floppy0.fileName = ""
floppy0.clientDevice = "FALSE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "custom"
ethernet0.virtualDev = "e1000e"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
ehci.pciSlotNumber = "34"
sound.present = "TRUE"
sound.virtualDev = "hdaudio"
sound.fileName = "-1"
sound.autodetect = "TRUE"
mks.enable3d = "TRUE"
svga.graphicsMemoryKB = "1048576"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
usb.vbluetooth.startConnected = "TRUE"
sensor.accelerometer = "pass-through"
sensor.ambientLight = "pass-through"
sensor.compass = "pass-through"
sensor.gyrometer = "pass-through"
sensor.inclinometer = "pass-through"
sensor.location = "pass-through"
sensor.orientation = "pass-through"
displayName = "Windows 7"
guestOS = "windows8"
nvram = "Windows 7.nvram"
virtualHW.productCompatibility = "hosted"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
extendedConfigFile = "Windows 7.vmxf"
gui.lastPoweredViewMode = "fullscreen"
uuid.bios = "56 4d a9 11 2f 4b 39 27-43 92 26 14 9c cd 97 25"
uuid.location = "56 4d a9 11 2f 4b 39 27-43 92 26 14 9c cd 97 25"
replay.supported = "FALSE"
replay.filename = ""
migrate.hostlog = ".\Windows 7-92c902ec.hlog"
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "160"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "192"
sound.pciSlotNumber = "33"
vmci0.pciSlotNumber = "35"
sata0.pciSlotNumber = "36"
scsi0.sasWWID = "50 05 05 61 2f 4b 39 20"
ethernet0.generatedAddress = "00:0C:29:CD:97:25"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "-1664248027"
vm.genid = "1137670855548845163"
vm.genidX = "-1294450341537404688"
monitor.phys_bits_used = "42"
vmotion.checkpointFBSize = "4194304"
vmotion.checkpointSVGAPrimarySize = "134217728"
cleanShutdown = "FALSE"
softPowerOff = "FALSE"
usb_xhci:6.speed = "2"
usb_xhci:6.present = "TRUE"
usb_xhci:6.deviceType = "hub"
usb_xhci:6.port = "6"
usb_xhci:6.parent = "-1"
usb_xhci:7.speed = "4"
usb_xhci:7.present = "TRUE"
usb_xhci:7.deviceType = "hub"
usb_xhci:7.port = "7"
usb_xhci:7.parent = "-1"
floppy0.autodetect = "TRUE"
sata0:1.autodetect = "TRUE"
tools.syncTime = "FALSE"
unity.wasCapable = "TRUE"
tools.remindInstall = "FALSE"
toolsInstallManager.updateCounter = "2"
svga.guestBackedPrimaryAware = "TRUE"
floppy0.startConnected = "FALSE"
vhv.enable = "TRUE"
vpmc.enable = "FALSE"
usb_xhci:4.present = "TRUE"
usb_xhci:4.deviceType = "hid"
usb_xhci:4.port = "4"
usb_xhci:4.parent = "-1"
checkpoint.vmState = ""
usb.generic.allowHID = "TRUE"
usb:1.speed = "2"
usb:1.present = "TRUE"
usb:1.deviceType = "hub"
usb:1.port = "1"
usb:1.parent = "-1"
usb.autoConnect.device0 = "path:1/3/0/5 autoclean:1"
sata0:1.startConnected = "TRUE"
vmx.buildType = "release"
svga.autodetect = "FALSE"
svga.vramSize = "1073741824"
gui.exitOnCLIHLT = "TRUE"
MemTrimRate = "0" 
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE" 
prefvmx.useRecommendedLockedMemSize = "TRUE"
mainmem.backing = "swap"
monitor.virtual_mmu = "automatic"
monitor.virtual_exec = "automatic"
ethernet0.vnet = "VMnet1"
usb_xhci.present = "FALSE"
usb:0.present = "TRUE"
usb:0.deviceType = "hid"
usb:0.port = "0"
usb:0.parent = "-1"

答案1

  1. 关闭虚拟机。
  2. 在文本编辑器中打开 .vmx 文件。
  3. 如果您使用的是 ESX,则可以继续执行步骤 4。

    如果您使用的是旧版本的托管产品(Workstation、ACE、Player、Server 或 Fusion),请添加此行,以便虚拟机能够遵守此处所做的视频内存设置更改,并且不会被 VMware Tools 覆盖:

    svga.自动检测 = “FALSE”

    笔记:如果您使用 ESX,则此值是默认设置的。

  4. 计算支持最高所需分辨率所需的视频内存量。将所需最大分辨率的宽度乘以高度,然后将结果乘以 4。如果结果超过 16777216(对于 ESX Server 则为 4194304),则必须增加视频内存。在 .vmx 文件中添加或更新此行,然后附加计算的结果值:

    svga.vramSize = sizeInBytes

    示例:要将 2560 x 2048 的分辨率添加到 Workstation 虚拟机,请将 2560 * 2048 * 4 相乘,得到 20971520。这是该分辨率所需的内存量(以字节为单位)。结果为 20971520 字节,超过了默认值 16777216 字节。因此,您必须添加此行以增加可用的视频内存:

    svga.vram大小 = 20971520

    笔记: 当客户机运行 Windows 时,该值必须能被 65536 整除。如果该值超出硬件版本支持的最大视频 RAM,则会自动调整为最大值。

  5. 保存文件并打开虚拟机。

更多配置细节这里

相关内容