From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 19:40:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 113A7106566B for ; Sun, 26 Oct 2008 19:40:03 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: from mail-gx0-f15.google.com (mail-gx0-f15.google.com [209.85.217.15]) by mx1.freebsd.org (Postfix) with ESMTP id 99F4C8FC14 for ; Sun, 26 Oct 2008 19:40:02 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: by gxk8 with SMTP id 8so1570455gxk.19 for ; Sun, 26 Oct 2008 12:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=cRtxwfBXn5VZfD3ITwlkEZ/NiYf0h5eUB9IK11Gsj64=; b=LnKwOKqAaaK8+zTpEUdGi6aHodOlk099nLjPv47+6rQ5JJ8vaHXeAVvxMyPphuxUbh Yf2JIYr/dQ1igOQpzE6nTQn6Aowf+uWmtc4+E/bU4hsnU6UgLTpaZ+BGnuxBJCoKQcMX UaXDXq1aJ+gC8zdEHMH+OqzVqQ3eVzG+byDeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=O73IyvNU8Rv9Oj52L4GrgtAT1ZceqwKcvBHNeegQ8rFNBR/s7wsWjpa7c6np7tgCwz JfZl+RemJcn7VNM20CGplf0pRiHARwkm43v/VrWrRrFuakuOrnvSBR/fZFyQrB561CbC CEbuqaISkEQ2d4SX4Y0SDwaoPSNIq9QvF3FlY= Received: by 10.90.29.17 with SMTP id c17mr3852991agc.13.1225048321617; Sun, 26 Oct 2008 12:12:01 -0700 (PDT) Received: from ?192.168.1.4? (itsf207.itsnpt.com [64.119.85.207]) by mx.google.com with ESMTPS id 8sm4945012wra.41.2008.10.26.12.12.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 26 Oct 2008 12:12:00 -0700 (PDT) Message-ID: <4904C0F6.1020306@gmail.com> Date: Sun, 26 Oct 2008 15:11:50 -0400 From: Bryant Eadon User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Robert References: <20081020103839.369884cf@asus64> <20081025105151.0e689dc6@asus64> In-Reply-To: <20081025105151.0e689dc6@asus64> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: disappearing mouse pointer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bryant.eadon@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2008 19:40:03 -0000 Robert wrote: > On Mon, 20 Oct 2008 10:38:39 -0700 > Robert wrote: > >> Greetings FreeBSD >> >> When running XFCE4 I will lose the mouse pointer at times. This will >> only happen when I have the driver set to "nv" in xorg.conf. The mouse >> will still work as I can see where it is when I pass over icons and >> watch them highlight. If I can stop on an icon, I can click and it >> works. >> >> If I drop out of the XFCE4 using ctl-alt-backspace, the mouse pointer >> appears and all is well. If I restart the XFCE4, there is no pointer. >> If I change the driver to "vesa" and restart then I have a pointer >> again. The only way I have found to regain the pointer using "nv" is >> to reboot. >> >> All ports are up to date and I am running amd64 RELENG_7 as of last >> Saturday. >> >> uname -a >> FreeBSD asus64.shasta204.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE >> #1: Sat Oct 18 13:31:00 PDT 2008 >> root@asus64.shasta204.local:/usr/obj/usr/src/sys/GENERIC amd64 >> >> If I should have posted to a different list please let me know. I have >> also attached my xorg.conf. >> >> TIA >> >> Robert > > Five days and no responses, so maybe more information. On this computer > I have on board GeForce 6100. > > vgapci0@pci0:0:5:0: class=0x030000 card=0x81bf1043 > chip=0x024210de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' > device = 'GeForce 6100' > class = display > subclass = VGA > > I have the same exact release and ports running on a different computer > equipped with a GeForce 6800 XT in an AGP slot without a problem. The > big difference is that other computer is running i386. It is using "nv" > driver without any problems. > > Can anyone point me in the right direction. Feel free to tell me where > to go. :-) > > Thanks > Robert > This seems like a very strange problem. Let's try focusing on XFCE first. Are any processes conflicting with drawing something on the screen, from your description it seems like XFCE is a problem, but do other window managers do the same thing ? If it's not wm specific then I'd try chasing down the developers of xf86-video-nv . Here is a starting point : http://www.t2-project.org/packages/xf86-video-nv.html Does the driver support any sort of 'debug' mode that you could log to file ? .... Taking a walk through xf86-video-nv, it looks like there are a few bitshift and & operators that use pointer and move things to and fro. ( in 64-bit land that maybe these moves should be handled differently ? Or are these magic numbers? ) Take a look into the source, nv_cursor.c Examining these lines : #if X_BYTE_ORDER == X_BIG_ENDIAN if ( m & 0x80000000) *dst = ( b & 0x80000000) ? pNv->curFg : pNv->curBg; else *dst = TRANSPARENT_PIXEL; This case draws the pixel transparently if it fails the test -- which seems to coincide with what you're seeing. This is just a wild guess, it could be used elsewhere though with the same affect. But then again, since this is working at all, then it may point to 1. the wm 2. Xorg may have a problem reporting it to the wm Hope it helps. Report back if you have any progress. Later, Bryant