I missed to apply kernel patches in my previous try.
I applied the kernel patches and used the libraries in ICS-13.4.1-GPU-upgrade-to-p13-Ver4.Rendering of text fails (+ IMX6 gralloc buffer call fails at validate level). Could you please help identify the problem here ?
Rendering of text fails at OpenGL level: Error Below:
D/libEGL ( 3616): loaded /system/lib/egl/libEGL_VIVANTE.so
D/libEGL ( 3616): loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
D/libEGL ( 3616): loaded /system/lib/egl/libGLESv2_VIVANTE.so
I/libEGL ( 3616): EGL AFTER INIT EGL TRACE LEVEL
I/libEGL ( 3616): EGL INITIALIZE AND QUERY
I/libEGL ( 3616): EGL INITIALIZE AND QUERY
D/OpenGLRenderer( 3616): Enabling debug mode 0
E/OpenGLRenderer( 3616): Error while compiling shader:
E/OpenGLRenderer( 3616): Error while compiling shader:
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Error while compiling shader:
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Error while compiling shader:
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Error while compiling shader:
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
E/OpenGLRenderer( 3616): Font renderer unable to draw, attribute slots undefined
D/OpenGLRenderer( 3616): GL error from OpenGLRenderer: 0x502
Also , imx6 gralloc validate buffer call fails mismatch of params.
E/imx6.gralloc( 2617): invalid gralloc handle (at 0x191d940) version:12-12 , numInts:34-13, numFds:1-1, magic:51647890-1885827189
I/imx6.gralloc( 2617): validate buffer < 0 - not returning
Complete SurfaceFlinger logs with OpenGL invocation:
I/SurfaceFlinger( 2617): SurfaceFlinger is starting
I/SurfaceFlinger( 2617): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/SurfaceFlinger( 2617): initialize main display
I/SurfaceFlinger( 2617): display hardware call
I/SurfaceFlinger( 2617):
I/SurfaceFlinger( 2617): display hardware fsl imx display
W/imx6.gralloc( 2617): ****Error -1! Cannot open /sys/class/graphics/fb0/mode
W/imx6.gralloc( 2617): using (fd=10)
W/imx6.gralloc( 2617): id = mxc_epdc_fb
W/imx6.gralloc( 2617): xres = 758 px
W/imx6.gralloc( 2617): yres = 1024 px
W/imx6.gralloc( 2617): xres_virtual = 768 px
W/imx6.gralloc( 2617): yres_virtual = 4096 px
W/imx6.gralloc( 2617): bpp = 16
W/imx6.gralloc( 2617): r = 11:5
W/imx6.gralloc( 2617): g = 5:6
W/imx6.gralloc( 2617): b = 0:5
W/imx6.gralloc( 2617): widthasdasdasdasdasdasdasd= 91
W/imx6.gralloc( 2617): width = 91 mm (211.573624 dpi)
W/imx6.gralloc( 2617): height = 122 mm (213.193436 dpi)
W/imx6.gralloc( 2617): refresh rate = 0.03 Hz
E/imx6.gralloc( 2617): fbSize is (3149824)
E/imx6.gralloc( 2617): fbSize is (3145728)
I/SurfaceFlinger( 2617): Display Hardware
I/SurfaceFlinger( 2617): Initialize EGL
D/libEGL ( 2617): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2617): loaded /system/lib/egl/libEGL_VIVANTE.so
D/libEGL ( 2617): loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
D/libEGL ( 2617): loaded /system/lib/egl/libGLESv2_VIVANTE.so
I/SurfaceFlinger( 2617): display proper
I/libEGL ( 2617): EGL AFTER INIT EGL TRACE LEVEL
I/libEGL ( 2617): EGL INITIALIZE AND QUERY
I/libEGL ( 2617): EGL INITIALIZE AND QUERY
I/SurfaceFlinger( 2617): egl working as it supposed to
I/SurfaceFlinger( 2617): major=(1), minor=(4)
I/SurfaceFlinger( 2617): Number of configs= (48)
I/SurfaceFlinger( 2617): select config pixel format
I/SurfaceFlinger( 2617):
I/SurfaceFlinger( 2617): numconfigs n =(48)
I/SurfaceFlinger( 2617):
I/SurfaceFlinger( 2617): native visual id=(4), config=(0)
I/SurfaceFlinger( 2617): select pixel format err (0)
I/SurfaceFlinger( 2617): red=(5)
I/SurfaceFlinger( 2617): alpha=(0)
E/imx6.gralloc( 2617): invalid gralloc handle (at 0x191db50) version:12-12 , numInts:34-13, numFds:1-1, magic:51647890-1885827189
I/imx6.gralloc( 2617): validate buffer < 0 - not returning
W/imx6.gralloc( 2617): ****update to display
W/imx6.gralloc( 2617): ****update_to_display:left=0, top=0, width=758, height=1024 updatemode=4
W/imx6.gralloc( 2617): retval MXCFB_SEND_UPDATE 0
I/SurfaceFlinger( 2617): we can draw now !!!!
I/SurfaceFlinger( 2617): egl queried, width=(758), height=(1024)
I/SurfaceFlinger( 2617): don't preserve back buffer, partial updates
I/SurfaceFlinger( 2617): Egl Query surface
W/SurfaceFlinger( 2617): ro.sf.lcd_density not defined, using 160xxxxxxxx212 dpi by default.
I/SurfaceFlinger( 2617): mdensity=(1.000000)
I/SurfaceFlinger( 2617): egl context passed
I/SurfaceFlinger( 2617): eglMakeCurrent
I/SurfaceFlinger( 2617): make current successful
I/SurfaceFlinger( 2617): EGL informations:
I/SurfaceFlinger( 2617): # of configs : 48
I/SurfaceFlinger( 2617): vendor : Vivante Corporation
I/SurfaceFlinger( 2617): version : 1.4
I/SurfaceFlinger( 2617): extensions: EGL_KHR_reusable_sync EGL_KHR_fence_sync 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_lock_surface EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_blob_cache EGL_ANDROID_recordable
I/SurfaceFlinger( 2617): Client API: OpenGL_ES OpenVG
I/SurfaceFlinger( 2617): EGLSurface: 5-6-5-0, config=0x1c
I/SurfaceFlinger( 2617): OpenGL informations:
I/SurfaceFlinger( 2617): vendor : Vivante Corporation
I/SurfaceFlinger( 2617): renderer : Vivante GC320
I/SurfaceFlinger( 2617): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 2617): extensions: GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_byte_coordinates GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_extended_matrix_palette GL_OES_fixed_point GL_OES_framebuffer_object GL_OES_matrix_get GL_OES_matrix_palette GL_OES_point_size_array GL_OES_point_sprite GL_OES_query_matrix GL_OES_read_format GL_OES_single_precision GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_mirrored_repeat GL_OES_EGL_image GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil1 GL_OES_stencil4 GL_OES_stencil8 GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_user_clip_plane GL_APPLE_texture_2D_limited_npot GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_OES_EGL_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_A
I/SurfaceFlinger( 2617): GL_MAX_TEXTURE_SIZE = 8192
I/SurfaceFlinger( 2617): GL_MAX_VIEWPORT_DIMS = 8192 x 8192
I/SurfaceFlinger( 2617): flags = 00020000
I/SurfaceFlinger( 2617): ****************
I/SurfaceFlinger( 2617): Initialize hardware composer
I/SurfaceFlinger( 2617):
I/FslHwcomposer( 2617): *********hw open********
E/FslHwcomposer( 2617): init:63,open ipu dev failed
I/v_hwc ( 2617): Vivante HWComposer v2.4
I/v_hwc ( 2617): Device: 0x191f9c8
I/v_hwc ( 2617): Separated 2D: YES
I/v_hwc ( 2617): 2D PE20: YES
I/v_hwc ( 2617): Filter-stretch blit: NO
I/v_hwc ( 2617): 2D dither enabled : NO
I/v_hwc ( 2617): Multi-source blit: NO
I/v_hwc ( 2617): Multi-source blit Ex: NO
I/v_hwc ( 2617): OPF/YUV blit/Tiling : NO
I/v_hwc ( 2617): Filter stretch : NO
I/SurfaceFlinger( 2617): create shared block
I/SurfaceFlinger( 2617): initialize primary display
E/imx6.gralloc( 2617): invalid gralloc handle (at 0x191d940) version:12-12 , numInts:34-13, numFds:1-1, magic:51647890-1885827189