Summary: | Xserver 1.11+ reports absolute valuator.values for relative devices | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Loris Z. <the-lz-himself> | ||||||||||
Component: | Lib/Xi | Assignee: | Peter Hutterer <peter.hutterer> | ||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||
Severity: | normal | ||||||||||||
Priority: | medium | CC: | anssi, arthur.huillet, chase.douglas, freedesktop, leif.walsh, peter.hutterer, rockorequin, sa, the-lz-himself | ||||||||||
Version: | 7.6 (2010.12) | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux (All) | ||||||||||||
See Also: | https://launchpad.net/bugs/948938 | ||||||||||||
Whiteboard: | |||||||||||||
i915 platform: | i915 features: | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 40982 | ||||||||||||
Attachments: |
|
Description
Loris Z.
2012-03-05 08:40:41 UTC
Created attachment 58055 [details]
Wine trace for Mass Effect (Steam version)
I do not know if this is useful in any way, but here is a wine trace for Mass Effect (Steam version).
I runs perfectly with wine 1.4rc6 and xserver 1.10, but mouse input is broken with xserver 1.11 and 1.12.
Whatever direction I try to turn the pointer, it first goes to the right for half a second, then either continues to turn in the wrong direction, or goes in right direction.
It seems it depends on pointer movement speed or touch pressure (I use a touchpad), I 'm not sure.
That makes the game unplayable.
This behaviour is even worse with Crysis, Bioshock and other apps, with the sensitivity being much to high, and the view going in every direction and ending pointing to the floor with a minor mouse movement.
Created attachment 58056 [details]
Wine trace for Crysis 2
Created attachment 58461 [details]
trace for borderlands
generated by setting WINEDEBUG=+cursor and running borderlands, playing enough to expose the bug, and quitting, then filtering out any lines without ':cursor:'
Created attachment 58533 [details]
program illustrating the issue
The attached program illustrates the regression. It prints out the raw_values and (transformed) valuator.values reported for XI_RawMotion mouse movement events.
On xserver 1.10, the raw_values and valuator.values are the same (on my system, at least), ie both are relative, which makes sense because my mouse is a relative device.
On xserver 1.11, the raw_values are relative but the valuator.values are absolute.
(In reply to comment #5) > http://patchwork.freedesktop.org/patch/9595/ Thank you! Wine is working fine with the patch applied. It works ! Thanks. Fixed in 1.12 branch and master |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.