Date: Sun, 28 Sep 2008 19:14:03 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org, dmw@unete.cl Cc: Daniel Bye <freebsd-questions@slightlystrange.org> Subject: Re: OpenGL things crash X in FB7-Stable, nVidia Card Message-ID: <200809281914.04000.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200809281236.21968.dmw@unete.cl> References: <48DD0692.4070006@gmail.com> <20080928132954.GD2945@torus.slightlystrange.org> <200809281236.21968.dmw@unete.cl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 28 September 2008 18:36:17 Daniel Molina Wegener wrote:
> 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
>
> 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=1
> hw.nvidia.registry.EnableAGPSBA=1
>
> 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
> from X server.
I'm interested to see if this helps, since he has a 'Go' card, meaning laptop,
most likely no AGP.
These OpenGL apps, are they native or linux? Try games/apoolGL, for a
lightweight native OpenGL app.
I have very bad performance (fps <10) with linux games, under fc6, that run
fine under fc4. No crashes, though.
--
Mel
Problem with today's modular software: they start with the modules
and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809281914.04000.fbsd.questions>
