Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+2)

With "stats" enabled I noticed periodical spikes >16ms for swap, and especially while electrocut someone on screen. (It's fun on RTX2060, but unfortunately, I don't have more potato, but 3d playable PC at current time)

It's gone if I disable vsync.

And even more fun: if i switch auto-fps(but still 60, I don't known what mean auto in this section) and vsync on/off multiple times, sometime swap consumes >14ms constantly.

I think I must walkthrough w/o vsync and try to catch freezes(if it still exists), but i have lack of time to it before weekend.

(+2)

the 'auto' setting just means to skip frames if it takes too much time to draw them

swap is just for the buffer swap time (I pretty much just measure how long the windows SwapBuffers command takes)
unfortunately it's dependent on windows and nearly impossible to sync at 60fps

the workaround right now is to start without vsync in fullscreen and hope that the triple buffering on the gpu kicks in
(which there is no control over - it's all up to the gpu driver)

so don't worry about this one: I know the cause but i yet to find a solution (apart from making 30fps  the default) 😔