Page 1 of 1

[0.18.3] Can't reach 95% 60 FPS

Posted: Tue Feb 04, 2020 11:16 pm
by FireCulex
First 2 runs are default settings.
3rd run is Full Screen off

Still can't reach 60 fps 95% of the time
i5-7600K + RX 580

Re: [0.18.3] Can't reach 95% 60 FPS

Posted: Tue Feb 04, 2020 11:22 pm
by posila
Hello, try to disable "Use flip presentation model" in graphics settings

Re: [0.18.3] Can't reach 95% 60 FPS

Posted: Tue Feb 04, 2020 11:43 pm
by FireCulex
N
posila wrote:
Tue Feb 04, 2020 11:22 pm
Hello, try to disable "Use flip presentation model" in graphics settings
After testing all the graphic settings I discovered forcing the render model to OpenGL gave me 95% 55-57 fps which is way better.

Someone suggested it's designed to run at an average of 60 fps, not 95% or 99% or 100% of the time, just average.

Re: [0.18.3] Can't reach 95% 60 FPS

Posted: Wed Feb 05, 2020 3:22 am
by CrushedIce
Do you have texture compression enabled? I had performance issues when it was disabled.

Re: [0.18.3] Can't reach 95% 60 FPS

Posted: Wed Feb 05, 2020 8:18 am
by posila
Can you post your log file? (Press Win + R, type in %APPDATA%\Factorio, click OK, File Explorer will open, factorio-current.log is the log file)

If "Use flip presentation model" didn't help, I suggest to try to experiment with Adaptive sync (or Enhanced sync AMD calls it, I think?) in Radeon control panel. What graphics driver version do you have?

The time under Flip[off] (off just means v-sync is off), is just graphics API call to present backbuffer. We are saying to the graphics API we are done composing image and we want it presented onto screen. In DirectX we pass parameter saying if it should be presented immediatelly or if it should wait for vertial synchronization. The fact it takes more than a fraction of a millisecond means either GPU was not finished with processing all the draw commands we sent it during that frame (which seems unlikely based on GPU timings bellow), or that driver decided to wait for vertical synchronization (or maybe even something else) regardless of what we asked it to do.

Re: [0.18.3] Can't reach 95% 60 FPS

Posted: Wed Feb 05, 2020 5:47 pm
by FireCulex
posila wrote:
Wed Feb 05, 2020 8:18 am
Can you post your log file? (Press Win + R, type in %APPDATA%\Factorio, click OK, File Explorer will open, factorio-current.log is the log file)

If "Use flip presentation model" didn't help, I suggest to try to experiment with Adaptive sync (or Enhanced sync AMD calls it, I think?) in Radeon control panel. What graphics driver version do you have?
You were correct, its flip presentation. The reason why I missed it is you have to restart Factorio. Most games pop up saying warning changes require restart.

Radeon 20.1.3 & 20.2.1

Re: [0.18.3] Can't reach 95% 60 FPS

Posted: Sun Feb 09, 2020 12:59 am
by FireCulex
My understanding is FPS and UPS are in lockstep. If I'm getting 56 FPS 95% of the time my UPS is also 56 95% of the time? my cpu is 20% and gpu is 13% Numbers are the same even in a 60 hour save.

Re: [0.18.3] Can't reach 95% 60 FPS

Posted: Sun Feb 09, 2020 12:22 pm
by Honktown
FireCulex wrote:
Sun Feb 09, 2020 12:59 am
My understanding is FPS and UPS are in lockstep. If I'm getting 56 FPS 95% of the time my UPS is also 56 95% of the time? my cpu is 20% and gpu is 13% Numbers are the same even in a 60 hour save.
Fps should be equal to or lower than UPS - there's no point in more frames if nothing happened, and you can drop gpu frames if the game can keep humming along on the cpu.