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

This subforum contains all the issues which we already resolved.
User avatar
Bart
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Tue Jan 13, 2015 8:56 pm
Contact:

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

Post 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.
I have the cape.
I make the fucking whoosh noises.
posila
Factorio Staff
Factorio Staff
Posts: 5387
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

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

Post 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.
User avatar
Bart
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Tue Jan 13, 2015 8:56 pm
Contact:

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

Post by Bart »

That fixed the problem, thnx!

For other people with the same problem, this is the way to go:
Image
I have the cape.
I make the fucking whoosh noises.
exi123
Inserter
Inserter
Posts: 32
Joined: Fri Jul 08, 2016 9:27 am
Contact:

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

Post 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... :(
Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

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

Post 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.
posila
Factorio Staff
Factorio Staff
Posts: 5387
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

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

Post 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
Post Reply

Return to “Resolved Problems and Bugs”