Hi,
Recently, I'm going to compare the performance of hardware rendering and software rendering so I need to disable gpu to enable software rendering. The config file named "egl.cfg" manages libs used to render. I modified the config file (0 1 mali -> 0 0 android). Unfortunately, system UI has stopped. There's nothing on screen but a dialog(writing "system UI has stopped"). I dump the logcat. Here are part of logcat. system version: android 4.1.2. board:odroid-u3.
D/libEGL ( 1779): loaded /system/lib/egl/libGLES_android.so
D/AndroidRuntime( 1779): Shutting down VM
W/dalvikvm( 1779): threadid=1: thread exiting with uncaught exception (group=0x415cb300)
E/AndroidRuntime( 1779): FATAL EXCEPTION: main
E/AndroidRuntime( 1779): java.lang.RuntimeException: eglConfig not initialized
E/AndroidRuntime( 1779): at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:811)
E/AndroidRuntime( 1779): at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:747)
E/AndroidRuntime( 1779): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1507)
It seems that eglConfig fail to initialize. Why and how can I solve it?
thank you !
Hi seufanghao,
In order to recover your system, you should be able to simply change egl.cfg back to being "0 0 mali".
If you are unable to make this change, then you will need to do a factory reset and flash a known working system.img.
Hope this helps,
Kind Regards,
Michael McGeagh
Hi, mcgeagh,
Yes, I can change egl.cfg back to "0 0 mali". What does "0 0 mali" mean? software rendering? I know "0 0 android" means software rendering.
Actually, I'm wondering how to enable software rendering. As I mentioned before, I change egl.cfg to "0 0 android" but system UI doesn't work. So how can I enable software rendering along with system UI started?
Hi seufanghao
As I have already stated here: How to disable GPU hardware accelerate?
You cannot. Android does not support software rendering and requires a GPU to run.
If you want to modify Android to do software rendering, we cannot help here as it has nothing to do with Mali, nor ARM. Please contact Google directly for support with that.