[Galaxy Note II, Galaxy S III Developer Discussion ] bizcuite:
Hi,

Thanks for your reply, but:

I have made a boot with my own Rom (R3p2 driver like everybody), this is the logcat:

08-17 09:46:40.719 2177 2177 I cm : Welcome to Android 6.0.1 / CyanogenMod-13.0-20160809-UNOFFICIAL-n7100
08-17 09:46:40.720 2123 2123 I perfprofd: random seed set to 1438291486
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:46:40.738 2094 2094 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.765 2109 2109 W linker : /system/bin/gpsd has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.833 2109 2109 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:40.892 2072 2072 E : Device driver API match
08-17 09:46:40.892 2072 2072 E : Device driver API version: 29
08-17 09:46:40.892 2072 2072 E : User space API version: 29
08-17 09:46:40.892 2072 2072 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:40.911 2072 2072 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:46:40.911 2072 2072 I gralloc : using (fd=14)
08-17 09:46:40.911 2072 2072 I gralloc : id = s3cfb
08-17 09:46:40.911 2072 2072 I gralloc : xres = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres = 1280 px
08-17 09:46:40.911 2072 2072 I gralloc : xres_virtual = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres_virtual = 2560 px
08-17 09:46:40.911 2072 2072 I gralloc : bpp = 32
08-17 09:46:40.911 2072 2072 I gralloc : r = 16:8
08-17 09:46:40.911 2072 2072 I gralloc : g = 8:8
08-17 09:46:40.911 2072 2072 I gralloc : b = 0:8
08-17 09:46:40.911 2072 2072 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : refresh rate = 58.00 Hz
08-17 09:46:40.925 2109 2109 I libdmitry: Nexus 10 GPS interposition library loaded. Your GPS should work in M now.
[COLOR="Red"][B]08-17 09:46:40.956 2072 2072 E HAL : load: module=/system/lib/hw/hwcomposer.default.so
08-17 09:46:40.956 2072 2072 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:46:40.956 2072 2072 E SurfaceFlinger: hwcomposer module not found
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGL information:[/B][/COLOR]
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: vendor : Android
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: version : 1.4 Android META-EGL
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: Client API: OpenGL_ES
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x60000014
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: OpenGL ES informations:
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: vendor : ARM
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: renderer : Mali-400 MP
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: version : OpenGL ES 2.0
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 4096
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 4096
08-17 09:46:40.959 2072 2072 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:40.963 2072 2072 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x41434df0
08-17 09:46:41.025 2072 2072 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 58.574417 ms
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: connect(fd11, ...) failed with errno = 111(Connection refused)
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: Couldn't connect to Logging service 127.0.0.1:6477. Waiting for server...
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperOpenClient_RILD
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterRequestCompleteHandler
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterUnsolicitedHandler id(12009), handler(0x40070bfd)
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterErrorCallback
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperConnect_RILD
08-17 09:46:41.173 2295 2295 I sysinit : Running /system/etc/init.d/90userinit
08-17 09:46:41.221 2311 2311 I sysinit : Running /system/etc/init.d/98netflix
08-17 09:46:41.332 2239 2335 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:41.337 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:41.365 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:41.393 2239 2335 E : Device driver API match
08-17 09:46:41.393 2239 2335 E : Device driver API version: 29
08-17 09:46:41.393 2239 2335 E : User space API version: 29
08-17 09:46:41.393 2239 2335 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:41.396 2239 2335 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:41.444 2239 2335 W BootAnimation: Unable to cache the animation
08-17 09:46:41.445 2239 2335 E BootAnimation: couldn't find audio_conf.txt

And now a boot with my r6p0 kernel:

08-17 09:39:51.241 2720 2720 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:39:51.252 2720 2720 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:39:51.256 2720 2720 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:39:51.261 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:39:51.291 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:39:51.310 1988 1988 W auditd : type=1325 audit(0.0:135): table=filter family=2 entries=11
08-17 09:39:51.328 2720 2720 W libEGL : eglInitialize(0x1) failed (EGL_BAD_ALLOC)
08-17 09:39:51.340 2720 2720 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:39:51.340 2720 2720 I gralloc : using (fd=12)
08-17 09:39:51.340 2720 2720 I gralloc : id = s3cfb
08-17 09:39:51.340 2720 2720 I gralloc : xres = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres = 1280 px
08-17 09:39:51.340 2720 2720 I gralloc : xres_virtual = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres_virtual = 2560 px
08-17 09:39:51.340 2720 2720 I gralloc : bpp = 32
08-17 09:39:51.340 2720 2720 I gralloc : r = 16:8
08-17 09:39:51.340 2720 2720 I gralloc : g = 8:8
08-17 09:39:51.340 2720 2720 I gralloc : b = 0:8
08-17 09:39:51.340 2720 2720 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : refresh rate = 58.00 Hz
[COLOR="red"][B]08-17 09:39:51.352 2720 2720 E HAL : load: module=/system/lib/hw/hwcomposer.exynos4.so
08-17 09:39:51.352 2720 2720 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:39:51.352 2720 2720 E SurfaceFlinger: hwcomposer module not found
08-17 09:39:51.354 2720 2720 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
08-17 09:39:51.354 2720 2720 F SurfaceFlinger: no suitable EGLConfig found, giving up[/B][/COLOR]
08-17 09:39:51.354 2720 2720 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2720 (surfaceflinger)
08-17 09:39:51.355 2089 2089 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-17 09:39:51.456 2089 2089 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-17 09:39:51.456 2089 2089 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100'
08-17 09:39:51.456 2089 2089 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
08-17 09:39:51.456 2089 2089 F DEBUG : Revision: '0'
08-17 09:39:51.456 2089 2089 F DEBUG : ABI: 'arm'
08-17 09:39:51.456 2089 2089 F DEBUG : pid: 2720, tid: 2720, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-17 09:39:51.456 2089 2089 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[COLOR="red"][B]08-17 09:39:51.467 2089 2089 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up'[/B][/COLOR]
08-17 09:39:51.467 2089 2089 F DEBUG : r0 00000000 r1 00000aa0 r2 00000006 r3 40146b8c
08-17 09:39:51.467 2089 2089 F DEBUG : r4 40146b94 r5 40146b44 r6 00000000 r7 0000010c
08-17 09:39:51.467 2089 2089 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001
08-17 09:39:51.467 2089 2089 F DEBUG : ip 00000006 sp beff14b8 lr 401957a9 pc 40197ba4 cpsr 400f0010
08-17 09:39:51.478 2089 2089 F DEBUG :
08-17 09:39:51.478 2089 2089 F DEBUG : backtrace:
08-17 09:39:51.478 2089 2089 F DEBUG : #00 pc 00044ba4 /system/lib/libc.so (tgkill+12)
08-17 09:39:51.478 2089 2089 F DEBUG : #01 pc 000427a5 /system/lib/libc.so (pthread_kill+32)
08-17 09:39:51.478 2089 2089 F DEBUG : #02 pc 0001ba2f /system/lib/libc.so (raise+10)
08-17 09:39:51.478 2089 2089 F DEBUG : #03 pc 00018bd1 /system/lib/libc.so (__libc_android_abort+34)
08-17 09:39:51.478 2089 2089 F DEBUG : #04 pc 000167f0 /system/lib/libc.so (abort+4)
08-17 09:39:51.478 2089 2089 F DEBUG : #05 pc 000090ab /system/lib/libcutils.so (__android_log_assert+86)
08-17 09:39:51.478 2089 2089 F DEBUG : #06 pc 0002b495 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #07 pc 0002b095 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #08 pc 0001adcd /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+240)
08-17 09:39:51.478 2089 2089 F DEBUG : #09 pc 00000ecb /system/bin/surfaceflinger
08-17 09:39:51.478 2089 2089 F DEBUG : #10 pc 0001669d /system/lib/libc.so (__libc_init+44)
08-17 09:39:51.478 2089 2089 F DEBUG : #11 pc 00000d90 /system/bin/surfaceflinger
08-17 09:39:51.475 1988 1988 W auditd : type=1325 audit(0.0:141): table=filter family=2 entries=8
08-17 09:39:51.475 2757 2757 W iptables: type=1300 audit(0.0:141): arch=40000028 syscall=294 per=800008 success=yes exit=0 a0=4 a1=0 a2=40 a3=40829920 items=0 ppid=2719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 exe="/system/bin/iptables" subj=u:r:netd:s0 key=(null)
08-17 09:39:51.787 2089 2089 F DEBUG :
08-17 09:39:51.787 2089 2089 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
08-17 09:39:55.942 2797 2797 I Netd : Netd 1.0 starting
08-17 09:39:55.943 2797 2797 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present.
08-17 09:39:55.943 2797 2797 D TetherController: Setting IP forward enable = 0
08-17 09:39:56.002 2798 2798 I SurfaceFlinger: SurfaceFlinger is starting

The error comes from here:

EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) {
status_t err;
EGLConfig config;

// First try to get an ES2 config
err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config);
if (err != NO_ERROR) {
// If ES2 fails, try ES1
err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config);
if (err != NO_ERROR) {
// still didn't work, probably because we're on the emulator...
// try a simplified query
ALOGW("no suitable EGLConfig found, trying a simpler query");
err = selectEGLConfig(display, format, 0, &config);
if (err != NO_ERROR) {
// this EGL is too lame for android
LOG_ALWAYS_FATAL("[COLOR="Red"]no suitable EGLConfig found, giving up[/COLOR]");
}
}
}

There are no pb with hwcomposer. It seems that it lakes a part of EGL informations.

Maybe this in frameworks/native/opengl/libagl/egl.cpp:

/* 32-bit BGRA */
static config_pair_t const config_8_attribute_list[] = {
{ EGL_BUFFER_SIZE, 32 },
{ EGL_ALPHA_SIZE, 8 },
{ EGL_BLUE_SIZE, 8 },
{ EGL_GREEN_SIZE, 8 },
{ EGL_RED_SIZE, 8 },
{ EGL_DEPTH_SIZE, 0 },
{ EGL_CONFIG_ID, 2 },
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 },
{ EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT },
};

Bizcuite