[Mesa-dev] vmware change resolution mode
Deepak Singh Rawat
drawat at vmware.com
Mon Apr 2 16:43:18 UTC 2018
Hi,
What distro you are running ? Is open-vm-tools installed ? This package
is required for setting resolutions from user-space. Also what is the Linux
kernel version used ?
Regarding usage of kernel option I suspect there is a upper limit on that, I
will verify that. During bootup vmwgfx use fbdev driver and later it is switched
to screen object.
Thanks,
Deepak
> From: Vignesh Raman <vignesh.raman.in at gmail.com>
> To: mesa-dev at lists.freedesktop.org
>
>
>
> 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
> <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
More information about the mesa-dev
mailing list