Kyle Reeping Posted June 30, 2018 Share Posted June 30, 2018 I've been plagued by the "mouse freezing" causing screen lockups on on the server machine for a long time now. Nothing I've done seems to fix it. I've enabled debug1 logs on all my computers, disabled clipboard sharing, computers are connected through wired connections directly to the router, and the NICs work well on all of the computers. The exact problem is this: If I'm using the mouse on a remote computer (doesn't matter if it's the mac or the PC (3 computers in my setup), occasionally the mouse on the remote computer will freeze, AND the entire screen of the server will freeze, although audio will continue (sometimes.) The remote screens do NOT freeze, and I can still use their own mice on each machine, just not the mouse that's connected to my server. The server computer is a windows 10 machine, one of the remote computers is a windows 7 machine, and the other is a mac. I was using the latest synergy 1 version for a while, then that annoyed me, so I kept downgrading as far as I could... however none of the older versions work any better. I was also offered synergy 2. I used that, and honestly the freezing problem was so much worse (and the interface for 2 is quite literally awful). So I went back to synergy 1. The freezes are really inconsistent. Sometimes I'll be ok for a half hour, sometimes I'll get 3 freezes in 2 minutes. The freeze lasts for ~10 seconds. At first I thought that my NICs were going bad, so I pinged each computer in my network from each other computer, every second, until a freeze happened. The pings still worked, still connected, no dropped packets whatsoever. So the NICs are good (and router is good.) The freezes seem to happen most often when I'm running a full screen application on the server computer (like watching a movie.) Or maybe that's just when I notice them the most. Now, I know that I should be sharing the logs, but one thing I've learned from having the debug1 log turned on for the last 2 months is this. The debug log is ESSENTIALLY a keylogger. It literally records EVERY mouse click, move, and more importantly, every keystroke, even if your mouse isn't on the remote screen. So... no thanks. I don't... really want to share that with you. I like my passwords where they are thank you very much. Ok so onto the observations. Despite having clipboard sharing disabled, the remote windows machine still tries to check for updated clipboard contents, almost EVERY time it freezes. It shows something like this in the debug log. I have no idea WHY the remote computer is trying to mess with the clipboard, because I explicitly turned it off in the server settings. And I hadn't copied/pasted anything recently either. (I usually just play a simple game (not at all graphics intensive, used to be a flash game) on this computer while I'm watching a movie on the server screen.) [2018-06-18T09:33:49] DEBUG: open clipboard [2018-06-18T09:33:49] DEBUG: empty clipboard [2018-06-18T09:33:49] DEBUG: close clipboard [2018-06-18T09:33:49] DEBUG: open clipboard [2018-06-18T09:33:49] DEBUG: empty clipboard [2018-06-18T09:33:49] DEBUG: close clipboard However, I've also noticed that synergy will randomly freaking turn clipboard sharing back on. I must have turned that setting off a half dozen times over the last 2 months. I haven't restarted the server, I haven't restarted the computers (to my knowledge, with windows update though I may be wrong.) I'll notice in the log that it'll be copying the clipboard back and forth, then I'll go turn the setting off... again. And yes, I made sure to cycle synergy off/on on the remote machines after I restarted the server. Observation #2. Every single time my mac screen saver tries to turn on, the mouse will freeze on the remote computer. EVERY... SINGLE... TIME, without fail. Synchronize screen savers is turned OFF. (Not that that setting works anyway.) (I'm usually using the mouse on the remote windows machine when the mac screen saver tries to turn on.) Observation #3: Enabling debug logs seemed to alleviate the problem... for a few days. No idea how that worked. Observation #4: This one is I'm a bit less sure about. Synergy seems to work a lot better with cheap as hell mice. On my main computer (the one I've been using as a mouse/keyboard sever for months) has a nice gaming mouse connected to it. Now, I remember reading a while back that synergy may not like high polling rate mice, so I turned the polling rate down to 150 Hz (as low as it could go). That didn't help. But when I made the server my OTHER windows computer with a $20 microsoft wireless mouse/keyboard, I haven't experienced any freezes yet. Whether or not that's related to just starting a new server (the freezes don't seem to happen for a while after installing a new version or choosing a different computer as the server.) Although this kinda defeats the point of having a nice keyboard/mouse. I understand that synergy is mainly build for people in business situations, but still. The program should be able to work with nice mice as well. If mouse without borders can do it, you can too. Observation #5: (Not related to freezing.) If I use the mac mouse as the shared mouse (with the mac as the server). The mouse will still make "mouse over" popups appear on the mac screen, even if the mouse is on a remote screen. I had a program open that had a list of music that would have a pop up window appear if you moused over a song name. This window would still appear despite the mouse not being on the screen. It was... disconcerting, but didn't really hurt anything. The real problem with using the mac mouse as the server is the GOD AWFUL performance when the mouse was on the remote windows screens. For some reason... the tracking was off. The mouse moved UP more than it moved down. If I moved the mouse in a circle, the circle would migrate up the page, but it wouldn't do the same if I made the same circle on the mac. It was REALLY... REALLY infuriating so much so that I couldn't deal with the mac being the server after 5 minutes. In conclusion: I think synergy is a mess. I'm really glad that some new programmers are being hired. I was already offered refund, but the problem is that I LIKE synergy, and I REALLY REALLY WANT it to work. Maybe one day I'll be able to have only one mouse on my desk, but for now I'll stick with keeping the 3 mice and keyboards there for when synergy fails and I have to fix it. I hope these observations help someone, but honestly the freezing is infuriating. And honestly concerning. Why is a mouse sharing program freezing the entire graphics card of my server machine. That's.... not cool. I mean, I can understand the program hanging, but literally freezing the entirety of the graphics processing on my server machine is not good. Link to comment Share on other sites More sharing options...
Kyle Reeping Posted June 30, 2018 Author Share Posted June 30, 2018 And yes, I realize that the version of synergy I'm using could be important, but honestly this behavior has been identical for 1.8.8, 1.8.7, 1.8.6, etc. So it's not that important. I think I'm back on 1.8.8 now, can't be bothered to check. Other than that both windows machines use auto updates and so does the mac, so they should all be pretty up to date. Link to comment Share on other sites More sharing options...
Juargin Posted April 28, 2019 Share Posted April 28, 2019 If you are still having this problem, try turning off TLS (if this is possible for you). I was having the mouse freezing issue with TLS enabled and it went away when I disabled the TLS. Link to comment Share on other sites More sharing options...
Matthias1231 Posted April 30, 2019 Share Posted April 30, 2019 Turning off TLS improves the issue but does not resolve it. I noticed that, while the mouse is frozen, it can be released quicker by wiggling the mouse on the target machine. I hope someone is still looking at this, it makes Synergy almost unusable. My setup is a Windows server and a Ubuntu client with a wired gigabit Ethernet connection. I also had to make the clipboard size very small for Synergy to be usable. Link to comment Share on other sites More sharing options...
Pedro Werneck Posted May 2, 2019 Share Posted May 2, 2019 I'm experiencing the same problem. I created a topic with debug logs, but it's been a week and it's still pending approval. I noticed some improvement after disabled all input-related power management options, so the problem might be related to that. Link to comment Share on other sites More sharing options...
Matthias1231 Posted May 21, 2019 Share Posted May 21, 2019 15 hours ago, Xerotope said: It's being tracked on github here: https://github.com/symless/synergy-core/issues/6481 Appears to be caused by a lock conflict in X11. That's great to hear, thanks! Link to comment Share on other sites More sharing options...
fmc78 Posted May 22, 2019 Share Posted May 22, 2019 I've just updated the machine running the synergy client and I'm faced with this problem; Was working fine with windows 10 as server and linux mint 18 (ubuntu 16) as client; I've upgraded to linux mint 19 (ubuntu 18) today and random freezes all over the place. Quite unusable like that. I've been trying other versions and I find that the synergy_1.10.1.stable_b87+8941241e_debian_amd64 seems to work good so far on mint 19. Alternatively I'll just revert back to the 1.6.3 which has yet to let me down. Link to comment Share on other sites More sharing options...
Jamie Newbon Posted May 24, 2019 Share Posted May 24, 2019 Hi guys, I have been tracking issues about mouse freezing for a while now. Although the symptom is the mouse freezing the causes seems to be varied in the reports I have received. One of the causes is solved by disabling a particular function and I would like to check if it solves the problem in other cases of the mouse freezing. Could you try out the development builds below, They are based on the current 1.10.2 release with the probable offending function disabled. Windows x64:http://snapshots.symless.com/synergy/v1-core-standard/windows-x64/Release/Synergy_v1.10.2-testing6487_b119-93275071.msi Windows x32: http://snapshots.symless.com/synergy/v1-core-standard/windows-x86/Release/Synergy_v1.10.2-testing6487_b117-93275071.msi macOS: http://snapshots.symless.com/synergy/v1-core-standard/macos/Synergy_v1.10.2-testing6487_b133-93275071.dmg Ubuntu16: http://snapshots.symless.com/synergy/v1-core-standard/ubuntu16/synergy_1.10.2.testing6487~b107+93275071_amd64.deb Ubuntu18: http://snapshots.symless.com/synergy/v1-core-standard/ubuntu18/synergy_1.10.2.testing6487~b17+93275071_amd64.deb Ubuntu19: http://snapshots.symless.com/synergy/v1-core-standard/ubuntu19/synergy_1.10.2.testing6487~b19+93275071_amd64.deb Debian 9: http://snapshots.symless.com/synergy/v1-core-standard/debian/synergy_1.10.2.testing6487~b115+93275071_amd64.deb CentOS 7.5: http://snapshots.symless.com/synergy/v1-core-standard/centos/x86_64/synergy-1.10.2-116.testing6487.93275071.el7.x86_64.rpm Could you post your results in this thread or on the GitHub issue here Link to comment Share on other sites More sharing options...
Xerotope Posted May 24, 2019 Share Posted May 24, 2019 Is the disabled call XWindowsUtil::getWindowProperty()? I've been running my own patched version of 10.1 and 10.2 with that disabled for a couple weeks. It's been much better, but I have seen occasional freezes, especially when using Qt applications. (I was laying out a widget with designer the other day and it was pretty bad). Link to comment Share on other sites More sharing options...
Pedro Werneck Posted May 25, 2019 Share Posted May 25, 2019 On 5/24/2019 at 7:40 AM, Jamie Newbon said: Could you post your results in this thread or on the GitHub issue here It didn't help, I'm still getting intermittent freezes. Also, clipboard sharing stopped working. Link to comment Share on other sites More sharing options...
Azonile Posted May 28, 2019 Share Posted May 28, 2019 On 2019. 5. 24. at 7:40 PM, Jamie Newbon said: Hi guys, I have been tracking issues about mouse freezing for a while now. Although the symptom is the mouse freezing the causes seems to be varied in the reports I have received. One of the causes is solved by disabling a particular function and I would like to check if it solves the problem in other cases of the mouse freezing. Could you try out the development builds below, They are based on the current 1.10.2 release with the probable offending function disabled. Windows x64:http://snapshots.symless.com/synergy/v1-core-standard/windows-x64/Release/Synergy_v1.10.2-testing6487_b119-93275071.msi Windows x32: http://snapshots.symless.com/synergy/v1-core-standard/windows-x86/Release/Synergy_v1.10.2-testing6487_b117-93275071.msi macOS: http://snapshots.symless.com/synergy/v1-core-standard/macos/Synergy_v1.10.2-testing6487_b133-93275071.dmg Ubuntu16: http://snapshots.symless.com/synergy/v1-core-standard/ubuntu16/synergy_1.10.2.testing6487~b107+93275071_amd64.deb Ubuntu18: http://snapshots.symless.com/synergy/v1-core-standard/ubuntu18/synergy_1.10.2.testing6487~b17+93275071_amd64.deb Ubuntu19: http://snapshots.symless.com/synergy/v1-core-standard/ubuntu19/synergy_1.10.2.testing6487~b19+93275071_amd64.deb Debian 9: http://snapshots.symless.com/synergy/v1-core-standard/debian/synergy_1.10.2.testing6487~b115+93275071_amd64.deb CentOS 7.5: http://snapshots.symless.com/synergy/v1-core-standard/centos/x86_64/synergy-1.10.2-116.testing6487.93275071.el7.x86_64.rpm Could you post your results in this thread or on the GitHub issue here Your testing version is very good! Thank you. Server: Mac Mojave 10.14.3 Client: Ubuntu 18.04.2 Link to comment Share on other sites More sharing options...
Myntan Posted June 2, 2019 Share Posted June 2, 2019 On 5/25/2019 at 9:26 AM, Pedro Werneck said: It didn't help, I'm still getting intermittent freezes. Also, clipboard sharing stopped working. It helped for me, a bit. The quantity of freezing seems to be down, but I also lost clipboard one-way.... Client clipboard to Server. Server: Windows 10 Client: Ubuntu 18.04.2 LTS section: options ... clipboardSharing = true clipboardSharingSize = 3072 ... end I did try small (<10 text character) clipboard copies as well as larger ones. Link to comment Share on other sites More sharing options...
Xerotope Posted July 1, 2019 Share Posted July 1, 2019 On 6/2/2019 at 6:04 PM, Myntan said: It helped for me, a bit. The quantity of freezing seems to be down, but I also lost clipboard one-way.... Client clipboard to Server. Server: Windows 10 Client: Ubuntu 18.04.2 LTS This "fix" does break clipboard sharing from X11 (Ubuntu) clients. It bypasses the code that reads the X11 clipboard, since there seems to be a lock contention issue in there. Link to comment Share on other sites More sharing options...
Jamie Newbon Posted July 18, 2019 Share Posted July 18, 2019 Hi guys I have an update for this issue (courtesy from the GitHub community). An update to the libx11 package may be the trigger for this issue, downgrading the package libx11-6 to version 2:1.6.4-3ubuntu0.1 solves the issue on my machine Use the command (Also remember you may be running the "hack" version of synergy. you may want to test with the release version 1.10.2 instead) sudo apt install libx11-6=2:1.6.4-3ubuntu0.1 #Reboot may be required this will downgrade the package but the package will still try to update, it's not recommended but if you wish you can hold the package to prevent it from updating with the following command sudo apt-mark hold libx11-6 Could people please report back on any success or failures of this fix with any details that may be important like OS version and the version of synergy your running. Link to comment Share on other sites More sharing options...
Mike Penda Posted July 25, 2019 Share Posted July 25, 2019 Hi Jamie. I'm just today trying your test code. I've gone 30 minutes without a freeze which is a record. Will try this for a while before I try downgrading x11. Thanks for fix(es). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.