moused freezes Xorg - caused by compiler bug

Dmitry Morozovsky marck at rinet.ru
Fri Mar 28 01:43:52 PDT 2008


On Thu, 20 Mar 2008, Dominic Fandrey wrote:

DF> I have long been annoyed by the problem that Xorg is frozen if I use moused,
DF> unless the mouse is in movement. Just imagine you type something and it only
DF> shows up when you move your mouse. Or if you watch a video ... you basically
DF> have to keep the mouse in movement all the time.
DF> 
DF> I am/have been using the following CPUTYPEs on different machines:
DF> pentium4 - not affected
DF> pentium-m - affected
DF> core2/nocona - affected
DF> 
DF> I just had the idea this might be an optimization problem and I rebuild
DF> src/usr.sbin/moused with CPUTYPE=athlon64 and it works.
DF> 
DF> I've put the following into my make.conf:
DF> 
DF> # moused bug workaround
DF> .if ${.CURDIR:M*/usr.sbin/moused}
DF> .if defined(CPUTYPE)
DF> .if ${CPUTYPE} == core2
DF> CPUTYPE=athlon64
DF> .elif ${CPUTYPE} == pentium-m
DF> CPUTYPE=pentium3
DF> .endif
DF> .endif
DF> .endif

On my home machine (A64 X2) moused causes freezes with CPUTYPEs k8 and i686 too.


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list