Hmm, or maybe it's not entirely it. I tried downloading current kernel
source (apt-get source linux-image-`uname -r`), patching the desired
mode in:
diff -druN vmwgfx-orig/vmwgfx_kms.c vmwgfx-patched/vmwgfx_kms.c
--- vmwgfx-orig/vmwgfx_kms.c 2013-08-27 00:54:42.000000000 +0400
+++ vmwgfx-patched/vmwgfx_kms.c 2013-08-27 00:29:38.000000000 +0400
@@ -1774,6 +1774,10 @@
{ DRM_MODE("1856x1392", DRM_MODE_TYPE_DRIVER, 218250, 1856, 1952,
2176, 2528, 0, 1392, 1393, 1396, 1439, 0,
DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
+ /* 1920x1080@60Hz */
+ { DRM_MODE("1920x1080", DRM_MODE_TYPE_DRIVER, 173000, 1920, 2048,
+ 2248, 2576, 0, 1080, 1083, 1088, 1120, 0,
+ DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
/* 1920x1200@60Hz */
{ DRM_MODE("1920x1200", DRM_MODE_TYPE_DRIVER, 193250, 1920, 2056,
2256, 2592, 0, 1200, 1203, 1209, 1245, 0,
Then building and installing it:
$ make -C /lib/modules/`uname -r`/build INSTALL_MOD_DIR=updates
$ sudo make -C /lib/modules/`uname -r`/build INSTALL_MOD_DIR=updates
modules_install
After reboot I can verify that my patched module is loaded:
$ modinfo vmwgfx | grep filename
filename: /lib/modules/3.2.0-52-generic/updates/vmwgfx.ko
However xrandr still doesn't show 1920x1080 in the list of modes, and I
don't see it probed in Xorg.0.log. Weird... :-/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/969154
Title:
Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare
Workstation 8 guest
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/969154/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs