View Full Version : Strang problems with FPS

03-12-2006, 05:42 AM
Can anyone help me - i have a strange problem:
My OPENGL programs on my computer and on some other shows 64 FPS, but on several other computers shows only 6!
For example, conmfiuration of my friend's computer:
GeForce4 MX440(64 mb), P4 2400, 256 mb RAM
(Almost as mine) - but my program show very low speed - 6 fps!!

03-12-2006, 05:45 AM
*conmfiuration - i mean configuration :rolleyes:

03-12-2006, 06:32 AM
maybe there is no hardware accelerated driver installed on you friend's computer.

you can use glGetString(GL_VENDOR),glGetString(GL_VERSION),glG etString(GL_RENDERER), to find out more about the driver.

03-12-2006, 07:56 AM
Does it only show 6 FPS or does it really render at 6 FPS ? Maybe the 4 has been truncated ! :-D

03-12-2006, 08:40 AM
No =) If it renrers at 64 fps but shows 6, it wasn't problem =)

It realy renders at speed 6 frames per second.....

03-12-2006, 10:32 AM
So if you could say more about the difference on the computers it might help people here to help you understand why such a difference.

03-12-2006, 11:22 AM
I guess it is missing proper nvidia drivers, the ones you download from http://www.nvidia.com/content/drivers/drivers.asp and not those from microsoft.

To see if you have accelerated OpenGL, you can use http://www.delphi3d.net/hardware/glinfo2.zip (or check GL_RENDERER and GL_VENDOR as said above) : if it says "microsoft something" for vendor, it means you need to install drivers.

03-12-2006, 11:23 AM
I don't know about difference in drivers, but hardware is almost similar!

Here is link on my program:
Infinity (http://goblin-wars.narod.ru/Infinity.rar)

It is generating an infinite landscape...
It is the first verson, so don't judge strictly ;)

I have some more questions about it, but firstly I want to solve a problem with FPS.....

03-12-2006, 11:25 AM
so it is a driver issue, most visibly.

03-12-2006, 11:29 AM
2ZbuffeR - Isn't that strange, that professional 3D games, such as Quake3, World Of Warcragt and others runs with normal speed?

It's hard enouth to make user belive that he needs new drivers, if other programs does need them :)

03-12-2006, 11:35 AM
2 jide - Have you downloaded my program? How much fps it shows on your system??

03-12-2006, 11:59 PM
I don't have Windows.

Give pretty much more information then, if games run normally but not your program: we are not mediums. Also give sources. Try to debug your program: find out where things hurt.
Also, are you using some kind of extensions ? Which ones ? Are you doing some kind of special things ? Do you need many memory ?

PS: Please answer what we say (like what Zbuffer asked and all what I asked). Otherwise, it's just like kicking where it hurts...

03-13-2006, 07:35 AM
Ok, I'll try....

I can't find "thing that hurt" - it was the first thing i'v done.

Empty rendering cycle ALSO gives 6 fps!
I have removed all lines from program, excluding GL initialisations!
In the Draw() proc there was ONLY fps counting!

I don't think that empty cycle needs more than 256 mb of RAM :)

As for glString(GL_VENDOR).... Damn, all my beta-testers are offline :) , when I'll check this, i'll post results...

Thanks for participation =)
I hope I will solve this problem with your help

03-13-2006, 10:19 AM
Thanks to all!
This problem REALLY was in standart drivers!!!
On my friend's computer glGetString shows the following:

Vendor: Microsoft Corporarion
Renderer: GDI generic
Version: 1.1.0

I've killed my drivers, installed drivers from MS, and tested my program - every polygon caused loss of fps rate about 5-10 fps!!

03-13-2006, 10:23 AM
hmm.. A little question - so the only way of solving fps problem is to download new drivers, yes?
It is a bad new =) As far as I know, in applications which use D3D there is no such problems...... They work ok with standart drivers....

03-13-2006, 11:20 AM
so the only way of solving fps problem is to download new drivers, yes?Affirmative. For OpenGL, that's S.O.P.

ZbuffeR already gave you the links. What are you waiting for? Or was there another point to this madness?

03-13-2006, 11:20 AM
as long as you don't have D3D 3.x :)

03-13-2006, 11:22 AM
so the only way of solving fps problem is to download new drivers, yes?Affirmative. For OpenGL, that's S.O.P.

ZbuffeR already gave you the links. What are you waiting for? Or was there another point to this madness?

Ehsan Kamrani
03-14-2006, 03:10 AM
Get your friends to install the latest driver from the card manufacturer, e.g. NVIDIA, ATI, Intel etc. They all provide fully functional OpenGL.

I think you may be able to bundle these drivers or provide a link to their web sites on a web page you ship with the game.





Unfortunately Microsoft has actively opposed OpenGL on Windows for some time now. They preffer to lock people into D3D and the Windows platform.

03-14-2006, 06:53 AM
It is usual MS strategy =))
They stopped supporting Win98, forcing users to by XP...
I think they'll soon try to force us to use only .NET tools, such as VB.NET, etc....

I hope, they'll fail =)

Adam Luchjenbroers
03-17-2006, 06:21 PM
Well, they failed to hobble OpenGL support in Windows Vista :)

See OpenGL front-page.