Page 1 of 1
[15.32] Uranium Ore causes bad Framerate
Posted: Thu Aug 03, 2017 8:53 pm
by Algo-ryth-mix
Whenever my Player gets near to a Patch of Uranium Ore the Framerate drops severely (noticeably under 60, between 20 and 15). I only experience this with Uranium Ore. My Pc should be able to handle such a load pretty easily. (Ryzen7 1800x@3.85GHz 16Gb Ram & Gtx1070HOF 8Gb VDDR5).
I noticed that some people have reported bad frame rate in 0.15 but I didn't find one that was so specific.
Attached are some images with screenshots &the log & the save:
Here you can see the bad framerate & all my settings
- Screenshot (4).png (3.87 MiB) Viewed 7174 times
Framerate way better same scenario
- Screenshot (5).png (3.69 MiB) Viewed 7174 times
(edit: my nvidia driver is 384.94 btw)
Re: [15.32] Uranium Ore causes bad Framerate
Posted: Thu Aug 03, 2017 9:07 pm
by posila
Can you try if changing "Lights render resoltion" to minimum (0.25 I think) improves the FPS?
Re: [15.32] Uranium Ore causes bad Framerate
Posted: Thu Aug 03, 2017 9:33 pm
by Algo-ryth-mix
changing this to 0.25 does nothing
- Screenshot (6).png (3.71 MiB) Viewed 7164 times
Re: [15.32] Uranium Ore causes bad Framerate
Posted: Thu Aug 03, 2017 10:22 pm
by Algo-ryth-mix
Note that this also happens when using the Map + Radar View
Re: [15.32] Uranium Ore causes bad Framerate
Posted: Mon Aug 07, 2017 10:40 am
by posila
Thanks for the screenshots with debug info. I think I fixed it for 0.15.33.
Re: [15.32] Uranium Ore causes bad Framerate
Posted: Wed Aug 09, 2017 9:10 pm
by orzelek
Out of curiosity - what was the culprit here?
Re: [15.32] Uranium Ore causes bad Framerate
Posted: Thu Aug 10, 2017 9:12 am
by posila
On the screenshots I noticed big increase in draw calls (from 239 without uranium ore, to 2067 with uranium). We render draw glow layer over the ore. I move rendering of the glow to higher layer, so it doesn't break batching if uranium ore sprite and the glow sprite don't fall into the same sprite atlas.
Note: I saw the increase in draw call count on my computer too, but didn't experience any FPS drops. I have GTX 750Ti.
Re: [15.32] Uranium Ore causes bad Framerate
Posted: Sat Aug 12, 2017 8:18 pm
by Algo-ryth-mix
I can confirm that Version 0.15.33 fixes this issue, gliding over uranium ore is now buttery smooth