[0.16.51] FPS drop in heavy Smog Areas

Bugs that are actually features.
Martinowitsch
Inserter
Inserter
Posts: 33
Joined: Fri Apr 28, 2017 12:02 am
Contact:

[0.16.51] FPS drop in heavy Smog Areas

Post 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.
Zavian
Smart Inserter
Smart Inserter
Posts: 1649
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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).
Martinowitsch
Inserter
Inserter
Posts: 33
Joined: Fri Apr 28, 2017 12:02 am
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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
Attachments
low Smog FPS ~49
low Smog FPS ~49
20180810202259_1.jpg (622.81 KiB) Viewed 4381 times
Multi Backstube 18-08-10 Sicherung.zip
Safegame
(18.34 MiB) Downloaded 107 times
factorio-current.log
current logfile
(134.64 KiB) Downloaded 117 times
Electric furnace Map
Electric furnace Map
20180810201028_1.jpg (494.18 KiB) Viewed 4381 times
Electric furnace FPS 20
Electric furnace FPS 20
20180810201019_1.jpg (1.12 MiB) Viewed 4381 times
higher Smog Map
higher Smog Map
20180810202331_1.jpg (456.02 KiB) Viewed 4381 times
higher Smog FPS 36
higher Smog FPS 36
20180810202329_1.jpg (933.71 KiB) Viewed 4381 times
low Smog FPS Map
low Smog FPS Map
20180810202305_1.jpg (436.54 KiB) Viewed 4381 times
low Smog FPS ~50
low Smog FPS ~50
20180810202245_1.jpg (434.13 KiB) Viewed 4381 times
Loewchen
Global Moderator
Global Moderator
Posts: 9279
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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.
Martinowitsch
Inserter
Inserter
Posts: 33
Joined: Fri Apr 28, 2017 12:02 am
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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.
thedarkbunny
Inserter
Inserter
Posts: 46
Joined: Mon Oct 23, 2017 10:46 pm
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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?
Martinowitsch
Inserter
Inserter
Posts: 33
Joined: Fri Apr 28, 2017 12:02 am
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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?
thedarkbunny
Inserter
Inserter
Posts: 46
Joined: Mon Oct 23, 2017 10:46 pm
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post by thedarkbunny »

The command removes all pollution currently on the map and disables all pollution calculations.
posila
Factorio Staff
Factorio Staff
Posts: 5362
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post by posila »

The rendering performance will be better in 0.17
Martinowitsch
Inserter
Inserter
Posts: 33
Joined: Fri Apr 28, 2017 12:02 am
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3197
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [0.16.51] FPS drop in heavy Smog Areas

Post 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 ??)
BobDiggity (mod-scenario-pack)
Post Reply

Return to “Not a bug”