From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 16:36:30 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 0B26210656A6 for ; Sun, 28 Sep 2008 16:36:30 +0000 (UTC) (envelope-from dmw@unete.cl) Received: from mail06.ifxnetworks.com (mail06.ifxnetworks.com [190.61.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0B28FC19 for ; Sun, 28 Sep 2008 16:36:29 +0000 (UTC) (envelope-from dmw@unete.cl) Received: (qmail 28203 invoked from network); 28 Sep 2008 16:36:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail06.ifxnetworks.com X-Spam-Level: X-Spam-Status: No, score=0.1 required=7.0 tests=RDNS_NONE autolearn=disabled version=3.2.5 Received: from unknown (HELO quake) (dmw@unete.cl@[200.73.29.2]) (envelope-sender ) by mail06.ifxnetworks.com (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Sep 2008 16:36:28 -0000 From: Daniel Molina Wegener Organization: DMW To: freebsd-questions@freebsd.org, Daniel Bye Date: Sun, 28 Sep 2008 12:36:17 -0400 User-Agent: KMail/1.9.7 References: <48DD0692.4070006@gmail.com> <48DD5EAD.3030101@gmail.com> <20080928132954.GD2945@torus.slightlystrange.org> In-Reply-To: <20080928132954.GD2945@torus.slightlystrange.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1951751.3HjXvZ2P5M"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200809281236.21968.dmw@unete.cl> Cc: Subject: Re: OpenGL things crash X in FB7-Stable, nVidia Card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@unete.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 16:36:30 -0000 --nextPart1951751.3HjXvZ2P5M Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 28 September 2008 09:29:55 Daniel Bye wrote: > On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote: > > Daniel Bye wrote: > > >On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang=20 wrote: > > >>Hi all, > > >> > > >>I have a FreeBSD 7 Stable box with a nVidia 6150 Go > > >> Graphic Card. Everything was OK sometime before, but > > >> after a series updated on ports, ( I am not sure about > > >> the time, I have not use OpenGL stuff for long time) > > >> running a program with OpenGL will cause the X crashed. > > > > > >[ -- snip -- ] > > > > > >>The last crash is when I choose a OpenGL screensaver. > > >> > > >>The ports is updated nearly daily, and I think this may > > >> happen after sometime after I updated the latest > > >> nVidia-driver. > > >> > > >>Any ideas about this problem? > > > > > >Try reinstalling the nVidia driver port. It installs its > > > own GL libs, which may have been replaced by another > > > port, depending on the order in which your ports were > > > updated. Reinstalling should ensure you have the correct > > > libs in the correct place... > > > > > >Dan > > > > Thanks for reply Daniel. > > > > I have re-installed the nvidia-driver and tested OpenGL - > > Crash again. So it seems not the case... > > Rats! Sorry that didn't help. > > One other thing occurs to me - you mentioned you updated some > ports. Have you also updated your system source tree without > doing a full buildworld cycle? If so, chances are that your > nVidia driver is built against a different version of the > kernel source than the running kernel. Although any > differences will be minimal, there is a chance that something > changed enough to upset the driver. I was having similar problems with the nvidia driver on my 6.4-PRERELEASE machine. The solution was to remove agp and drm related drivers from the kernel configuration and setting: hw.nvidia.registry.EnableAGPFW=3D1 hw.nvidia.registry.EnableAGPSBA=3D1 In my sysctl.conf, and also setting: Option "NvAGP" "3" In my xorg.conf in the Screen section... The concrete problem -- not related with GL failures -- was system freezing with /sysctl -a/ command on terminal emulators=20 from X server. I hope it would help. > > Failing that, all I can suggest is that you keep an eye on > your console and see if the driver emits any messages just > before it chokes. > > Good luck! > > Dan Best regards, =2D-=20 .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | FreeBSD & Linux User | Standards Rocks! --nextPart1951751.3HjXvZ2P5M Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkjfsoEACgkQbvV0HEsGCMSLMACggydJaXZ6yiHjrvgkFrH/AHHZ 1LoAnjpHHXb/LpcfeHpmfxntgs5qwPPd =9l88 -----END PGP SIGNATURE----- --nextPart1951751.3HjXvZ2P5M--