[Rseding] [2.0.21] 'Show pipelines' in map mode decreases performance
Posted: Tue Nov 26, 2024 8:07 pm
Problem
On a reasonable large map on Nauvis the FPS drops significantly when turning on the 'show pipelines' option in map mode when completely zoomed out. We have 23k pipes and 11k underground pipes.
Steps to reproduce
1. Open the attached save game
2. Open the map-view on Nauvis
3. Zoom out until you see the entire discovered area
4. Enable the 'show pipelines' option
5. See that the FPS takes a big hit
Since
We first noticed this after the update to `2.0.21`. Before that we did not have any problems.
Lay man's analysis
In that scenario, looking at the `show-gpu-time-usage` I see that normally the GPU spends on average 1.1ms on `Game render preparation`. But with the 'show pipelines' option on this number jumps to to 7.5ms. I don't see a significant increase in the number of sprites (13590->13600) but I doo see that the 'Calls :G' jumps from 12 to 31.
Attachments
To not just have to rely on own analysis I've added two screenshots that show all the gpu timings with and without the 'show pipeline' options enabled as well as our save game.
On a reasonable large map on Nauvis the FPS drops significantly when turning on the 'show pipelines' option in map mode when completely zoomed out. We have 23k pipes and 11k underground pipes.
Steps to reproduce
1. Open the attached save game
2. Open the map-view on Nauvis
3. Zoom out until you see the entire discovered area
4. Enable the 'show pipelines' option
5. See that the FPS takes a big hit
Since
We first noticed this after the update to `2.0.21`. Before that we did not have any problems.
Lay man's analysis
In that scenario, looking at the `show-gpu-time-usage` I see that normally the GPU spends on average 1.1ms on `Game render preparation`. But with the 'show pipelines' option on this number jumps to to 7.5ms. I don't see a significant increase in the number of sprites (13590->13600) but I doo see that the 'Calls :G' jumps from 12 to 31.
Attachments
To not just have to rely on own analysis I've added two screenshots that show all the gpu timings with and without the 'show pipeline' options enabled as well as our save game.