vmmouse 12.8 behaves erratically in when running as a VMware guest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-input-vmmouse (Suse) |
Won't Fix
|
Medium
|
|||
xserver-xorg-input-vmmouse (Ubuntu) |
Fix Released
|
Medium
|
Canonical X.org | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
The default version of the xserver-
[Development Fix]
The upstream package includes this bug fix plus a couple other minor changes:
config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Enable hardware access during vmmouse preinit.
Revert "Adjust the kernel name in the udev file."
The config change just drops something obsolete in automake 1.12, which should have no post-build effect to users.
The hardware access change fixes an issue where if no other drivers request hardware access, vmmouse won't either (even though it requires it), and thus will fail; this was seen in a KVM virtual machine when running with fbdev, but there've been no reports of this fault in Ubuntu so far. This change makes vmmouse request hardware access explicitly so it won't fail this way.
The revert is the fix for this bug.
The 12.9.0-1 package is currently in Debian's git tree but not yet released to experimental or unstable. A pre-release version is uploaded to quantal as version 12.9.0-0ubuntu1.
[Stable Fix]
Since the same versions of -vmmouse were in quantal and precise, the same package can be used in precise. This is numbered 12.9.0-0ubuntu0.1.
[Test Case]
Steps to reproduce:
1. Install Ubuntu 12.04 as a new guest operating system inside either VMware Workstation 8 or VMware Player.
2. Once installed and logged in, run xev in a terminal.
3. Move the mouse slowly but smoothly downward along the Event Tester window while monitoring the console output.
-------
What should happen:
1. The x,y coordinates reported after the "time" field should increment / decrement smoothly. For example, is moving the mouse downward in the Event Tester, the x coordinate should stay relatively stable (a change +- 1 is acceptable), while the y coordinate should increase proportional to the speed that the mouse is moving.
What actually happens:
1. The x coordinate will change +- 3 or so pixels, even though no horizontal movement is occuring.
2. The y coordinate will not increase linearly. For example, if moving the mouse downward starting with a y coordinate of 60, the next few events might show the y coordinate as 61, 62, 63, 64, 60, 63, 67, etc...
-------
[Regression Potential]
The three changes included in this release suggest looking for the following types of regressions:
* Package build issues
* Cursor movement problems running in vmware
* Incompatibilities with untested kernel versions
[Original Report]
I am running VMware Workstation 8.0.3 on a Windows 7 x64 host, installing the standard Ubuntu 12.04 amd64 desktop version.
I have confirmed this is an issue with vmmouse 12.8 by rebuilding the 12.7 package from the Ubuntu 11.10 source repo, removing the 12.8 package, and installing the newly build 12.7 package. After this has occurred, the mouse moves smoothly, and the events reported by xev make much more sense. The x coordinate does not change while moving the mouse straight down, and the y coordinate increases linearly without skipping back up.
Changed in xserver-xorg-input-vmmouse (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
assignee: | nobody → Canonical X.org (canonical-x) |
Changed in xserver-xorg-input-vmmouse (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → precise-updates |
Changed in xserver-xorg-input-vmmouse (Ubuntu): | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in xserver-xorg-input-vmmouse (Suse): | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in xserver-xorg-input-vmmouse (Suse): | |
status: | In Progress → Won't Fix |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
When openSUSE 11.4 is installed inside a VMware Workstation VM the VMware mouse driver vmouse_drv.so isn't loaded during X startup and the mouse is imprecise.
Reproducible: Always
Steps to Reproduce: tton" "2" meout" "200" rtia: 10, EmulateWheelTim eout: 200
1. Install openSUSE 11.4 inside VMware Workstation 7.1.4 VM
2. Put /usr on a separate partition
3. Start newly installed system
4. Open /var/log/Xorg.0.log
Actual Results:
[ 24.823] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event1)
[ 24.823] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[ 24.823] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 Generic Wheel Mouse"
[ 24.823] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[ 24.823] (**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event1"
[ 24.824] (--) ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
[ 24.824] (--) ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
[ 24.824] (--) ImPS/2 Generic Wheel Mouse: Found relative axes
[ 24.824] (--) ImPS/2 Generic Wheel Mouse: Found x and y relative axes
[ 24.824] (II) ImPS/2 Generic Wheel Mouse: Configuring as mouse
[ 24.824] (II) ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
[ 24.824] (**) Option "Emulate3Buttons" "on"
[ 24.824] (**) Option "EmulateWheel" "on"
[ 24.824] (**) Option "EmulateWheelBu
[ 24.824] (**) Option "EmulateWheelTi
[ 24.824] (**) Option "YAxisMapping" "4 5"
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
[ 24.824] (**) Option "XAxisMapping" "6 7"
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: XAxisMapping: buttons 6 and 7
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 2, EmulateWheelIne
[ 24.824] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE)
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[ 24.824] (II) ImPS/2 Generic Wheel Mouse: initialized for relative axes.
[ 24.824] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 Generic Wheel Mouse"
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[ 24.824] (**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/mouse0"
[ 24.826] (EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
[ 24.830] (II) UnloadModule: "evdev"
[ 24.830] (EE) PreInit returned NULL for "ImPS/2 Generic Wheel Mouse"
Expected Results:
[ 499.673] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event1)
[ 499.673] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[ 499.673] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 Generic Wheel Mouse...