Very High GPU usage in Not Demanding Game

I have made a simple 3D endless falling game that should not require a lot of graphics power and runs well on low end CPUs but in editor and after packaging the game it uses 50% of my GTX 1060 6gb OC gpu, I know how to improve the fps a bit but there is this thing called HZB SetupMips Mips:1 …9 512x512 that uses the GPU way too much. Usually on the GPU Profiler it shows that it takes around 6-10ms and even once was at 22ms while the rest of the total is usually 8ms. Could somebody please explain why it takes so much processing power and how to disable it?

Hi Rolandem,

you should try the console command r.HZBOcclusion=0, if it fixes the GPU usage you could add these lignes to your DefaultEngine.ini

[SystemSettings]
r.HZBOcclusion=0

The command does not change anything :confused: the setting still kills the GPU, sometimes even 27+ms … only way to avoid the low fps is by playing the game at 240p :confused:

I dont know when it changed but now Mips:1 …8 256x256 is using all the gpu but the 512x512 is at 0.01ms :confused:

212801-asdasdasdasdasd.png

It seems to be a known issue of it, and also there is a ticket open for it, but one thing I’ve noticied is that this problem might not happens on cooked version, can you test it?

I have tried packaging it to windows 32 and 64 bit with different setting like the setting that optimizes the blueprint code and also have tried packaging a development and shipping version but all the same :confused: A interesting thing to note though is that on android the game seems to run well.

I have also turned off ambient occulusion and taa (Or it was called txaa maybe) as aparently the setting does some depth calculations for screen space occulusion :confused:
but the same problem persists. I will need to check out my other projects with ProfileGPU as duplicating and upgrading the ue version on my main project have not fixed the bad fps. epic games really need to fix this, can not release a game that runs below 30fps on gaming pcs that should get 300+ fps.

My 4.15 and 4.14 projects have the same problem except for a 4.10 project which basically has the same problem but the SetupMips is replaced by Ambien Occlusion

After finding a forum where people suggested to use these commands:
r.SSR 0
r.HZBOcclusion 0
r.SSR.quality 0
r.AmbientOcclusionLevels 0
The ProfileGPU shows that the map’s ligh source 0 is using up the time that the HZB setupmips was using :confused:

wow it even went up to 38ms … woow please if someone knows how to fix this or what it is at least please tell me i am desperate, though weirdly the gpu gets used about 35-40% instead of 55-60% but still performance should be way better

After playing around with the Sun Lightsource and Skylight settings (in the end leaving them as they were) now for some reason this was happening

Then after setting the commands all to 1 (r.SSR 0 r.HZBOcclusion 0 r.SSR.quality 0 r.AmbientOcclusionLevels 0) for some reason the particle system is eating up the GPU although i have like 3-4 really basic particles in the scene

After setting the commands to 0 again (they are called every time when level starts so I dont know why they did not work after playing around with the lights) the BasePass → Static EBasePassDrawListType=0 is taking up 20ms again