I’ve been working on some opengl apps in SDL and it all seamed to work
just fine until I started checking the FPS, and got a minor shock, it was
way to low.
So I checked the extensions and got a tip to run Nehe Lesson 25 and to my
suprise it says that I’m using Mesa X11 ( it should say Nvidia if I’m not
That means you have an old lib floating around somewhere. nvidia likes to
install their crappy drivers in /usr/lib, so if you have any in
/usr/X11R6/lib, they’re probably incorrect.
nehe is probably a bad place to start for a fairly long list of reasons,
I’d suggest getting the redbook (isbn 0201604582). If ya don’t want to
shell out $45 for a new one or $25 for a used one, there’s an older version
(revision 2) in pdf format at http://www.gamedev.net/download/redbook.pdf
The FPS on lesson 25 is lousy 11fps on a T-Bird 1.1GHz and GTS 32Mb.
Just to check I tried the non sdl version of lesson 25 and got Nvidia
Driver and a couple more extensions.
Have I installed SDL or the GL libs wrongly ?
sdl may be linked against the /usr/X11R6/lib libs, where the other app is
linked against the /usr/lib/ libs, that’d be my hunch
The opinions expressed by me are not necessarily opinions. In all probability,
they are random rambling, and to be ignored. Failure to ignore may result in
severe boredom or confusion. Shake well before opening. Keep Refrigerated.