VSync problem (spikes)


I am having trouble using the vsync mode of panda, i have an application that run smoothly at 130fps+ when no limitation is set (note that limiting fps to 60, 90 or 120fps just works) but when i activate vertical syncronisation, i get missed frames.

An image is worth a thousands words : http://i.imgur.com/vUsqcdY.png
(ignore the last spike, it’s me taking the screenshot)

I don’t know how to get rid of it, i had this problem on multiples machines already.
I’m using panda’s task system to do frame calculations (i guess that should be ok).

Thank you for your consideration :slight_smile:

Seems pretty regular. I suspect something in your graphics driver or operating system is causing this effect; I doubt it’s related to Panda.