Advertisement

FPS problem

Started by May 21, 2003 07:43 AM
9 comments, last by GamerSg 21 years, 5 months ago
I have tried several FPS counters and they all display 60FPS whether there is one polgon on screen or 200. Its not my graphics card which is limiting the fps, but the monitor. When i change my refresh rate to 85hz, the fps changes to 85. What i want however is the fps being drawn by my system and not limited by the refresh rate of the monitor. BTW, the maximum refresh rate is 85hz for my monitor, there is no optimal. So how do i get those 100-3000 fps u guys tend to get when running an empty window?
It is definitely being limited by the monitor refresh rate.

Turn off vsync.
Advertisement
And how do you turn off Vsync in your code?Or only the user has the ability to turn it on or off.

There is an option to turn vsync off/on in your opengl nvidia settings found in your disply settings
=============================================Want to be paid for using your programming/graphics skills from home?Then become a Freelancer today! www.FreelanceUK.net=============================================
As far as I know, I don''t think it is possible to turn off vsync, in OpenGL, in code... Your manufacturer usually lets you turn it on/off manually somehow...

What I do:

1. Right click on the desktop
2. Choose properties
3. Go to the settings tab
4. Click on advanced
5. Go to the 3D settings
6. Click on the checkbox for disable VSync...

I think most cards can do something similar...
It''s simply not possible in standard GL.

There''s a WGL extension for that. It''s called WGL_EXT_swap_control.

Now, don''t fear the thing it''s WGL. Checking for WGL extensions is a bit more complicated but getting ext pointers is as easy as it is with other ext.

More on this if you are interested.

Previously "Krohm"

Advertisement
Thx, i found it under settings. Besides, i just want to see 100+fps during development. So now, whenever i add something new to my engine or draw something new, ill noe how much it affects the framerate.

Also, no matter how fast ur system, it will always be displaying at the rate at which ur monitor supports.So Vsync is actually good.
"Also, no matter how fast ur system, it will always be displaying at the rate at which ur monitor supports.So Vsync is actually good."
I don''t get the point in this however, in my opinion vsync is a horrible thing while developing.

Some days ago I did a thing which resulted in a 84fps slowdown on a 85hz display. With vsync off i notices it was, in fact a 200fps slowdown. Quite different.

Now, the thing was very stupid but I am going to leave vsync off during devel. Limitating vid card power is bad because it hides your pipe optimizations if you are doing some and does not show you what''s the best between two render paths for example.

If you want to turn it on/off every time it''s up to you but I personally think the vsync thing must be handled with care and definetly turned off while developing / benchmarking.

Previously "Krohm"

I don''t get the point in this however, in my opinion vsync is a horrible thing while developing.

What i meant was that it is a good thing when u are playing. While developing, vsync shouldnt be used.
Oh, well not sure, on this however, it''s a personal opinion.
Excuse me if I have misunderstood you post. Sorry!

Previously "Krohm"

This topic is closed to new replies.

Advertisement