Page 1 of 1

[0.17.69] FPS Problems with many sprites on screen under Linux

Posted: Sun Sep 22, 2019 2:09 pm
by peet1993
Hi,

I have problems under Linux with FPS when there is a lot if stuff going on on screen. When I zoom out, FPS tanks in Multiplayer but UPS stays the same. In Singleplayer, both go down alongside as seen in the screenshot. When I zoom fully in, everything is fine. I find it confusing because
1) The Update Time is at 13ms, so it should be able to run 60 UPS. But that might be an averaging problem of the debug stuff, no idea
2) The rendering is "Waiting for Updates" so might really be a problem with low UPS.
3) My GPU is not doing really much and the simulation thread is also only at 60% utilization.

As you can see, I even increased priority of the factorio process which didn't help.

Log of zoomed-in screenshot:
factorio-previous.log
(4.61 KiB) Downloaded 77 times
Log of zoomed-out screenshot:
factorio-previous.log
(4.75 KiB) Downloaded 79 times

Re: [0.17.69] FPS Problems with many sprites on screen under Linux

Posted: Sun Sep 22, 2019 2:39 pm
by peet1993
Some more information:

I got an 6600k 16GB of 2667MHz RAM and a GTX 1060. Driver is the Nvidia binary blob 430.40.
I tested the same under Windows 10 1809, Driver version 436.30. The same thing happens there.
I get the impression that my PC just can't keep up with the save and I'm understanding something wrong :D

Re: [0.17.69] FPS Problems with many sprites on screen under Linux

Posted: Sun Sep 22, 2019 3:46 pm
by peet1993
Even more info:

I was suspicious and tried to profile what is happening.
Seems like my system is brutally memory bound (what a surprise in factorio :D), it seems most time is taken by rendering.

Totally me guessing stuff about code I don't know anything about:
I'd guess that that is the renderer so its probably just a performance "issue" with the render preparation and my system really just can't keep up. This leads to dropping FPS in MP to not get behind the server in terms of updates.

I'll leave the info here as it might help you in some way but I don't think its reasonable to expect any help with that "problem" :D
Also, the savegame is uploaded here (didn't get attached in the original post because too large): https://www.dropbox.com/s/2kv0las9xmzro ... 2.zip?dl=0