[Bug 1023635] New: Regression with synergy 1.8.7: right half of screen not reachable any more
http://bugzilla.novell.com/show_bug.cgi?id=1023635 Bug ID: 1023635 Summary: Regression with synergy 1.8.7: right half of screen not reachable any more Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: X11 Applications Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.wilck@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The recent synergy update in tumbleweed to 1.8.7 broke my synergy setup. The mouse on the synergy client couldn't be moved past ~1200 pixel from the left corner of the screen any more. I am certain that the update of the synergy package was causing the problem. synergy 1.8.2-1.3 worked fine. This is how my screen looks like. I have 2 1920x1080 set up vertically next to each other (DP1-3 then DP1-1), plus my 1920x1080 laptop screen to the right (eDP-1). mwilck@apollon:~> xrandr Screen 0: minimum 320 x 200, current 4080 x 1920, maximum 8192 x 8192 eDP-1 connected 1920x1080+2160+840 (normal left inverted right x axis y axis) 309mm x 174mm 1920x1080 60.02*+ 47.99 DP-1-1 connected 1080x1920+1080+0 left (normal left inverted right x axis y axis) 527mm x 297mm 1920x1080 60.00*+ DP-1-3 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 518mm x 324mm 1920x1080 60.00* The synergy server ("artemis") is synergy 1.7.6 running on a Fedora 24 system. synergy.conf looks as follows. The Tumbleweed system that failed was "apollon". System "zeus" was switched off. section: screens artemis: halfDuplexCapsLock = false halfDuplexNumLock = false halfDuplexScrollLock = false xtestIsXineramaUnaware = false switchCorners = none switchCornerSize = 0 apollon: halfDuplexCapsLock = false halfDuplexNumLock = false halfDuplexScrollLock = false xtestIsXineramaUnaware = false switchCorners = none switchCornerSize = 0 zeus: halfDuplexCapsLock = false halfDuplexNumLock = false halfDuplexScrollLock = false xtestIsXineramaUnaware = false switchCorners = none switchCornerSize = 0 end section: aliases apollon: apollon.local apollon.suse.de apollon.mittagstun.de artemis: artemis.local artemis.mittagstun.de zeus: zeus.local zeus.mittagstun.de end section: links artemis: right = apollon down = zeus apollon: left = artemis down = zeus zeus: up = artemis left = artemis right = apollon end section: options relativeMouseMoves = false screenSaverSync = false win32KeepForeground = false switchCorners = none switchCornerSize = 0 end -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023635 http://bugzilla.novell.com/show_bug.cgi?id=1023635#c1 --- Comment #1 from Martin Wilck <martin.wilck@suse.com> --- The following logs from the synergy server prove my estimate of pixel 1200 was precise :-) and that the client actually sent wrong geometry data to the server: BAD client (synergy 1.8.7): [2017-02-05T20:51:56] DEBUG: received client "apollon.mittagstun.de" info shape=0,0 1200x1920 at 540,960 GOOD client (synergy 1.8.2): [2017-02-05T21:03:24] DEBUG: received client "apollon.mittagstun.de" info shape=0,0 4080x1920 at 540,960 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023635 http://bugzilla.novell.com/show_bug.cgi?id=1023635#c2 --- Comment #2 from Martin Wilck <martin.wilck@suse.com> --- Client debug messages (bad): Feb 05 20:55:55 apollon.mittagstun.de synergyc[8029]: Synergy 1.8.7: [2017-02-05T20:55:55] DEBUG: XOpenDisplay(":1") Feb 05 20:55:55 apollon.mittagstun.de synergyc[8029]: Synergy 1.8.7: [2017-02-05T20:55:55] DEBUG: xscreensaver window: 0x00000000 Feb 05 20:55:55 apollon.mittagstun.de synergyc[8029]: Synergy 1.8.7: [2017-02-05T20:55:55] DEBUG: screen shape: 0,0 1200x1920 (xinerama) Client debug messages (good): Feb 05 21:04:29 apollon.mittagstun.de synergyc[4844]: Synergy 1.8.2: [2017-02-05T21:04:29] DEBUG: plugins dir: /home/mwilck/.synergy/plugins Feb 05 21:04:29 apollon.mittagstun.de synergyc[4844]: Synergy 1.8.2: [2017-02-05T21:04:29] DEBUG: can't open plugins dir: /home/mwilck/.synergy/plugins Feb 05 21:04:29 apollon.mittagstun.de synergyc[4844]: Synergy 1.8.2: [2017-02-05T21:04:29] DEBUG: XOpenDisplay(":1") Feb 05 21:04:29 apollon.mittagstun.de synergyc[4844]: Synergy 1.8.2: [2017-02-05T21:04:29] DEBUG: xscreensaver window: 0x00000000 Feb 05 21:04:29 apollon.mittagstun.de synergyc[4844]: Synergy 1.8.2: [2017-02-05T21:04:29] DEBUG: screen shape: 0,0 4080x1920 (xinerama) So, obviously the 1.8.7 client is simply getting the screen dimensions wrong. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023635 http://bugzilla.novell.com/show_bug.cgi?id=1023635#c3 --- Comment #3 from Martin Wilck <martin.wilck@suse.com> --- This must be related to https://github.com/symless/synergy/pull/4148. Apparently before 1.8.4, the xrandr support in synergy was disabled because of some bug in the CMakefile. Now it is enabled, but broken :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023635 http://bugzilla.novell.com/show_bug.cgi?id=1023635#c4 --- Comment #4 from Martin Wilck <martin.wilck@suse.com> --- synergy uses the XRandr 1.1 calls XRRSizes() and XRRRotations() to obtain the screen information. This obviously fails. 2 possibilities: 1) modern XRandr programs should use a different API to determine screen size. e.g. xrandr(1) uses XRRGetScreenResources() rather than XRRSizes(), and determines screen size correctly on my setup. However I didn't find any explicit deprecation note on these old functions, nor an explanation of their shortcomings for multi-screen setups. 2) XRRSizes() (and maybe XRRRotations()) is broken on Tumbleweed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023635 http://bugzilla.novell.com/show_bug.cgi?id=1023635#c5 Martin Wilck <martin.wilck@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/symless/ | |synergy/issues/5831 --- Comment #5 from Martin Wilck <martin.wilck@suse.com> --- https://github.com/symless/synergy/issues/5831 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023635 http://bugzilla.novell.com/show_bug.cgi?id=1023635#c6 --- Comment #6 from Martin Wilck <martin.wilck@suse.com> --- Bug fix here: https://github.com/symless/synergy/pull/5832 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023635 http://bugzilla.novell.com/show_bug.cgi?id=1023635#c7 --- Comment #7 from Martin Wilck <martin.wilck@suse.com> --- https://build.opensuse.org/request/show/454964 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com