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 Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/969154

Title:
  Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare
  Workstation 8 guest

Status in “xorg-server” package in Ubuntu:
  Confirmed

Bug description:
  My host system is Win7 64bit. My notebook has 1920x1080 native
  resolutions. I’m running VMWare Workstation 8 for desktop
  virtualization. Today I’ve installed Ubuntu 12.04 Beta2 as a guest. I
  was unable to set 1920x1080 resolution on the guest side. The gnome-
  control-center display command offered me a lot of other resolutions,
  but 1920x1080.

  I’ve also installed the vmware-tools, because I assumed the absence of that 
tool is the problem. However I’ve had to realize the problem still exist after 
a successful vmware-tools installation. (Yep, I did a reboot after the 
installation.)
  I have to say my Ubuntu 11.10 works like a charm, so for that version the 
1920x1080 not a problem at all.

  If you need more information to fix this problem, I’m glade to help
  you.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-control-center 1:3.4.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12
  Uname: Linux 3.2.0-20-generic-pae i686
  ApportVersion: 1.95-0ubuntu1
  Architecture: i386
  Date: Fri Mar 30 14:30:13 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 
(20120327.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/969154/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to