From owner-freebsd-stable@FreeBSD.ORG Thu Mar 20 07:16:08 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 85EA71065671 for ; Thu, 20 Mar 2008 07:16:08 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 483378FC24 for ; Thu, 20 Mar 2008 07:16:08 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (nat-wh-1.rz.uni-karlsruhe.de [129.13.72.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 8ED26405BFF for ; Thu, 20 Mar 2008 08:16:06 +0100 (CET) Message-ID: <47E20F35.5060200@bsdforen.de> Date: Thu, 20 Mar 2008 08:16:05 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.12 (X11/20080310) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Thu, 20 Mar 2008 07:16:08 -0000 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