Hands up who could see this coming 
After being advised to use the sync and sync2 methods rather than rely on vsync, I thought I’d try and test them out. Not sure if I’m doing this right but here’s how I’m using the method, using the mainloop from FullScreenWindowedTest as an example.
private void mainLoop()
{
while (!Keyboard.isKeyDown(Keyboard.KEY_ESCAPE) && !Display.isCloseRequested())
{
if (Display.isVisible())
{
// check keyboard input
processKeyboard();
// do "game" logic, and render it
logic();
render();
}
else
{
// no need to render/paint if nothing has changed (ie. window
// dragged over)
if (Display.isDirty())
{
render();
}
// don't waste cpu time, sleep more
try
{
Thread.sleep(100);
}
catch (InterruptedException inte)
{
}
}
// Update window
Display.sync(60);
Display.update();
}
}
As I said I’m not sure if this is the right way to use the method, but doing it this way the updates are not very reliable, the screen seems to skip every few seconds as if it’s catching up with the updates, if that makes any sense.
So what I’m I doing wrong here?
cheers
Btw, the display mode is set to 60htz.