Keyboard and mouse input has long pauses after XDCMP login
Submitted by Vince Negri
Assigned to Xorg Project Team
Description
Client system : Windows 2000 service pack 4 with all updates as of 2006.08.14 Linux server is SuSE Linux Pro 10.0 (fully patched)
Basic symptoms after logging in over XDCMP as any normal user: everything fine until I press a key, then longish (about a second) pauses on both mouse and key input. No CPU usage spikes on either server or client machine, so it appears that something is waiting for an event (that it shouldn't be) and timing out.
No problems with the previous release 6.8.2 version of Cygwin/X.
Colin Harrison <colin dot harrison at virgin dot net>
reported that this patch
fixed the delays, but stopped key repeat working:
--- ./programs/Xserver/os/save_xdmcp.c 2006-07-30 11:56:30.000000000 +0100
+++ ./programs/Xserver/os/xdmcp.c 2006-07-30 13:49:09.000000000 +0100
@@ -721,7 +721,7 @@
keepaliveDormancy = defaultKeepaliveDormancy;
}
if (XFD_ANYSET(&AllClients) && state == XDM_RUN_SESSION)
- timeOutTime = GetTimeInMillis() + keepaliveDormancy * 1000;
+ timeOutTime = 1;
}
else if (timeOutTime && (int) (GetTimeInMillis() - timeOutTime) >= 0)
{
Version: 6.8.99.901 (6.9 RC1)