Summary: | Evdev doesn't map touch coordinates properly to secondary X screens | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Yaroslav <ellanteres> | ||||
Component: | Server/Input/Core | Assignee: | Peter Hutterer <peter.hutterer> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | major | ||||||
Priority: | medium | CC: | peter.hutterer | ||||
Version: | 7.7 (2012.06) | ||||||
Hardware: | Other | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Yaroslav
2014-11-24 07:36:58 UTC
Not sure if that is essential or not, this is tested with multi-touch capable touchscreens handled by hid driver, proprietary video driver "nvidia" (but no SLI support from hardware). With SLI or BaseMoosaic available it works (if configured as one X screen). It doesn't work also with ATI - fglrx driver (also two Xscreens) I'm absolutely sure that it worked before properly on kernel 3.0 with non-multitouch, because I had same setup before and third touchscreen worked. Switching to 3.17 with xorg 7.7 was essential because of multitouch functionality requirement. do you see the same effect when it's a 2-screen across two different cards? that's the most likely source of problems here. Sorry, had power outage , so didn't saw answer until now. May be I didn't understood question or wasn't clear enough. That's across two different cards, yes - there is no marketed NVIDIA cards that can support three screens. If you mean to try with only two monitors, one of each attached to separate card, I'll check that - part of workstations I didn't touched yet have that setup, I'll check that tomorrow. I was unable to create single X screen across map, as xinerama looks like not being supported supported properly - think, it's driver problem - cards stay as separate screens, but in other setup, with Quadra 2000D cards and BaseMosaic enabled, there is only one X screen, hence both dual display and triple display setups work. (In reply to Yaroslav from comment #3) > If you mean to try with only two monitors, one of each attached to separate > card, I'll check that yep, that's what I meant. Created attachment 110050 [details]
conf file used for reproduction
Tested with three and two separate screens. Attached config is one i used for tests with three, and modified it for two. For two display configuration, I had to comment out Device1 and ScreenWork1, and changed ScreenWork2's coords from {0, 2160} to {0, 1080} in Layout section. I used slightly different config for three displays before this, which allowed me to have only two X screen, by composing two displays into one in way similar to how nvidia-setting write that into file - via metamodes.
Aforementioned DeviceClass sections are in /usr/share/X11/xorg.conf.d section, tags used there are set by udev rule, for mapping permanent connection between usb slot and device node. I can attach that rule's file if required
I'll try to test it as soon as I'll get build environment to build , had other project hanging on my tail. What package I should patch\recompile, xserver-xorg-core, right? yeah, that sounds about alright this was pushed 2 years ago, no complaints since, so closing commit ee21be1324de1d6ef14e529fed7b75992e971beb Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Dec 11 10:32:45 2014 +1000 dix: offset touch root coordinates by ScreenRec origins (#86655) |
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.