[Mesa-dev] vmware change resolution mode

Vignesh Raman vignesh.raman.in at gmail.com
Mon Apr 2 10:17:12 UTC 2018


Hi,

I have a question how to change screen resolution. I'm running a image in
vmplayer. From dmesg logs I see,
[    2.947320] [drm] Screen Objects Display Unit initialized
[    2.947346] [drm] width 1280
[    2.947351] [drm] height 768
[    2.947356] [drm] bpp 32

lsmod | grep vmwgfx
vmwgfx                220505  2
ttm                    75481  1 vmwgfx
drm_kms_helper        105053  1 vmwgfx
drm                   279913  6 vmwgfx,ttm,drm_kms_helper

The status of the connector is,
cat /sys/class/drm/card0-Virtual-1/status
connected

cat /sys/class/drm/card0-Virtual-1/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

I tried the below to change the screen resolution to 1920x1200,
- Passing video=Virtual-1:1920x1200 as kernel option
- Setting below in vmx file  (https://kb.vmware.com/s/article/1003)
svga.vramSize = 9216000
svga.autodetect = "FALSE"
svga.maxWidth = 1920
svga.maxHeight = 1200

But the screen resolution doesn't change and in dmesg output I see width
and height as (1280x768).

Any pointers will be helpful. Thanks.

Regards,
Vignesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180402/4585e380/attachment.html>


More information about the mesa-dev mailing list