Sign in with
Sign up | Sign in
Your question

What is vsync?

Last response: in Video Games
December 5, 2012 6:13:32 AM

In games I play on the PC, I often see the option to enable or disable vsync. What exactly is vsync?

More about : vsync

December 5, 2012 6:30:05 AM

It limit's your GPU to output frames as high as the refresh rate of your monitor.

It's mainly to reduce screen tearing but can introduce input lag.

Best solution

December 5, 2012 6:32:18 AM

Basically, it makes sure that the monitor would only change the image if it can change the whole frame. If your graphics card is done painting only 5/6 of the frame, it will wait until the next refresh rate to draw it. If your graphics card is done painting the frame before it's time to refresh, it will make the graphics card idle until the refresh rate.

It works pretty simply: if there's a call to refresh buffer on the screen (openGL or DirectX API call), the driver simply freezes the game engine until it is time for monitor to refresh itself.
Related resources
December 5, 2012 6:54:39 AM

So is it better to keep it on or off?
December 5, 2012 7:01:26 AM

FI you are getting lot's of screen tearing then put it on. If not then always keep it off.

Off be default and on when needed.
December 5, 2012 7:06:09 AM

If you have an nVidia card, use adaptive v-sync. Then it will switch itself on when needed and stay off when it's not.
December 5, 2012 7:09:18 AM

The Stealthinator said:
So is it better to keep it on or off?

Depends on what kind of game you're playing, and how bad the tearing is. If I'm playing an FPS or fighting game, I'll leave it off no matter what. If I'm playing an rpg or a single player game of some kind, unless it's a really hard platformer, I'll turn it on.
December 5, 2012 7:10:07 AM

Best answer selected by The Stealthinator.