Quote from the issue in upstream project's tracker: Fix intermittent delay problem with synergyc under Xwindows There is poor assumption in the XWindowsEventQueue class. The assumption is that all events will cause a change on the Xwindows file descriptor. This is not true. Some events are queued in the Xlib buffers. This is extremely noticable with the new xcb version of Xorg. It causes synergy to hang or delay for a period of time (timeout value in waitForEvent) as there is no event on the fd to wake up the thread. This delay is VERY annoying. The fix is to check for events not only from the server itself but also in the xlib event queue. We don't need to lock this test as it's a non blocking io call. We change the XPending call in isEmpty to QueueLength to avoid the XFlush call that XPending may cause. This fix eliminates the delay at the cost of a little more cpu time - still < 1% on my box. I've applied this patch and it does smooth out the stalls I have been experiencing lately. Reproducible: Always Steps to Reproduce: 1. Install x11-libs/libX11 with xcb use flag 2. Install synergy 3. Run synergyc on the gentoo side Actual Results: Moving the mouse connected to the synergy server, on the synergy client display, there are frequent pauses often lasting seconds. Various LANS have exhibited this problem. Expected Results: No or nearly no pauses. I am using keyword masked libX11-1.1.5 and keyword masked libxcb-1.1.90.1, I have not tested this with non-masked libX11-1.1.4 or libxcb-1.1. synergy connections are made through ssh forwarded ports.
Created attachment 181063 [details, diff] Patch from upstream project's tracker
Created attachment 181064 [details] Modified ebuild --- /usr/portage/x11-misc/synergy/synergy-1.3.1.ebuild 2008-04-21 10:07:17.000000000 -0400 +++ synergy-1.3.1.ebuild 2009-02-05 11:51:56.000000000 -0500 @@ -29,4 +29,5 @@ src_unpack() { epatch "${FILESDIR}/${P}+gcc-4.3.patch" + epatch "${FILESDIR}/${PN}-stuttered-delay-fix.patch" # Remove -Werror usage.
Maybe block bug #174434?
I can confirm that this patch makes synergy(c) usable again. I'm on ~amd64.
I'm having the same issue. Do you have this patch applied on the machine that runs the server or the client? I just did update the client and it did not fix it.
My gentoo-box connects to a mac synergy server (also 1.3.1).
patch in tree, thanks Kai :)