[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Having problems with getting Nvidia hardware to work...

Katie Lucas wrote:

One annoyance is that my glxgears rate has dropped to 40-50 fps. Which
sounds awful low even for an 800MHz machine[1]. "glxinfo" swears all
up and down we're using the Nvidia renderer.

On a GF2, you should be seeing hundreds of hertz from glxgears - it hardly matters which CPU you have.

I'm wondering if it's refresh clamped, because there's no tearing in
the image...

That would force it to a solid sub-multiple of your monitor's frame rate (and it's certainly not the default behavior of the nVidia driver). 40 to 50Hz isn't likely to be a submultiple of your monitor's refresh rate - which is probably 60, 72 or 76Hz.

I suspect that your copy of glxgears was compiled against a '.a' version of
Mesa and is therefore still using software OpenGL.  40 to 50Hz would be about
right for an 800MHz CPU providing the window you are running it in isn't
too large.  I bet that if you enlarge the window to fill the screen, the
frame rate would drop to maybe 10Hz or worse...that would be a dead giveaway
that you'd still have software rendering.

Try 'ldd glxgears' - it should say something like:

        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40233000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x402cd000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40721000)
        libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x40df9000)

...if it doesn't then you are probably still using the wrong OpenGL
library somehow.

The second law of Frisbee throwing states: "Never precede any maneuver
by a comment more predictive than "Watch this!"...it turns out that
this also applies to writing Fragment Shaders.
Steve Baker                      (817)619-2657 (Vox/Vox-Mail)
L3Com/Link Simulation & Training (817)619-2466 (Fax)
Work: sjbaker@xxxxxxxx           http://www.link.com
Home: sjbaker1@xxxxxxxxxxx       http://www.sjbaker.org