Page 1 of 1

[posila] [for 0.17] [0.15.2] Low fps when game window is active (caused by NVIDIA G-Sync)

Posted: Thu Apr 27, 2017 12:58 pm
by Bart
I started a game in 0.14. Link: http://lingen.nu/lowfps.zip

When I open the game in 0.15.2, the framerate is very low, but the problem isn't low ups. I know this because I have a dual screen setup. When I'm typing this, the Chrome-windows is active, and Factorio is running at 60fps on my other monitor. When I go back to the game, it slows down to 20fps. Screenshots:

Image
In the above picture, Chrome is active.

Image
In this picture, the game is active. Why is the fps so low? It was way better in 0.14.

Re: [0.15.2] low fps when game window is active

Posted: Thu Apr 27, 2017 1:18 pm
by posila
Hi, try to disable G-sync for windowed applications (or just for Factorio). For some reason, g-sync behaves like this with Factorio sometimes.

Re: [0.15.2][posila] low fps when game window is active

Posted: Thu Apr 27, 2017 1:26 pm
by Bart
That fixed the problem, thnx!

For other people with the same problem, this is the way to go:
Image

Re: [0.15.2][posila] Low fps when game window is active (caused by NVIDIA G-Sync)

Posted: Wed May 03, 2017 7:52 pm
by exi123
Anyone else struggeling with this behaviour in factorio without a multimonitor setup? i have massive perfomance issues with jumping fps and i dont know why. the ups are on 60, but the fps are jumping from 30-55... :(

Re: [0.15.2][posila] Low fps when game window is active (caused by NVIDIA G-Sync)

Posted: Sun May 07, 2017 3:13 pm
by Harkonnen
I have noticed that DirectX applications are dropping to 20fps when you switch windows with Win-Tab (that is when they are shown as slides in 3D). So I think this problem is caused by Windows treating Factorio as background app when it's actually foreground.

Re: [posila] [for 0.17] [0.15.2] Low fps when game window is active (caused by NVIDIA G-Sync)

Posted: Mon May 21, 2018 3:59 pm
by posila
Hello, we are rewriting our rendering code to use DirectX 11 instead of DirectX 9 for 0.17, so let me know if it still happens in 0.17