Page 1 of 1

[16.7] Resource patch info slows down zoom-in-map

Posted: Thu Dec 21, 2017 8:26 pm
by Mylon
When zooming in to the zoom-to-map view, mousing over ore will still calculate resource patch info, even if it's not shown. This can cause slowdown in specific cases, like in this map.

To recreate:
Load the attached save game.
Open map.
Zoom in enough to see individual entities.
Mouse over ore.
Observe low FPS.

Re: [16.7] Resource patch info slows down zoom-in-map

Posted: Fri Dec 22, 2017 2:14 am
by yfcz
I'm attaching video to see FPS drop due to mentioned problem.
(FPS drop occurs when mouse is hovering over large mixed resource patch on map.)

Basically anyone on the server confirmed that he had same issues.
It seems to me that performance drop is on client side only.

My HW specs:
CPU Intel Core i5-4570S
GPU NVIDIA GTX 960
16 GB of main memory

Re: [16.7] Resource patch info slows down zoom-in-map

Posted: Fri Dec 22, 2017 11:41 am
by serdyn321
I too am having this problem in single player after the new update.

when zooming out my FPS drops from a solid 60FPS to about 15. after zooming back in FPS hovers at a solid 60 again.
I was not having this issue in 16.6, game ran like a dream yesterday.

my HW specs:
CPU: AMD FX 6300
GPU: NVIDIA GTX 970
16 GB of Ram

Re: [16.7] Resource patch info slows down zoom-in-map

Posted: Sun Dec 24, 2017 2:39 pm
by posila
Thanks for the report.
I improved performance of resource patch info for huge patches for 0.16.8.
However in scenario like yours, the feature seem useless to me, so if we added a way to disable resource patch info from scenario script, would you use it?

@serdyn321: your issue is much more similar to this one: 54560

Re: [16.7] Resource patch info slows down zoom-in-map

Posted: Sun Dec 24, 2017 7:49 pm
by Mylon
Yes, I would use this feature.

Re: [16.7] Resource patch info slows down zoom-in-map

Posted: Mon Dec 25, 2017 8:43 pm
by Mylon
Note: Mining drill circuit mode: read entire resource patch" also causes dismal performance. Maybe that could also be limited or disabled?

Re: [16.7] Resource patch info slows down zoom-in-map

Posted: Mon Dec 25, 2017 8:46 pm
by Rseding91
Mylon wrote:Note: Mining drill circuit mode: read entire resource patch" also causes dismal performance. Maybe that could also be limited or disabled?
That's already optimized, simply don't use it if you're having performance problems :P

Re: [16.7] Resource patch info slows down zoom-in-map

Posted: Mon Dec 25, 2017 11:23 pm
by Mylon
Easier said than done in a multiplayer game.

The only related permission is to deny all players the ability to change all circuit modes.