[0.10.6] Large number of roboports causes overlay to lag

This subforum contains all the issues which we already resolved.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15896
Joined: Wed Jun 11, 2014 5:23 am
Contact:

[0.10.6] Large number of roboports causes overlay to lag

Post by Rseding91 »

I've got a large number of roboports in my main savegame (30+) and when I mouse over one of them while moderately zoomed out it drops the FPS/TPS from a solid 60 to 24~.

It's not a game-ending issue but if something could be done about it that would be great. I'll often be running through my base and the mouse runs over one of the roboports slowing it way down until I pass it.

Savegame: https://www.dropbox.com/s/pqmkqpk5zj5hca2/Mods-b.zip
Mods used: https://www.dropbox.com/s/bxg8sbao1vmxskc/mods.zip
If you want to get ahold of me I'm almost always on Discord.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.10.6] Large number of roboports causes overlay to lag

Post by kovarex »

We have a plan to solve it (the game wouldn't draw all connections, that is n^2 of lines in some cases, but it would make triangulation of it instead)
Rseding91
Factorio Staff
Factorio Staff
Posts: 15896
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.10.6] Large number of roboports causes overlay to lag

Post by Rseding91 »

kovarex wrote:We have a plan to solve it (the game wouldn't draw all connections, that is n^2 of lines in some cases, but it would make triangulation of it instead)

Sweet :) looking forward to it.
If you want to get ahold of me I'm almost always on Discord.
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.10.6] Large number of roboports causes overlay to lag

Post by slpwnd »

As kovarex mentioned this is something that is relatively high on our TODO list. Therefore putting this to known issues.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15896
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.10.6] Large number of roboports causes overlay to lag

Post by Rseding91 »

After looking into this more it's a 3 fold problem:
  • The connections drawn between roboports
  • The orange radius indication around roboports
  • The blue selection of logistics containers within the logistics network
Removing any one of those from the render process and performance increases by 1/3rd. Removing a second and it goes up to 2/3rds. Removing all 3 and there's no slowdown (obviously). So, it's not just the lines drawn between the roboports.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”