From owner-freebsd-ports@FreeBSD.ORG Thu May 4 23:08:57 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC90116A400 for ; Thu, 4 May 2006 23:08:57 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 5210243D46 for ; Thu, 4 May 2006 23:08:57 +0000 (GMT) (envelope-from alepulver@FreeBSD.org) Received: (qmail 36161 invoked by uid 0); 4 May 2006 23:08:56 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 4 May 2006 23:08:56 -0000 X-pair-Authenticated: 200.115.244.27 Date: Thu, 4 May 2006 20:08:43 -0300 From: Alejandro Pulver To: Jona Joachim Message-ID: <20060504200843.246b372f@phobos.mars.bsd> In-Reply-To: <445A66EE.8010808@web.de> References: <445A66EE.8010808@web.de> X-Mailer: Sylpheed-Claws 2.1.0 (GTK+ 2.8.17; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_oxCaJ/dtaK8.tAPNZCdoxMk"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-ports@freebsd.org Subject: Re: Weirdness with Xorg, x11/nvidia-driver and GLX X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 23:08:57 -0000 --Sig_oxCaJ/dtaK8.tAPNZCdoxMk Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 04 May 2006 22:41:18 +0200 Jona Joachim wrote: > Hi! > I don't know if the following behavior is normal or not. > The second but last time the xorg-server port was updated and I > installed the new version it crashed every time I wanted to use an > OpenGL application. The first time I noticed this was when I wanted to > play games/linux-enemyterritory but later on I saw that it happened > with any OpenGL application, even a simple call to glxinfo had the > same effect. The result was always the same: the screen switched to > ttyv0 without killing Xorg and it freezed like that. The only thing > to which it reacted were ACPI calls (i.e. it shutted down properly > when I hit the power button). > I rebuilt the nvidia-driver just to see if it changes something or if > I see something strange things during the compilation. I was > astonished to see that after having done this everything worked fine > again just like before. I thought that this was something that > happened once due to mysterious circumstances and would never happen > again so I forgot about it. However when the Xorg port was updated > once again yesterday I saw that exactly the same problem happened > again. This time it was also solved by rebuilding nvidia-driver. >=20 > My graphics card is an NVidia GeForce 5200 FX > Version of nvidia-driver: 1.0.8178_1 > Version of xorg-server: 6.9.0_3 >=20 > uname -a > FreeBSD 10.0.0.11 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon Mar 27 > 17:05:15 CEST 2006 > root@10.0.0.11:/usr/obj/usr/src/sys/HYPOCENTER i386 Hello. This happens because the port x11/nvidia-driver renames the OpenGL library and X11 module installed by Xorg and installs the NVidia ones. When it's deinstalled, it removes the files and renames back the Xorg files. The problem is that when you update the Xorg port (x11/xorg-libraries) you force its deinstallation, so it removes the NVidia OpenGL libraries and X11 module (without removing NVidia drivers first) and replaces it with the Xorg one (without installing NVidia drivers after). The crash happens because of the nvidia.ko kernel module, that expects you are using the NVidia OpenGL libraries and X11 module. So just reinstall nvidia-driver driver after upgrading xorg-libraries as you were doing so far. Alternatively you could remove nvidia-driver, update xorg-libraries and install nvidia-driver after that. Best Regards, Ale --Sig_oxCaJ/dtaK8.tAPNZCdoxMk Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEWomCiV05EpRcP2ERAtVEAKCi+LN+aKOEiSoWNdd/mWRpaItfAgCglZCN TLwQ3tyXmxdmtuSJhWyKP2I= =6hkK -----END PGP SIGNATURE----- --Sig_oxCaJ/dtaK8.tAPNZCdoxMk--