From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 21:04:23 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 B94BD1065941 for ; Mon, 3 Nov 2008 21:04:23 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmmtao107.cox.net (fed1rmmtao107.cox.net [68.230.241.39]) by mx1.freebsd.org (Postfix) with ESMTP id 9847F8FC12 for ; Mon, 3 Nov 2008 21:04:23 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao107.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20081103210422.KIYR29505.fed1rmmtao107.cox.net@fed1rmimpo02.cox.net>; Mon, 3 Nov 2008 16:04:22 -0500 Received: from asus386 ([98.176.32.63]) by fed1rmimpo02.cox.net with bizsmtp id al4P1a00A1MjGMu04l4PHv; Mon, 03 Nov 2008 16:04:23 -0500 X-Authority-Analysis: v=1.0 c=1 a=gTI-GwdHAAAA:8 a=nGG82nTgpPnLh0BaetUA:9 a=hjof6sr9s3XNnJrzCVAA:7 a=MI6qVjKptQlko2ehLfeqWLNYfqcA:4 a=MSl-tDqOz04A:10 a=4vB-4DCPJfMA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Date: Mon, 3 Nov 2008 13:04:18 -0800 From: Robert To: bryant.eadon@gmail.com Message-ID: <20081103130418.790b7ee7@asus386> In-Reply-To: <4904C0F6.1020306@gmail.com> References: <20081020103839.369884cf@asus64> <20081025105151.0e689dc6@asus64> <4904C0F6.1020306@gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 21:04:23 -0000 On Sun, 26 Oct 2008 15:11:50 -0400 Bryant Eadon wrote: > 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 I waited to answer so that I could do further testing. I first moved .xinitrc out of the way so I would load the default wm, "twm". It only took a couple of days and I lost the mouse cursor. I had a spare slice on a separate disk, so I installed the i386 version of 7 Beta 2 from CD. I updated it to stable and installed most of my packages, including XFCE4. I made the mistake of copying over all of my config files from the AMD64 version and the problem recurred. I then cleaned all of my packages with pkg_delete *. I cleaned out my home directory and /usr/local. I then reinstalled all of the necessary packages. It took a few says but it happened again. I moved my .xinitrc out of the way and was using "twm" since last Friday. About an hour ago I returned to my computer and the mouse cursor was missing. Evidently, the problem is something to do with my hardware that the "nv" driver does not like. I guess we can close this out as weird hardware problems. For the record, here is what I have: A8N-VM motherboard with 2 Gig of RAM (4x500) CPU: AMD Athlon(tm) 64 Processor 3200+ (2009.16-MHz 686-class CPU) On board video is GeForce 6100 Wireless mouse and keyboard through a PS2 KVM (happened before the kvm installed) If anyone needs more information I will be happy to provide it but for me, I will just live with it. Thanks Robert