Page 1 of 1

VSYNC + Screen Tear

Posted: Wed May 02, 2012 12:46 pm
by racarate
Hey everyone,

I've been using LOVE lately and I can't figure out how to get rid of my screen tear.

What precisely is setting vsync in love.graphics.setMode() supposed to do?
Is that only important for capping your maximum framerate?

I notice tearing most obviously with visual effects that only take one frame (attached, hit 'j' or 'k').


-Nick


P.S. I'm really enjoying using 0.8., thanks to everyone who contributed!

Re: VSYNC + Screen Tear

Posted: Wed May 02, 2012 2:44 pm
by kikito
Are your graphic drivers up to date?

Re: VSYNC + Screen Tear

Posted: Wed May 02, 2012 3:22 pm
by racarate
Yeah, I'm pretty sure they are although I am on an old machine (Thinkpad T40p) running Ubuntu. I wouldn't mind digging in to help solve this, but I'm unsure of what the intended behavior of love.graphics.SetMode() is with respect to vsync.


-Nick

Re: VSYNC + Screen Tear

Posted: Wed May 02, 2012 7:07 pm
by mickeyjm
I see no tears, i think it might be your graphics card

Re: VSYNC + Screen Tear

Posted: Wed May 02, 2012 7:37 pm
by racarate
Ok, thanks for taking a look.


-Nick

Re: VSYNC + Screen Tear

Posted: Wed May 02, 2012 9:20 pm
by bartbes
Note that not all drivers respect vsync, in fact, I know that in the nvidia drivers for both windows and linux you can set an override for vsync (both force on and force off).