Hello Guest

VSync Causing Choppiness?

  • 3 Replies
  • 5115 Views
VSync Causing Choppiness?
« on: June 14, 2011, 01:08:47 »
I've got a simple textured cube that I'm rotating on-screen and with vsync enabled it looks choppy as it animates, but if I disable vsync it's absolutely and perfectly smooth.  This seems backwards of what I would expect to be the case.  I understand that vsync will lock for monitor refreshing, but this shouldn't manifest in visual choppiness.  I've got two nVidia GTX 460s with SLI and zero GCing happening.

Any suggestions?

*

Offline kappa

  • *****
  • 1319
Re: VSync Causing Choppiness?
« Reply #1 on: June 14, 2011, 08:31:18 »
IIRC Vsync only works properly in fullscreen but could be wrong.

Re: VSync Causing Choppiness?
« Reply #2 on: June 14, 2011, 13:17:12 »
Thanks, I'll give that a try and see if that makes a difference.

Re: VSync Causing Choppiness?
« Reply #3 on: June 22, 2011, 21:53:34 »
Vsync works fine for me in windowed mode...

Are you using windows XP? If so, do you have a Thread.sleep() in your render loop? Longer delays between successive sleep calls could actually make the amount of time it sleeps for rather inaccurate.

This could also be driver-related - I'd update to the latest just in case it solves your headache, before spending too much time trying to debug it.