Page 1 of 1

[0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 4:55 pm
by Martinowitsch
Hello Factorio Team, my last Bug Report posting was an long time ago, as with your new Bug reports you did patch my found bugs before i could report them.

Now I think I found something witch isn't a regular Bug, but witch does influence the performance.
In recent weeks I played frequently on Multiplayer Servers and in the temporal course of the respective Map i noticed regularly a drop in the FPS, especially when I was going around in areas that are heavily contaminated with smog.
As this Area will become bigger the longer an Map was played I found my FPS drop constant to lower than 20 FPS.

Yes I know my computer system isn't the best possible variant, but if in one Map in an Smogfree Area my FPS is 60 and in the same Map at the heaviest Smogarea the FPS is <20 than there should be an connection.
I was able to verify it by simply walking around. In areas without structures(player builds and trees), but with high levels of smog, the FPS drop was similar to an area with many structures and high smog. Also in areas without Smog and many structures my FPS was >59.
To be sure I have safed one very big Multiplayermap localy and have shut down most sources for Smog and have waited until the Smog was mostly gone. Initialy in the heaviest Smogareas I found an FPS drop lower than 5, but with the Smog mostly gone I could go everywhere and experienced no significant FPS drop.

I hope I could explain this understandably.

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 5:44 pm
by Zavian
In order to give the devs a better chance of working out why you are experiencing frame rate drops, post the information requested in viewtopic.php?f=7&t=51319 from a session with the frame rate drops. (A save game might also be useful).

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 6:59 pm
by Martinowitsch
What exactly you need?

UPS is regularly 60, excempt in very big maps like one MAP with >30MB per Safe
FPS i found an range from 60 to 20 (one time as low as 2)

Actually, I play regularly on the Multiplayerserver "www.Deutsche-Backstube.de RailWorld"
This Server was restart one Week ago and in the Map before (I have some Safegames from this about 30 Mb)

Some minutes ago I made some Screenshots of above named actual Multiplayer game

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 7:27 pm
by Loewchen
Nothing here suggests a bug, if there is lots of stuff to render the render time increases, your graphic solution is generally the limiting factor.

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 7:43 pm
by Martinowitsch
Martinowitsch wrote:Hello Factorio Team, my last Bug Report posting was an long time ago, as with your new Bug reports you did patch my found bugs before i could report them.

Now I think I found something witch isn't a regular Bug, but witch does influence the performance.
...
It isn't a bug I want to report, more likely an performance Issue.

I think this "Smog" make some strange effects which cause this FPS drops. In the normal Top view this Smog isn't shown, but nonetheless the FPS drops down the more the Worldmap indicate.

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 8:21 pm
by thedarkbunny
Sounds like it's more the amount of things on screen than the smog itself causing a problem. Should be easy to verify:

- Load a map where you experience the issue
- Run the following command to disable pollution:

Code: Select all

/c for _, surface in pairs(game.surfaces) do
  surface.clear_pollution()
end
game.map_settings.pollution.enabled = false
- Does the framerate increase?

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 9:30 pm
by Martinowitsch
I used this command in a singleplayer safegame and after alle new loads and also the above mentioned Multiplayer game gave 60 FPS

does this command does any more than clear the actuall game?

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Fri Aug 10, 2018 9:56 pm
by thedarkbunny
The command removes all pollution currently on the map and disables all pollution calculations.

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Sat Aug 11, 2018 6:08 am
by posila
The rendering performance will be better in 0.17

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Sat Aug 11, 2018 9:11 am
by Martinowitsch
good morning

I tried this renew in my biggest older gamesafe (+40MB) where I had an FPS and UPS of ~13 and could work both up to 29-31.
After setting "/c game.map_settings.pollution.enabled = true" it goes down to about 24-26 FPS & UPS and over more time it would go down more and more.

There seems definitive some clutter from this pollution. If you say there will be a better solution for v17 I am satisfied and wish you all an nice weekend.

Re: [0.16.51] FPS drop in heavy Smog Areas

Posted: Mon Aug 20, 2018 6:51 pm
by BlueTemplar
Sorry if a bit late, but if I'm not mistaken this mod fixes this issue?
https://mods.factorio.com/mod/Senpais_Smokeless
(though smoke != pollution ??)