[0.17.31] [modded] huge UPS drop when holding a blueprint.
Posted: Fri Jun 07, 2019 1:20 am
I've been playing on a server (that's been slow to update) everything's been going great until last week. Now (or at least it has only become bad enough now) whenever any player picks up a blueprint to place into the world every connected player has their FPS tank from 60 to 5fps. It becomes nearly impossible to restore everything to normal without pausing the game for clients to catch up again before unpausing. Upon investigation over several days the issue seems to be related (from my limited view) to 60844. The "render preparation" goes from <1-4ms all the way up to ~40ms instantly. I've tried updating factorio to 0.17.45 and updating all mods but the issue still persists. It might have something to do with the fact that the blueprints (i honestly have no idea, really, but it is my best guess) all "create" about 3k+ core/cursor-boxes.png sprites at a minimum when holding the blueprint for placement while the biggest offenders tend to create 13k+ of the core/cursor-boxes.png sprite. These blueprint aren't even that big, imo, to be creating so many instances of that sprite.
In MP this spike in "render prep" makes fps drop to 5fps. This, as we know, is because the client is trying the best it can to keep up with the server's 60ups.
Then in SP this make my ups drop to 20-32 depending on the BP and fps follows suit because fps is always less-than-or-equal to UPS.
Attached or linked is:
A perf log from the debug menu showing before holding a bp then holding a bp for about 2 seconds each.
220MB zip file of mods used on the server. https://drive.google.com/file/d/1TyxpsM ... sp=sharing
21MB save from the server. https://drive.google.com/file/d/1dD1K97 ... sp=sharing
time-usage screenshot
gpu-usage screenshot
blueprint shown in the screenshots is the worst offender for this issue that i've found. Let me know of any other info you might need or want and I'll do my best to provide it. I know support for modded is limited but I'm thinking and hoping this is also a vanilla issue too.
In MP this spike in "render prep" makes fps drop to 5fps. This, as we know, is because the client is trying the best it can to keep up with the server's 60ups.
Then in SP this make my ups drop to 20-32 depending on the BP and fps follows suit because fps is always less-than-or-equal to UPS.
Attached or linked is:
A perf log from the debug menu showing before holding a bp then holding a bp for about 2 seconds each.
220MB zip file of mods used on the server. https://drive.google.com/file/d/1TyxpsM ... sp=sharing
21MB save from the server. https://drive.google.com/file/d/1dD1K97 ... sp=sharing
time-usage screenshot
gpu-usage screenshot
blueprint shown in the screenshots is the worst offender for this issue that i've found. Let me know of any other info you might need or want and I'll do my best to provide it. I know support for modded is limited but I'm thinking and hoping this is also a vanilla issue too.