jPCT-AE - a 3d engine for Android > Support

Sometimes my game suddenly gets a heavy fps dropping.

(1/1)

kiffa:
My game runs in 55+ fps normally, but sometimes could suddenly drop to 10- fps, and  resume to normal(55+fps) after several seconds(8 - 20s).

First I doubt other processes kill too many cpu load, but when the fps-dropping occur, I watched the total usage of cpu with android's tool(system information), seems the cpu load is normal(without a suddenly increase, and there is enough idle load).

Then I doubt the GC and incorrect Thread.Sleep() in game loop(there is a mechanism to limit the fps to save power). But I have not check this due to the hard reappearing.

All above is about cpu, my question is:

Is there any issue with gpu(code\driver) could result in this problem? Please give your options, I will check them, thanks.

EgonOlsen:
It might be the device throttling because it's getting too hot. Most modern devices do this. You can test this by using your device/app in the cold and see if that fixes the lags.

kiffa:
This may be the reason, I will check it, thanks!

Navigation

[0] Message Index

Go to full version