From owner-freebsd-ports@FreeBSD.ORG Fri May 5 12:11:02 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 1082D16A413 for ; Fri, 5 May 2006 12:11:02 +0000 (UTC) (envelope-from jaj13@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CB5843D5F for ; Fri, 5 May 2006 12:10:54 +0000 (GMT) (envelope-from jaj13@web.de) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id A86A028C1BF0 for ; Fri, 5 May 2006 14:07:49 +0200 (CEST) Received: from [83.99.89.187] (helo=[10.0.0.11]) by smtp06.web.de with esmtp (WEB.DE 4.107 #108) id 1Fbz65-0006kp-00 for freebsd-ports@freebsd.org; Fri, 05 May 2006 14:07:49 +0200 Message-ID: <445B4014.6090707@web.de> Date: Fri, 05 May 2006 14:07:48 +0200 From: Jona Joachim User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <445A66EE.8010808@web.de> <20060504200843.246b372f@phobos.mars.bsd> In-Reply-To: <20060504200843.246b372f@phobos.mars.bsd> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: jaj13@web.de X-Sender: jaj13@web.de 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: Fri, 05 May 2006 12:11:03 -0000 Alejandro Pulver wrote: > 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. >> >> 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 >> >> 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). Hi! Thanks for your explanation. Don't you think it would be good if the x11/xorg-libraries port checks whether x11/nvidia-driver is installed and updates it in the post-install target? Is there a feature in the ports system that handles these issues? Otherwise one could perhaps mention this in pkg-message or in UPDATING? It's not really intuitive