game says 60fps but it feels laggy like 30
Posted: Tue Aug 30, 2016 12:39 am
just watch this video (be sure to watch it with 60fps enabled) and see the lag:
https://www.youtube.com/watch?v=VyoNdTGJTRA
version 0.14.1
(edit:
here how it should look like (you need to watch both in 720p60 to see the difference):
https://www.youtube.com/watch?v=nzl9JT2QldI
using version 0.12.35
)
fresh map, just cheated power armor+exo to run faster
fps and ups are at constant 60 but it feels like 30 sometimes
pls no "30fps is enough" debate, some people consider 30fps unplayable (including me), others might not
seems to randomly occur one time but not the other time, sometimes completely smooth, sometimes completely laggy (constant 30), sometimes in between (like in the video), sometimes even to felt 15fps
occurs with all refresh rates i tested: 60Hz, 120Hz, 144Hz
occurs with all possible nvidia vsync settings
occurs on both fullscreen and windowed
occurs with threading set to 1 and 8 (did not test other values)
was not a problem with 0.12.x
the problem exists since one of the 0.13.x versions (not sure which one, cant select these old ones in steam betas anymore), 0.13.0 worked fine, later 0.13.x versions not
exists in 0.14.1
it does not only feel like 30 fps, this is acually the correct number
i determined this by having a strobing backlight in my screen, if i see every moving object 4 times at 120Hz, its 30fps
to draw a conclusion, the game renders some frames twice, sometimes even more often. (this also means input lag is very high)
This is not a performance issue (fresh map, good PC, game shows constant 60fps and 60ups)
how to solve:
implement graphics independent from update logic with future position prediction, this would also enable us 144Hz guys to have smooth 144fps gameplay
if you dont know how to do this, let me help you, im a programmer, this change is simpler than you think
maybe it was actually an attempt for that change that broke the game (if its not done correctly, without proper interpolation/prediction while still locked at 60fps this could happen, again, let me help you, i know how to properly implement this)
btw does anyone know why cheat engine does not like factorio? i could not use speedhack for slomo tests of this issue.
https://www.youtube.com/watch?v=VyoNdTGJTRA
version 0.14.1
(edit:
here how it should look like (you need to watch both in 720p60 to see the difference):
https://www.youtube.com/watch?v=nzl9JT2QldI
using version 0.12.35
)
fresh map, just cheated power armor+exo to run faster
fps and ups are at constant 60 but it feels like 30 sometimes
pls no "30fps is enough" debate, some people consider 30fps unplayable (including me), others might not
seems to randomly occur one time but not the other time, sometimes completely smooth, sometimes completely laggy (constant 30), sometimes in between (like in the video), sometimes even to felt 15fps
occurs with all refresh rates i tested: 60Hz, 120Hz, 144Hz
occurs with all possible nvidia vsync settings
occurs on both fullscreen and windowed
occurs with threading set to 1 and 8 (did not test other values)
was not a problem with 0.12.x
the problem exists since one of the 0.13.x versions (not sure which one, cant select these old ones in steam betas anymore), 0.13.0 worked fine, later 0.13.x versions not
exists in 0.14.1
it does not only feel like 30 fps, this is acually the correct number
i determined this by having a strobing backlight in my screen, if i see every moving object 4 times at 120Hz, its 30fps
to draw a conclusion, the game renders some frames twice, sometimes even more often. (this also means input lag is very high)
This is not a performance issue (fresh map, good PC, game shows constant 60fps and 60ups)
how to solve:
implement graphics independent from update logic with future position prediction, this would also enable us 144Hz guys to have smooth 144fps gameplay
if you dont know how to do this, let me help you, im a programmer, this change is simpler than you think
maybe it was actually an attempt for that change that broke the game (if its not done correctly, without proper interpolation/prediction while still locked at 60fps this could happen, again, let me help you, i know how to properly implement this)
btw does anyone know why cheat engine does not like factorio? i could not use speedhack for slomo tests of this issue.