Page 1 of 1

[Genhis][2.0.25] Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 4:13 am
by Guenni7
Since one of the last updates I get huge UPS drops whenever I build roboports manually.
I verified on some of my older maps/saves and it's not depending on the map.
Just load a save big enough to have UPS a bit below 60 and try to build/place roboports by hand, you can watch the UPS going down immediately.
It doesn't matter where you do it, inside a base, far away from anything, always the same.
If you place a blueprint with only one roboport in it, it doesn't show this problem.

Re: Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 4:22 am
by Guenni7
Why was my post moved from bugs to technical help?

Does a UPS drop from 50 to 15 for just holding a roboport in hand not quallify as a bug?

Re: Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 5:08 am
by Jap2.0
Can you post screenshots with the debug option show-time-usage (see 68653) enabled both when the issue is not occurring and when it is? A log file might also be useful.

Re: Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 6:52 am
by Guenni7
Sure, here it comes.
pics
factorio-current.log
(15.4 KiB) Downloaded 13 times

Re: Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 5:37 pm
by Jap2.0
Looks like you also found 122121, which looks similar but I don't think is related. Most of your time is spent in gui-render-preparation (45ms, which is... a lot). A screenshot of the issue with show-gpu-time-usage may or may not be useful. A save also may or may not be useful.

----

Addendum: I've seen much smaller performance issues left in bug reports, not entirely sure why this was moved to technical help. (Nor can I tell if it was done so by a mod or dev.)

Re: Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 7:20 pm
by posila
Jap2.0 wrote: Sat Dec 14, 2024 5:37 pm Looks like you also found 122121, which looks similar but I don't think is related. Most of your time is spent in gui-render-preparation (45ms, which is... a lot).
I agree. Moving back to bug reports. I believe it is related to fix for 117994

Re: Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 7:25 pm
by posila
Guenni7 wrote: Sat Dec 14, 2024 6:52 am Sure, here it comes.
Thank you for the log. Can you also upload your save, please?

Re: Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 8:48 pm
by Guenni7
posila wrote: Sat Dec 14, 2024 7:25 pm Thank you for the log. Can you also upload your save, please?
Unfortunately I get a http-error when I try to upload the 79MB file.

But as I wrote in first comment, the bug is not map-related, I tried several old maps and the roboport shows the same behaviour.

Re: [Genhis][2.0.25] Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 9:20 pm
by Loewchen
See 3638 for how to provide the save.

Re: [Genhis][2.0.25] Huge UPS drop when building roboports

Posted: Sat Dec 14, 2024 9:40 pm
by Guenni7
Loewchen wrote: Sat Dec 14, 2024 9:20 pm See 3638 for how to provide the save.
https://drive.google.com/file/d/1f1EBRB ... drive_link

Re: Huge UPS drop when building roboports

Posted: Mon Dec 16, 2024 12:52 am
by Guenni7
Jap2.0 wrote: Sat Dec 14, 2024 5:37 pm Looks like you also found 122121, which looks similar but I don't think is related. Most of your time is spent in gui-render-preparation (45ms, which is... a lot). A screenshot of the issue with show-gpu-time-usage may or may not be useful. A save also may or may not be useful.

----

Addendum: I've seen much smaller performance issues left in bug reports, not entirely sure why this was moved to technical help. (Nor can I tell if it was done so by a mod or dev.)
Somehow I overlooked the gpu-time request you made :)

Re: Huge UPS drop when building roboports

Posted: Mon Dec 16, 2024 8:25 am
by posila
Guenni7 wrote: Mon Dec 16, 2024 12:52 am Somehow I overlooked the gpu-time request you made :)
Thanks, using your save we are able to see similar slow down as you do. Genhis is looking into it.

Re: [Genhis][2.0.25] Huge UPS drop when building roboports

Posted: Mon Dec 16, 2024 1:33 pm
by Genhis
Thanks for the report, this is fixed for the next release. I forgot to divide radius by 32, so the radar minimap visualization logic traversed a lot more chunks than necessary.