[RAZR i Android Development] PosixCompatible:
Jep, I thought I did. I really have to post the rest of the code, it's a bit complicated as I did not use the repo tool for most... Hope to make it this evening.

Patches applied to surfaceflinger:

Workaroung Bug XZ, pbuffer disable, egl2 disable, try-disabling-some-features-before-falling-back-to-egl1.

Following log with pbuffer without egl2:

BOARD_EGL_WORKAROUND_BUG_10194508 := true
#TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
TARGET_DISABLE_SURFACEFLINGER_GLES2 := true

I/SurfaceFlinger( 127): SurfaceFlinger is starting
I/SurfaceFlinger( 127): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 127): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 127): framebuffer opened
D/hwcomposer( 127): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 127): Using composer version 0.0
W/SurfaceFlinger( 127): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 127): OpenGL ES 2.0 disabled for this device
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying OpenGL ES 1.1
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
I/SurfaceFlinger( 127): EGL informations:
I/SurfaceFlinger( 127): vendor : Android
I/SurfaceFlinger( 127): version : 1.4 Android META-EGL
I/SurfaceFlinger( 127): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 127): Client API: OpenGL_ES
I/SurfaceFlinger( 127): EGLSurface: 8-8-8-8, config=0x2
E/cutils-trace( 127): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
I/SurfaceFlinger( 127): OpenGL ES informations:
I/SurfaceFlinger( 127): vendor : Imagination Technologies
I/SurfaceFlinger( 127): renderer : PowerVR SGX 540
I/SurfaceFlinger( 127): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 127): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_OES_egl_sync GL_IMG_vertex_array_object GL_APPLE_texture_2D_limited_npot
I/SurfaceFlinger( 127): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 127): GL_MAX_VIEWPORT_DIMS = 2048
D/SurfaceFlinger( 127): Screen acquired, type=0 flinger=0xb790d820
D/hwcomposer( 127): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
D/libEGL ( 195): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/cutils-trace( 195): Error opening trace file: No such file or directory (2)
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)

(boot continues as normal)

As I see we should not encounter BUG 10194508 as the disabled feature does not show up in the capability list. I have to say that I never did anything with OpenGL except some very basic vertice programming in Delphi when I was a kid. Did never tinker with any of those error messages above.

BOARD_EGL_WORKAROUND_BUG_10194508 := true
TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
#TARGET_DISABLE_SURFACEFLINGER_GLES2 := true

may be a bit more interesting as it gives us:

I/SurfaceFlinger( 127): SurfaceFlinger is starting
I/SurfaceFlinger( 127): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 127): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 127): framebuffer opened
D/hwcomposer( 127): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 127): Using composer version 0.0
W/SurfaceFlinger( 127): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
I/SurfaceFlinger( 127): EGL informations:
I/SurfaceFlinger( 127): vendor : Android
I/SurfaceFlinger( 127): version : 1.4 Android META-EGL
I/SurfaceFlinger( 127): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 127): Client API: OpenGL_ES
I/SurfaceFlinger( 127): EGLSurface: 8-8-8-8, config=0x13
E/cutils-trace( 127): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): call to OpenGL ES API with no current context (logged once per thread)
F/libc ( 127): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 127 (surfaceflinger)
I/DEBUG ( 125): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 125): Build fingerprint: 'motorola/cm_smi/smi:4.4.2/KOT49H/e72f0c2fd7:userdebug/test-keys'
I/DEBUG ( 125): Revision: '0'
I/DEBUG ( 125): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 125): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 125): eax 00000000 ebx b75fce74 ecx 00000000 edx 00000000
I/DEBUG ( 125): esi b867f720 edi 00000000
I/DEBUG ( 125): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
I/DEBUG ( 125): eip b7687076 ebp bfc3143c esp bfc313cc flags 00010246
E/Corkscrew( 125): unrecognized DW_CFA_* instruction: 0x10
I/DEBUG ( 125):
I/DEBUG ( 125): backtrace:
I/DEBUG ( 125): #00 pc 0005c076 /system/lib/libc.so (strlen+6)
I/DEBUG ( 125): #01 pc 0001485a /system/lib/libutils.so (android::String8::setTo(char const*)+42)
I/DEBUG ( 125): #02 pc 0003f241 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+49)
I/DEBUG ( 125): #03 pc 0003f78c /system/lib/libsurfaceflinger.so (android::RenderEngine::logEGLInfo()+156)
I/DEBUG ( 125): #04 pc 00041655 /system/lib/libsurfaceflinger.so (android::GLES20RenderEngine::initializeGL()+341)
I/DEBUG ( 125): #05 pc 0002af69 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+1033)
I/DEBUG ( 125): #06 pc 00000931 /system/bin/surfaceflinger (main+209)
I/DEBUG ( 125):
I/DEBUG ( 125): stack:
I/DEBUG ( 125): bfc3138c b7638f89 /system/lib/libc.so (pthread_mutex_unlock+25)
I/DEBUG ( 125): bfc31390 b867d8c0 [heap]
I/DEBUG ( 125): bfc31394 bfc313e0 [stack]
I/DEBUG ( 125): bfc31398 bfc314b8 [stack]
I/DEBUG ( 125): bfc3139c b752359e /system/lib/libEGL.so (android::gl_no_context()+30)
I/DEBUG ( 125): bfc313a0 00000000
I/DEBUG ( 125): bfc313a4 b7523586 /system/lib/libEGL.so (android::gl_no_context()+6)
I/DEBUG ( 125): bfc313a8 b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): bfc313ac b73eb4c6 /system/lib/libGLESv1_CM.so (glViewport+54)
I/DEBUG ( 125): bfc313b0 00000000
I/DEBUG ( 125): bfc313b4 00000000
I/DEBUG ( 125): bfc313b8 b7638db9 /system/lib/libc.so (pthread_mutex_lock+9)
I/DEBUG ( 125): bfc313bc b76e3fcc /system/lib/libc.so
I/DEBUG ( 125): bfc313c0 00000033
I/DEBUG ( 125): bfc313c4 b867f720 [heap]
I/DEBUG ( 125): bfc313c8 00000000
I/DEBUG ( 125): #00 bfc313cc b75e785b /system/lib/libutils.so (android::String8::setTo(char const*)+43)
I/DEBUG ( 125): #01 bfc313d0 00000000
I/DEBUG ( 125): bfc313d4 bfc313e0 [stack]
I/DEBUG ( 125): bfc313d8 00000000
I/DEBUG ( 125): bfc313dc 00000000
I/DEBUG ( 125): bfc313e0 7f800000
I/DEBUG ( 125): bfc313e4 00000000
I/DEBUG ( 125): bfc313e8 00000000
I/DEBUG ( 125): bfc313ec 00000000
I/DEBUG ( 125): bfc313f0 00000000
I/DEBUG ( 125): bfc313f4 7f800000
I/DEBUG ( 125): bfc313f8 00000000
I/DEBUG ( 125): bfc313fc b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): bfc31400 b867f720 [heap]
I/DEBUG ( 125): bfc31404 00000000
I/DEBUG ( 125): bfc31408 bfc3143c [stack]
I/DEBUG ( 125): bfc3140c b7752242 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+50)
I/DEBUG ( 125): #02 bfc31410 b867f724 [heap]
I/DEBUG ( 125): bfc31414 00000000
I/DEBUG ( 125): bfc31418 b75fce74 /system/lib/libutils.so
I/DEBUG ( 125): bfc3141c b7638f89 /system/lib/libc.so (pthread_mutex_unlock+25)
I/DEBUG ( 125): bfc31420 b866a030 [heap]
I/DEBUG ( 125): bfc31424 b75acddc /system/lib/libEGL.so
I/DEBUG ( 125): bfc31428 00001f00
I/DEBUG ( 125): bfc3142c b7523595 /system/lib/libEGL.so (android::gl_no_context()+21)
I/DEBUG ( 125): bfc31430 00000000
I/DEBUG ( 125): bfc31434 b7523586 /system/lib/libEGL.so (android::gl_no_context()+6)
I/DEBUG ( 125): bfc31438 b73f0fe4 /system/lib/libGLESv1_CM.so
I/DEBUG ( 125): bfc3143c b73ed67a /system/lib/libGLESv1_CM.so (glGetString+74)
I/DEBUG ( 125): bfc31440 00001f00
I/DEBUG ( 125): bfc31444 00000004
I/DEBUG ( 125): bfc31448 b7752219 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+9)
I/DEBUG ( 125): bfc3144c b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): ........ ........

But I cannot debug it with gdbserver as this dies before the SIGSEV. It may have something to do with any unclean disabling of pbuffer in stevens patch? As it segfaults in logEGLinfo I assume it to fail because of the failures right above.

Another one with both patches disabled:

BOARD_EGL_WORKAROUND_BUG_10194508 := true
#TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
#TARGET_DISABLE_SURFACEFLINGER_GLES2 := true

For every try I rebuilt the complete surfaceflinger by removing all objects from surfaceflinger_intermediates and libsurfaceflinger_intermediates and pushing the new files onto the device, this should have been enough.

I/SurfaceFlinger( 128): SurfaceFlinger is starting
I/SurfaceFlinger( 128): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 128): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 128): framebuffer opened
D/hwcomposer( 128): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 128): Using composer version 0.0
W/SurfaceFlinger( 128): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
I/SurfaceFlinger( 128): EGL informations:
I/SurfaceFlinger( 128): vendor : Android
I/SurfaceFlinger( 128): version : 1.4 Android META-EGL
I/SurfaceFlinger( 128): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 128): Client API: OpenGL_ES
I/SurfaceFlinger( 128): EGLSurface: 8-8-8-8, config=0x12
E/cutils-trace( 128): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
I/SurfaceFlinger( 128): OpenGL ES informations:
I/SurfaceFlinger( 128): vendor : Imagination Technologies
I/SurfaceFlinger( 128): renderer : PowerVR SGX 540
I/SurfaceFlinger( 128): version : OpenGL ES 2.0 build 1.9@2158934
I/SurfaceFlinger( 128): extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture
I/SurfaceFlinger( 128): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 128): GL_MAX_VIEWPORT_DIMS = 2048
D/SurfaceFlinger( 128): Screen acquired, type=0 flinger=0xb8e43820
D/hwcomposer( 128): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/IMGSRV ( 128): :0: compositionComplete: GLESFlushBuffersGCNoContext failed
E/IMGSRV ( 128): :0: compositionComplete: Foreign (probably software) GLES detected! Enabling workarounds.
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
D/libEGL ( 181): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 181): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 181): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/cutils-trace( 181): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 181): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 181): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 181): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 181): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 181): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)

(boot continues as normal)

Every try with EGL2 does not remove the bootloader-logo (the bootloader unlocked message), but the EGL1 tries lead to a black screen.