Help building/running SDL/OpenGL code

Roland Smith rsmith at
Tue Dec 22 18:35:22 UTC 2009

On Tue, Dec 22, 2009 at 07:50:19PM +0200, Richard Mace wrote:
> On Tuesday 22 December 2009 19:31:31 you wrote:
> > 
> > What version of the nvidia driver are you using?
> > 
> The one in /usr/ports/x11/nvidia-driver-173. I have to use this for the aging 
> FX 5200.
> > Have a look at the x11-drivers/xf86-video-nouveau port. Maybe that works
> >  for you?
> > 
> > (BTW, problems like these are why I avoid proprietary drivers like the
> >  plague)
> I'm rendering a whole bunch of molecules (spheres), moving a camera and at the 
> same time doing quite a bit of CPU intensive numerical integration of a whole 
> slew of coupled ordinary differential equations -- I need the speed of the GPU 
> (read proprietary driver) to relieve the CPU and avoid a slide show. (This 
> works very nicely with dual core CPUs: I use one thread for the rendering and 
> another for the numerics.)

In this case it might be better to invest in a more recent graphics
card. Currently Radeons (up to and including R6xx/R7xx) are better supported
by open source drivers than nvidia. 

> I'll keep digging (and getting educated, I guess). Incidentally, in Debian 
> GNU/Linux they have a system of clever "diverts" which avoid these kinds of 
> library clashes. 

As far as I know, the compat libraries are meant to be able to keep using old
binaries on newer systems. I do not think they were ever meant to be used in a
"mixed" (as in linking with both and environment.

From experience (botched ports upgrade going from 6.x to 7) I know that having
a program linked to different versions of the same library can result in
"interesting" experiences (i.e. crashes).

There are several things you could try, from building your app and the
libraries it needs on a 5.x machine to trying to get the libGL to link with
the current libm. Whatever you do, it will probably end up being a kludge.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list