From owner-freebsd-stable@FreeBSD.ORG Fri Mar 28 08:43:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFC76106566C for ; Fri, 28 Mar 2008 08:43:51 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 683B88FC19 for ; Fri, 28 Mar 2008 08:43:51 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.1) with ESMTP id m2S8hmNL029068; Fri, 28 Mar 2008 11:43:48 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Fri, 28 Mar 2008 11:43:48 +0300 (MSK) From: Dmitry Morozovsky To: Dominic Fandrey In-Reply-To: <47E20F35.5060200@bsdforen.de> Message-ID: <20080328114042.A99923@woozle.rinet.ru> References: <47E20F35.5060200@bsdforen.de> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Fri, 28 Mar 2008 11:43:48 +0300 (MSK) Cc: freebsd-stable@freebsd.org Subject: Re: moused freezes Xorg - caused by compiler bug 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: Fri, 28 Mar 2008 08:43:52 -0000 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@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------