PDA

View Full Version : Strang problems with FPS



03-12-2006, 06: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, 06:45 AM
*conmfiuration - i mean configuration :rolleyes:

RigidBody
03-12-2006, 07: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.

jide
03-12-2006, 08: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, 09: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.....

jide
03-12-2006, 11: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.

ZbuffeR
03-12-2006, 12:22 PM
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, 12:23 PM
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.....

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

03-12-2006, 12:29 PM
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, 12:35 PM
2 jide - Have you downloaded my program? How much fps it shows on your system??

jide
03-13-2006, 12:59 AM
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, 08: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, 11: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, 11: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, 12:20 PM
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?

jide
03-13-2006, 12:20 PM
as long as you don't have D3D 3.x :)

03-13-2006, 12:22 PM
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, 04: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.

http://www.nvidia.com/content/drivers/drivers.asp

https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=27

http://downloadfinder.intel.com/scripts-df-external/Support_Intel.aspx

http://www.3dlabs.com/support/drivers/


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, 07: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, 07:21 PM
Well, they failed to hobble OpenGL support in Windows Vista :)

See OpenGL front-page.