VMware Communities
rbrunelle
Contributor
Contributor

Video Memory stuck at 4M

Hi,

I am currently running a custom linux distribution inside VMWare Player. I enabled the vmware graphix kernel module (vmwgfx) and the X11 vmware driver (vmware_drv.so) as well.

When I boot my VM, everything is fine but the display resolution, 1024x768. By looking at the Xorg.0.log, it seems that the vmware driver limit the resolution because of the memory size.

...

[3330443.517] (II) vmware(0): Not using default mode "1600x1200" (insufficient memory for mode)

...

By looking at the kernel messages:

.....

[    1.297915] [drm] VRAM at 0xe8000000 size is 4096 kiB   --------------------------------------------------- 4M

.....

[    1.336968] [drm] Initialized vmwgfx 2.9.0 20150810 for 0000:00:0f.0 on minor 0

A quick google tells me that by changing the values:

svga.autodetect = "FALSE"

svga.maxWidth = "3840"

svga.maxHeight = "2160"

svga.vramSize = "33226752"

Should do the trick, but its not. No matter what I put in that config, its always 4M available in the VM.

Anybody observed the same problem ? Any missing configuration ?

Thanks.

0 Kudos
1 Reply
wila
Immortal
Immortal

Hi,

Had a quick look at a linux vm config down here in VMware Workstation 12, the VM has 768MB for the video card and it only has these settings:

mks.enable3d = "TRUE"

svga.graphicsMemoryKB = "786432"

svga.guestBackedPrimaryAware = "TRUE"

Not sure if that helps.

PS: Careful with the hand editing, make sure the  quote characters are normal double quotes and shut down your VM and VMware Player before editing anything.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos