Nvidia OpenGL in SDL

HI!

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
completely wrong).

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 ?

HI!

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
completely wrong).

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 :slight_smile:

-Erik <@Erik_Greenwald> [http://math.smsu.edu/~erik]

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.

In article <mailman.996418925.8697.sdl at libsdl.org>, “Fredrik Johnsson”
wrote:

HI!

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 completely wrong).

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 is not the problem.

I had the same problems with OPENGL my self in the beginning. The short
answer to your problem is to remove EVERYTHING that has to do with mesa.

Read:
http://www.linuxdoc.org/HOWTO/mini/Nvidia-OpenGL-Configuration/install.html
for some installing info.

I believe it was the libGL.so that was my problem. X searches several
locations for this file - and if it finds the MESA-version first …

Hope this helps!
Regards,------------------
H?kon Skjelten