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
On Thu, Feb 28, 2008 at 08:30:17PM +0200, Teemu Korhonen wrote:> Did anyone find a solution to the "jerky mouse" -problem? It still exists > in 7.0-RELEASE.I experienced some relief from this by switching my single-CPU system to use hyperthreading, and using an SMP kernel. On dual-core machines, it never seems to be a problem for me.
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.htmlPart of the problem here is that these "symptoms" are far too generic for diagnosis and have a variety of known and unknown causes. Some of the "known" causes include: * Overloading the system transiently (e.g. if your KDE launches 30 processes at once, the system is going to be a bit sluggish for a few seconds) * Running powerd, which has poor interaction with interrupt delivery on at least one user's system (might be an ACPI issue or hardware-specific). * Performing lots of I/O to a non-mpsafe filesystem like msdosfs. The other causes have so far resisted understanding. Kris
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 No. However, the problem was well analyzed by delphij: http://docs.freebsd.org/cgi/mid.cgi?47C320DB.70004 Jung-uk Kim
Jung-uk Kim wrote:> 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 > > No. However, the problem was well analyzed by delphij: > > http://docs.freebsd.org/cgi/mid.cgi?47C320DB.70004 > > Jung-uk Kim > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >Hmm, that is strange. The real question is why X is doing so many gettimeofday syscalls at all. Kris
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 -------------- next part -------------- --- 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 <time.h> 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 <time.h> int main(int argc, char *argv[[]]) { -------------- next part -------------- --- 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
David E. Thiel wrote:> On Thu, Feb 28, 2008 at 08:30:17PM +0200, Teemu Korhonen wrote: > >> Did anyone find a solution to the "jerky mouse" -problem? It still exists >> in 7.0-RELEASE. >> > > I experienced some relief from this by switching my single-CPU system > to use hyperthreading, and using an SMP kernel. On dual-core machines, > it never seems to be a problem for me. > >Interesting. I have just source upgraded world and kernel to 7.0 (Actually 7-STABLE), and I am *not* seeing any jerky mouse issues - in fact the desktop experience is if anything better than in 6-STABLE. My system is SMP (2 CPUs, not dual core) - so SMP could be a factor. However I have yet to rebuild userland (X, Gnome etc) - so it will be interesting to see if that makes any difference. Cheers Mark