deskflow / deskflow

Deskflow lets you share one mouse and keyboard between multiple computers on Windows, macOS and Linux. It's like a software KVM (but without video).
https://deskflow.org
GNU General Public License v2.0
12.46k stars 3.73k forks source link

Synergy mouse trapped on client with zaphod mode #3350

Closed nbolton closed 9 years ago

nbolton commented 10 years ago

Imported issue:

Steps to reproduce:

My currently setup is the following, I have 2 laptops, one running Gentoo (Left side, synergy server) with a hdmi monitor connect in Zaphod (Multihead mode, one X screen per display), the second laptop is running Ubuntu 12.10 with official synergy .deb installed and is at the right of the first laptop (This last laptop only has one screen, synergy client). The server and the client can be started, and it seems like they are connected according to debug messages, anyway when I try to move the mouse from the first laptop to the second the mouse appears on the second laptop at the bottom of screen, and I can't move it vertically only horizontal moves are allowed, also the mouse is trapped on the second laptop, and can't get back to the first laptop. (The mouse is trapped on y=1049 only x can change, the resolution of this second laptop screen is 1400x1050).

A more detailed layout description is:

------------------------------------------                      ------------------------------------------
|Laptop 0 - LVDS (1920x1200) DISPLAY=:0.0|                      |Laptop 1 - LVDS (1400x1050) DISPLAY=:0.0|
------------------------------------------                      ------------------------------------------

-------------------------------------------------
|Laptop 0 - HDMI Screen (1920x1080) DISPLAY=:0.1|
-------------------------------------------------

Note: External screen is configured in Xorg to be Below the laptop 0 screen, changing this affects the border in wich the mouse is trapped, for example putting the external monitor at the left of display 0.0, makes the mouse be trapped on the right border on the second laptop, allowing to move it vertically but not horizontally.

Versions and operating systems:

Gentoo is running synergy 1.4.10 version, with Xorg server 1.12.4, and nvidia-drivers-304.60. Ubuntu is 12.10 (Latest, Quantzal Queztal) using offical synergy .deb (That can be downloaded on this site), version 1.4.10. Xorg server 1.13.0, radeon free drivers.

Also tested with version 1.3.8 on both machines, the result is the same.

Temporary workarounds:

Disabling Zaphod mode seems to work, but I loose the external screen, so this is not a solution for me.

Additional comments:

synergy.conf:

section: screens
        dell:
        d40ev:
end

section: links
        dell:
                right = d40ev
        d40ev:
                left = dell
end

section: options
        relativeMouseMoves = true
end

Xorg.conf on Gentoo laptop:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" Below "Screen0"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Seiko/Epson"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS" "1"
    Option     "DPI" "147x145"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL P2411H"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS" "1"
    Option     "DPI" "110x109"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600M GT"
    BusID          "PCI:1:0:0"
#    Option "UseDisplayDevice" "DFP-0"
    Screen 0
    Option "RenderAccel" "True"
    Option "NoLogo" "True"
    Option "AllowGlxWithComposite" "True"
    Option "CoolBits" "4"
    Option "TripleBuffer" "True"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600M GT"
    BusID          "PCI:1:0:0"
#    Option "UseDisplayDevice" "DFP-1"
    Screen 1
    Option "RenderAccel" "True"
    Option "NoLogo" "True"
    Option "AllowGlxWithComposite" "True"
    Option "TripleBuffer" "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option     "Stereo" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DFP-1: 1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
nbolton commented 10 years ago

Server log, http://bpaste.net/show/56179/ Client log, http://bpaste.net/show/56179/

nbolton commented 10 years ago

Client log http://bpaste.net/show/56186/