Hi,everyone,
I met one problem about imx6sl GPU:
I want to call the hardware rendering to increase the refresh speed,so,I set
USE_OPENGL_RENDERER as true(default is false) in file "device/fsl/imx6/soc/imx6sl.mk":
then recompiled the whole android system.
After upgraded the firmware,the devices cannot bootup,instead of,it shows below errors:
E/AndroidRuntime( 2417): FATAL EXCEPTION: main
E/AndroidRuntime( 2417): Process: com.android.launcher, PID: 2417
E/AndroidRuntime( 2417): java.lang.RuntimeException: eglConfig not initialized
E/AndroidRuntime( 2417): at android.view.HardwareRenderer$GlRenderer.loadEglConfig(HardwareRenderer.java:1142)
E/AndroidRuntime( 2417): at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:1117)
E/AndroidRuntime( 2417): at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:1057)
E/AndroidRuntime( 2417): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1731)
E/AndroidRuntime( 2417): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1181)
E/AndroidRuntime( 2417): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5906)
E/AndroidRuntime( 2417): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
E/AndroidRuntime( 2417): at android.view.Choreographer.doCallbacks(Choreographer.java:574)
E/AndroidRuntime( 2417): at android.view.Choreographer.doFrame(Choreographer.java:544)
E/AndroidRuntime( 2417): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
E/AndroidRuntime( 2417): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 2417): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 2417): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2417): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime( 2417): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2417): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2417): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
E/AndroidRuntime( 2417): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
E/AndroidRuntime( 2417): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2260): Force finishing activity com.android.launcher/com.android.launcher2.Launcher
(for more informations,please see the attachment file:imx6sl_gpu_error.log )
Does everyone know why? how to solve it?
Thanks very much!
BTW,
1.My BSP version is:
android4.4.2(android_kk4.4.2_1.0.0-ga_core_source.gz+android_kk4.4.2_1.0.0-ga_epdc-patch.zip),it is support the E-ink.
2.The kernel version is:
Linux version 3.0.35
3.The CPU is:
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Freescale i.MX 6SoloLite EVK Board
[ 0.000000] Ignoring unrecognised tag 0x54410008
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] CPU identified as i.MX6SoloLite, silicon rev 1.2
Original Attachment has been moved to: imx6sl_gpu_error.log.zip
Hi wen,
It looks like a Launcher wallpaper issue, apparently engine does not realize that should be using OGL rendering. are you using the default android wallpaper? if not please try it with it.
Regards
Hi, Bio,
The app had hw acceleration attribute:
android:hardwareAccelerated="true"
so I think it was not the app problem,and the error was made from "HardwareRenderer.java".
Thanks very much!
BTW,
1.The attachment file is my app file;
2.About the "HardwareRenderer.java" file,we didn't make any changes.