Advertisement

Disabling V-Sync

Started by January 07, 2001 12:37 PM
5 comments, last by devil 23 years, 10 months ago
Is it possible to override the driver setting and disable the V-Syc in the OpenGL programm ? B.C. when i disable the V-Sync of my drivers and run my engine i get twice the FPS I got before. This was the reason why the enigne was running so slow ! BTW : Thx to all who helped me finding this issue
there is a windoze extension 4 this (check my site)

http://members.xoom.com/myBollux
Advertisement
glVelocity has a little class that does this.

HHSDrum@yahoo.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Thx, i found the class :-)

But what is the purpes of the V-Sync and is it wise to deactivate it, or could this result into errors ?

Is it wise to deactivate Vsync?
Answer:
No.

This has been highly discouraged by gamemakers and graphics library distributors(SGI, Microsoft). Now when benchmarking 3D cards though you should ALWAYS have your Vsync disabled, this allows a truly accurate measurement of the speed with out the cap that vsync puts.

"What VSync is."

To first understand what VSync is you must understand how your monitor works. Your monitor at this point in time probably is set somewhere between 60-75HZ which rougly translates the to limit of FPS that your machine can handle. This is a cap on how fast you''re allowed to refresh your monitor''s display. So when you look at your 3D card box and it says it can it can do 400gagillion FPS etc.. etc.. it is still limited by the refresh rate of your monitor. The VSync is when your video card must wait for the screen to refresh before it can draw to it again. It''s the bottleneck between your video card and your monitor.
So now you probably think you can turn off VSync and yay no more bottleneck. This is not always true as turning off your VSync can have odd effects to what is being display, ie stretching and warping. Though it''s always nice to allow the user to specify if they would like to disable their VSync, but have a hotkey that sets it back in case their screen goes all funny.
If you want go ahead and play around with it, but don''t release it to people with default of VSync not set ON.
Tbach, very well explained ! Thank you very much, now I finally understood vsync !

Advertisement
Thx Tbach,

this is an explenation for the Speed boost when disabling the V-Sync !!

This topic is closed to new replies.

Advertisement