From owner-freebsd-stable@FreeBSD.ORG Thu Feb 28 21:31:23 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 8F50B1065671; Thu, 28 Feb 2008 21:31:22 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-stable@FreeBSD.org Date: Thu, 28 Feb 2008 16:31:03 -0500 User-Agent: KMail/1.6.2 References: <47C6FDD0.2040902@mbnet.fi> In-Reply-To: <47C6FDD0.2040902@mbnet.fi> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_bgyxHIeEiBhUhAI" Message-Id: <200802281631.07844.jkim@FreeBSD.org> Cc: Teemu Korhonen , freebsd-x11@FreeBSD.org Subject: Re: jerky mouse still in 7.0-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 21:31:23 -0000 --Boundary-00=_bgyxHIeEiBhUhAI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 28 February 2008 01:30 pm, Teemu Korhonen wrote: > Did anyone find a solution to the "jerky mouse" -problem? It still > exists in 7.0-RELEASE. > > I have pretty much exact same symptoms as in this post: > http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/039599.html Can you try the attached patches for ports/x11-servers/xorg-server? Just drop them in files directory, rebuild, reinstall, etc... Thanks, Jung-uk Kim --Boundary-00=_bgyxHIeEiBhUhAI Content-Type: text/plain; charset="iso-8859-1"; name="patch-configure" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-configure" --- configure.orig 2008-02-28 16:08:55.000000000 -0500 +++ configure 2008-02-28 16:11:19.000000000 -0500 @@ -30376,7 +30376,7 @@ else cat >conftest.$ac_ext <<_ACEOF -#define _POSIX_C_SOURCE 199309L +#define _POSIX_C_SOURCE 200112L #include int main(int argc, char *argv[]) { --- configure.ac.orig 2007-09-06 01:59:00.000000000 -0400 +++ configure.ac 2008-02-28 16:11:23.000000000 -0500 @@ -1055,7 +1055,7 @@ LIBS="$CLOCK_LIBS" AC_RUN_IFELSE([ -#define _POSIX_C_SOURCE 199309L +#define _POSIX_C_SOURCE 200112L #include int main(int argc, char *argv[[]]) { --Boundary-00=_bgyxHIeEiBhUhAI Content-Type: text/plain; charset="iso-8859-1"; name="patch-os-utils.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-os-utils.c" --- os/utils.c.orig 2007-08-23 15:04:55.000000000 -0400 +++ os/utils.c 2008-02-28 16:20:29.000000000 -0500 @@ -525,7 +525,11 @@ #ifdef MONOTONIC_CLOCK struct timespec tp; +#ifdef __FreeBSD__ + if (clock_gettime(CLOCK_MONOTONIC_FAST, &tp) == 0) +#else if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0) +#endif return (tp.tv_sec * 1000) + (tp.tv_nsec / 1000000L); #endif --Boundary-00=_bgyxHIeEiBhUhAI--