Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 08:16:05 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-stable@freebsd.org
Subject:   moused freezes Xorg - caused by compiler bug
Message-ID:  <47E20F35.5060200@bsdforen.de>

next in thread | raw e-mail | index | archive | help
I have long been annoyed by the problem that Xorg is frozen if I use moused, 
unless the mouse is in movement. Just imagine you type something and it only 
shows up when you move your mouse. Or if you watch a video ... you basically 
have to keep the mouse in movement all the time.

I am/have been using the following CPUTYPEs on different machines:
pentium4 - not affected
pentium-m - affected
core2/nocona - affected

I just had the idea this might be an optimization problem and I rebuild 
src/usr.sbin/moused with CPUTYPE=athlon64 and it works.

I've put the following into my make.conf:

# moused bug workaround
.if ${.CURDIR:M*/usr.sbin/moused}
.if defined(CPUTYPE)
.if ${CPUTYPE} == core2
CPUTYPE=athlon64
.elif ${CPUTYPE} == pentium-m
CPUTYPE=pentium3
.endif
.endif
.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E20F35.5060200>