[Defy Android Development] struq:
Graphical issues

I got a log of boot process of CM11 1210 (where no graphics glitches could be triggered) and noticed a suspicious line:

W/SurfaceFlinger( 1210): no suitable EGLConfig found, trying a simpler query

Looked around the source code, it seems SF is unable to get GLES2 or even ES1 config and at last use a failsafe config (for emulators??).

Do you have this on AOSPA too? If not, maybe there something wrong that makes SF not detecting the right config and mistakenly use something that our driver is not capable of. And maybe we could make a workaround by changing a bit here to force it use simpler configs.:)

full log:

I/SurfaceFlinger( 1210): SurfaceFlinger is starting

I/SurfaceFlinger( 1210): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

D/libEGL ( 1210): loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so

D/libEGL ( 1210): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so

D/libEGL ( 1210): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so

E/SurfaceFlinger( 1210): hwcomposer module not found

W/SurfaceFlinger( 1210): getting VSYNC period from fb HAL: 14705882

W/SurfaceFlinger( 1210): no suitable EGLConfig found, trying a simpler query

I/SurfaceFlinger( 1210): EGL informations:

I/SurfaceFlinger( 1210): vendor : Android

I/SurfaceFlinger( 1210): version : 1.4 Android META-EGL

I/SurfaceFlinger( 1210): 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( 1210): Client API: OpenGL_ES

I/SurfaceFlinger( 1210): EGLSurface: 8-8-8-8, config=0x2

I/SurfaceFlinger( 1210): OpenGL ES informations:

I/SurfaceFlinger( 1210): vendor : Imagination Technologies

I/SurfaceFlinger( 1210): renderer : PowerVR SGX 530

I/SurfaceFlinger( 1210): version : OpenGL ES-CM 1.1

I/SurfaceFlinger( 1210): 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( 1210): GL_MAX_TEXTURE_SIZE = 2048

I/SurfaceFlinger( 1210): GL_MAX_VIEWPORT_DIMS = 2048

D/SurfaceFlinger( 1210): Screen acquired, type=0 flinger=0x2a007450

D/libEGL ( 1433): loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so

D/libEGL ( 1433): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so

D/libEGL ( 1433): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so

D/SurfaceFlinger( 1210): Screen acquired, type=0 flinger=0x2a007450

D/SurfaceFlinger( 1210): screen was previously acquired

I/SurfaceFlinger( 1210): Boot is finished (53074 ms)

---------- Post added at 10:45 AM ---------- Previous post was at 10:35 AM ----------

Disabling HWA for apps is a workaround, but only for the app you disabled. Problem is that glitches are not only occuring in dialer. It is not realistic to disable HWA for all apps.;)