UPDATE: I've been investigating the following issue and noticed a couple VERY peculiar things.
If I turn off vsync, both in my video drivers and in Godot, the problem of having stuttering while windowed with certain projects goes away completely... BUT IT'S STILL VSYNCING! I can tell because there's absolutely no shearing with fast-moving imagery, although CPU usage ramps up too, but not to 100% either as I would've expected.
This oddity only seems to work with the "Platformer" example, but if I leave vsync on, run this example fullscreen at my native 1920x1080 screen resolution for a minute, quit, immediately set it down to a 1600x900 window and run it again, the stuttering remains gone for about a minute... then COMES BACK! I tried this trick with my own test projects but it didn't work with them, with them the stuttering immediately comes back when switching back to windowed.
At this point, I don't think anything can be ruled out. This could be a Win10 Creators Update thing, this could be a GeForce GTX 1070 thing, this could be a Godot thing, it could be something to do with any combination of those... But again, certain Godot examples don't have stuttering when windowed so I'm gonna pay attention to if and when the stuttering disappears in my own projects to see what might be the trigger to get it to stop and if I find out anything, I'll let everyone know!
Original Post Below:
So, I've been learning some Godot Engine stuff with the 2.1.x branch over the past while, although up to now I've never made a serious attempt to do anything in it. In trying to set up some basic stuff just to make sure I've got the basics figured out I ran into a VERY weird issue with the framerate: It's stuttering, but ONLY in my projects, and ONLY when running windowed! o_O
It tends to be a regular stutter too, happening once every second. I'd almost suspect some external factor to Godot, if not for the fact that the included example programs don't stutter at all and my initial test stuff is incredibly basic by comparison, consisting of cubes, planes, and only about a dozen lines of code. (Though the stuttering happens without the code too, using only built-in animation playback.)
The point form rundown:
* Godot Examples + Fullscreen = No Stuttering
* Godot Examples + Windowed = No Stuttering
* My Project + Fullscreen = No Stuttering
* My Project + Windowed = Stuttering
I've tried every project setting I could think of, I've tried enabling and disabling various things, changing settings around, nothing seems to work. I don't have an underpowered system by any stretch either, as I've got an AMD FX-8350 4 GHz 8-Core CPU, a GeForce GTX1070 GPU, and 16 GB of RAM.
Anyone have even the vaguest idea what might be going on here? The only thing I can think of is that because the examples are more complex than what I've got going they might be triggering some internal factor which is eliminating the stuttering I'm experiencing.