- /e/ version: e-0.18-p
- Device model(s): GT-N8000, GT-N8010, GT-N8020, GT-N5100, GT-N5110, GT-N5120, I9300, I9305, I9100, ...
- Device rooted: yes/no
Summary
Some exynos4 devices explicit need to disable the colorfade feature, otherwise the fadeoff animation will be shown very buggy with graphical artefacts and it could run out of memory, you just will recognize it when you try to wake up the device.
The problem
Switch the device to sleep and you will see the buggy colorfade,
sometimes it will crash, but you only will recognize it when you try to wake the device up again.
Steps to reproduce
What is the current behavior?
Buggy fade off animation in portrait mode.
What is the expected correct behavior?
No graphical artefacts.
Technical informations
Relevant logs (adb logcat
)
07-14 21:30:30.812 +0000 0 0 W c0 UMP : ERR: ../../../../../../kernel/samsung/smdk4412/drivers/gpu/mali400/r3p2/ump/linux/ump_ukk_wrappers.c
07-14 21:30:30.812 +0000 0 0 W : c0 ump_size_get_wrapper() 125
07-14 21:30:30.812 +0000 0 0 W : c0 _ump_ukk_size_get() failed in ump_ioctl_size_get()
07-14 21:30:30.812 +0000 0 0 W : c0
07-14 21:30:30.812 +0000 2386 2425 E gralloc : gralloc_register_buffer Failed to create UMP handle
07-14 21:30:30.812 +0000 2386 2425 E Gralloc1On0Adapter: gralloc0 register failed: -22
07-14 21:30:30.813 +0000 2386 2425 W GraphicBufferMapper: importBuffer(0x7f6618c0) failed: 5
07-14 21:30:30.813 +0000 2386 2425 E GraphicBuffer: unflatten: registerBuffer failed: Unknown error -5 (5)
07-14 21:30:30.814 +0000 2386 2425 E system_server: egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x0)
07-14 21:30:30.822 +0000 2386 2425 E system_server: error creating EGLImage: 0x3003
07-14 21:30:30.822 +0000 2386 2425 E system_server: Failed to create image. size=0x0 st=0 usage=0 fmt=0
07-14 21:30:30.823 +0000 2386 2425 W system_server: [SurfaceTexture-1-2386-12] updateAndRelease: unable to createImage on display=0x1 slot=0
07-14 21:30:30.896 +0000 2386 2425 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: PowerManagerService
07-14 21:30:30.896 +0000 2386 2425 E AndroidRuntime: java.lang.RuntimeException: Error during updateTexImage (see logcat for details)
07-14 21:30:30.896 +0000 2386 2425 E AndroidRuntime: at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
07-14 21:30:30.896 +0000 2386 2425 E AndroidRuntime: at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:248)
07-14 21:30:30.896 +0000 2386 2425 E AndroidRuntime: at com.android.server.display.ColorFade.captureScreenshotTextureAndSetViewport(ColorFade.java:503)
Relevant screenshots
Solutions
Let these devices disable the colorfade feature.
e/os/android_frameworks_base!105 (merged)
Workaround
Possible fixes