Bad OpenGL performance with Linux and NVidia GF 6600

Hi,

I have problems with OpenGL performance on Linux (Xorg 6.9, NVidia
Geforce 6600 (latest drivers installed and loaded)). My testing
application draws 500000 Triangles in ~600 ms on Linux, but it only
needs ~40 ms on Windows, with exactly the same sources and settings. The
color depth is set to 16 bpp (the X-Server too) and I’m using
SDL_FULLSCREEN. Are there any known SDL/OpenGL/system settings, which
can cause this wide difference in performance?

I don’t know whether it is a problem with my application or SDL or it’s
caused by the system configurations.
Does anybody know a reliable tool to compare SDL+OpenGL performance on
Windows with the performance on Linux or a solution for my problems with
performance on Linux?

Thanks in advance!

Nils

— Nils Schnabel <nils.schnabel at gmx.net> escreveu:

Hi there.

I was testing glxgears at home (Geforce 6600 GT,
Ubuntu 5.04 amg 64, xorg), at fullscreen, I was
getting 600 FPS.
After I donwloaded the gforce driver (from ubuntu
repositories), it jumped to almos 7140 FPS, just
changing the driver.
Give a look at the driver you are using.]

I will try to install gentoo in some days and see
what I get.

Hope I helped,

  • In?cio Ferrarini.> Hi,

I have problems with OpenGL performance on Linux
(Xorg 6.9, NVidia
Geforce 6600 (latest drivers installed and loaded)).
My testing
application draws 500000 Triangles in ~600 ms on
Linux, but it only
needs ~40 ms on Windows, with exactly the same
sources and settings. The
color depth is set to 16 bpp (the X-Server too) and
I’m using
SDL_FULLSCREEN. Are there any known
SDL/OpenGL/system settings, which
can cause this wide difference in performance?

I don’t know whether it is a problem with my
application or SDL or it’s
caused by the system configurations.
Does anybody know a reliable tool to compare
SDL+OpenGL performance on
Windows with the performance on Linux or a solution
for my problems with
performance on Linux?

Thanks in advance!

Nils


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Promo??o Yahoo! Acesso Gr?tis: a cada hora navegada voc? acumula cupons e concorre a mais de 500 pr?mios! Participe! http://yahoo.fbiz.com.br/

Hi,

I have problems with OpenGL performance on Linux (Xorg 6.9, NVidia
Geforce 6600 (latest drivers installed and loaded)). My testing
application draws 500000 Triangles in ~600 ms on Linux, but it only
needs ~40 ms on Windows, with exactly the same sources and settings.
The color depth is set to 16 bpp (the X-Server too) and I’m using
SDL_FULLSCREEN. Are there any known SDL/OpenGL/system settings, which
can cause this wide difference in performance?

I don’t know whether it is a problem with my application or SDL or
it’s caused by the system configurations.
Does anybody know a reliable tool to compare SDL+OpenGL performance
on Windows with the performance on Linux or a solution for my
problems with performance on Linux?

Impossible to say without any code.On Tuesday 25 October 2005 19:18, Nils Schnabel wrote:

Thanks in advance!

Nils


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi,

Here the requested information:

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 NVIDIA Kernel Module 1.0-7676 Fri Jul
29 12:58:54 PDT 2005
GCC version: gcc version 4.0.1 (4.0.1-2mdk for Mandriva Linux release
2006.0)

$ cat /proc/driver/nvidia/cards/0
Model: GeForce 6600
IRQ: 16
Video BIOS: 05.43.02.16.24
Card Type: PCI-E

$ lsmod | grep nvidia
nvidia 3694024 12
agpgart 29032 2 nvidia,intel_agp

$ glxgears
7431 frames in 5.0 seconds = 1485.854 FPS
2813 frames in 5.0 seconds = 562.479 FPS (manually maximized to
fullscreen, is there an option to start at fullscreen?)

I think this framerate is a little bit low, but i don’t have any idea,
what the problem could be.

Nils

J Inacio wrote:>— Nils Schnabel <@Nils_Schnabel> escreveu:

Hi there.

I was testing glxgears at home (Geforce 6600 GT,
Ubuntu 5.04 amg 64, xorg), at fullscreen, I was
getting 600 FPS.
After I donwloaded the gforce driver (from ubuntu
repositories), it jumped to almos 7140 FPS, just
changing the driver.
Give a look at the driver you are using.]

I will try to install gentoo in some days and see
what I get.

Hope I helped,

  • In?cio Ferrarini.

7431 frames in 5.0 seconds = 1485.854 FPS
2813 frames in 5.0 seconds = 562.479 FPS (manually maximized to
fullscreen, is there an option to start at fullscreen?)

I think this framerate is a little bit low, but i don’t have any idea,
what the problem could be.

A little low? The human eye can see 27 FPS, the average human can tell
the difference between 30 and 60, the average gamer/programmer can tell
the diff between 60 and 75. Almost 600 FPS at full screen means you have
plenty of room to spare (granted it is glxgears).

In your code, check which OpenGL driver (software or hardware) you are
using, that would be an indication whether you are even using your video
card to render or not.

It could also be how you are sending the data to the card, if sending it
piece meal, that is definatly a slow down, if sending it in chunks then
referencing those chunks (VBO’s?), then it is probably a config error
somewhere.

HTH,
Richard

P? Tue, 01 Nov 2005 04:47:50 +0100, skrev Richard “The PC Doc” Hancock
:

A little low? The human eye can see 27 FPS, the average human can tell
the difference between 30 and 60, the average gamer/programmer can tell
the diff between 60 and 75. Almost 600 FPS at full screen means you have
plenty of room to spare (granted it is glxgears).

No, the human eye doesn’t see in frames at all. How many “frames” we see
depends heavily on the context (one white frame in a series of black
requires more fps to disappear than a series of similar images, etc),
and even then the brain can register things that we don’t conciously see.
For example, although I probably can’t tell the difference between a game
updating at 85 fps and 100 fps, personally I have no problem telling the
difference between my monitor refreshing at 85 hz and 100 hz. I don’t
conciously register much flickering at 85 hz (unlike 75 hz), but 100 hz
feels more stable.

Anyway, I agree that calling a frame rate of 500 fps in a game “a little
low” is silly. This wasn’t a game, though, it was a performance test
(although you really shouldn’t use glxgears for that …).

  • Gerry