Login  Register

V-SYNC causes choppy animations.

Posted by bwroga on Sep 05, 2013; 6:40pm
URL: https://forum.jogamp.org/V-SYNC-causes-choppy-animations-tp4029992.html

Hello,

My JOGL application is currently running at about 1000 fps. I wanted to sync the framerate with my monitor refresh rate (60hz). I tried adding gl.glSwapInterval(1); in my GLEventListener's init() method, and this does limit the framerate to 59-60 fps, but all the animations now look choppy. If my monitor updates once every 1/60 of a second and my application updates every 1/60 of a second, why does the application look so much better when running at 1000 fps. Shouldn't 1000 fps look exactly like 60 fps since the monitor only updates 60 times a second?

My OS is Ubuntu 12.04, and I have an ATI graphics card with the fglrx 12.10.5 drivers.