Page 1 of 1

Stuttering in windowed mode

Posted: Mon Feb 15, 2016 10:52 pm
by jayleshan
I saw a couple other discussions on this issue but didn't see a solution. Whenever i run a program in windowed mode on Windows 10 the movement constantly stutters, however it runs perfectly fullscreen. Is there a way to solve this?

Re: Stuttering in windowed mode

Posted: Sat Oct 22, 2016 8:35 am
by adjustfloor424
Facing the same thing and there is nothing I can't find to solve this.

Re: Stuttering in windowed mode

Posted: Sat Oct 22, 2016 11:33 am
by zorg
If i remember the past discussions correctly, there was talk about how Windows 7's aero compositor not playing nice with Löve in windowed mode, and disabling aero solved the issue...
On the other hand, windows 10 always has it's compositor on, last i heard; no idea what one could do about this... maybe someone more knowledgeable can give a better answer.
Also, microstuttering can sadly be caused by a myriad of things, for example, on win7, having the program "f.lux" running, or even running the Google Chrome browser. Multi-monitor setups can also be buggy with different refresh rates and having vsync on in löve.

Re: Stuttering in windowed mode

Posted: Sat Oct 22, 2016 11:43 am
by raidho36
In Windows vsync synchronizes output to first monitor specifically, so you gonna get tearing and/or stuttering on other monitors, since monitor refresh rate is nearly always slightly off the round number and any two monitors pretty much guaranteed not to sync. That's one of the reasons freesync exists.

Re: Stuttering in windowed mode

Posted: Sat Oct 22, 2016 2:19 pm
by zorg
raidho36 wrote:In Windows vsync synchronizes output to first monitor specifically, so you gonna get tearing and/or stuttering on other monitors, since monitor refresh rate is nearly always slightly off the round number and any two monitors pretty much guaranteed not to sync. That's one of the reasons freesync exists.
Not really true, from my win7 experience anyway; vsync in löve uses the refresh rate of the screen it's currently "on"... which works most of the time, though there are cases where either SDL or something else reports a very wrong refresh rate (i have a screen that reports 4 FPS for some reason, which makes a vsynced love project update and render four times a second).
That said, from what i read about freesync, it needs support from both monitors and gpu-s, and i haven't seen any nvidia ones in the list, also, i do believe it'll only work with a specific kind of DisplayPort connector as well... for people that use VGA/DVI/HDMI, they're s.o.l.

I did forget to ask, jayleshan, adjustfloor424, does it stutter only if vsync is enabled, or have you tried turning vsync off in your conf.lua?

Re: Stuttering in windowed mode

Posted: Sat Oct 22, 2016 9:16 pm
by raidho36
It is known to be the case because it was an extremely prominent issue with DK2 which had 75Hz refresh rate and in extended mode with vsync enabled it stuttered and juddered like absolute hell because it was synced to wrong framerate. If it's a difference between 59.985Hz and 59.990 Hz then a single mis-sync will only appear every 30 seconds and so may not be visible. They then went on with developing so-called "direct mode" that sidesteps desktop manager altogether so the issue is no longer relevant to it, but I wouldn't know if it's actually solved.

NVidia uses its own proprietary G-sync which bumps up compatible monitors cost by solid $100 or more (at least that used to be the case) and is now pretty much a dead technology.

Re: Stuttering in windowed mode

Posted: Sun Nov 13, 2016 4:10 pm
by RadioactiveGears
I am having stuttering issues on a 75Hz freesync monitor, it's pretty annoying. Sometimes it goes away randomly and sometimes it comes back after going away but not always. It's weird.

Re: Stuttering in windowed mode

Posted: Mon Nov 14, 2016 1:37 pm
by D0NM
i have this issue on a 60Hz monitor

I used to profile the game. It looks as a pretty random thing.
On reading this topic I see the same problem for everyone V__V

Re: Stuttering in windowed mode

Posted: Wed Nov 16, 2016 9:36 am
by RadioactiveGears
D0NM wrote:i have this issue on a 60Hz monitor

I used to profile the game. It looks as a pretty random thing.
On reading this topic I see the same problem for everyone V__V
I noticed it doesn't happen on my laptop, which is odd. But yeah it's a pretty serious issue