Variered Android Perforcement

Previous topic - Next topic

spacefractal

Today I still seen some slow perforcement on example HTC One my own HP Touchpad. Howover something strange, if I set CPU Perforcement to Perfocement under settings, then my game seen to run pretty nice 25fps in medium graphics (LIMITFPS 25) setting and around 28fps with graphics setting (LIMITFPS 30). Sometimes a nice boost. Before its laggede around 18-20fps.

So I think many of those android perforcement issues could been too aggresive battery saver and cpu clocked up/down while playing? Is its a way to force it to performcent max which is important in some games, so CPU speed dosent jump up and down?

Have other have similar issue?

PS. If I update SDK using android.bat, then I got a xcode error. Would been nice to choice a SDK to use.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

in SDLActivity.java, you should try to comment those lines out:

egl.eglWaitNative(EGL10.EGL_NATIVE_RENDERABLE, null);
egl.eglSwapBuffers(mEGLDisplay, mEGLSurface);


(as well Log lines). Here I got the game to run with excellent 30fps with few frameskips (timing issue, my guess), before its was choopy 20fps (game is limit to 30fps on Android, so its pretty nice).

I guess those two lines might conflict with LIMITFPS timing command, so its might have waited more than excepted (or what does those commansd really)?

PS. Its also might help to force 2d acceleration when possible.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/