Sometimes my game suddenly gets a heavy fps dropping.

Started by kiffa, December 10, 2013, 04:14:38 AM

Previous topic - Next topic

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