Crash of android on imx6 board when playing with GUI.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Crash of android on imx6 board when playing with GUI.

2,423 Views
oussama
Contributor III

Whenever I play with android GUI, no video, just navigate through settings, the android crash/hang after few seconds.

I'm using android kitkat  with kernel based on the fsl kernel 3.10.17 with custom board similar to the sabresd one.

Here's some info/error from logcat about SurfaceFlinger:

I/SurfaceFlinger(  144): renderer  : Vivante GC2000

I/SurfaceFlinger(  144): version   : OpenGL ES 2.0

I/SurfaceFlinger(  144): extensions: GL_EXT_debug_marker GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_EGL_image GL_OES_depth24 GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_rgb8_rgba8 GL_OES_stencil1 GL_OES_stencil4 GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_depth_texture GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_get_program_binary GL_EXT_texture_format_BGRA8888 GL_IMG_read_format GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_ARM_rgba8 GL_EXT_frag_depth GL_VIV_shader_binary GL_VIV_direct_texture GL_OES_mapbuffer GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_EXT_multisampled_render_to_texture GL_VIV_clamp_to_border GL_OES_vertex_type_10_10_10_2 GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_filter_anisotropic GL_OES_element_index_uint

I/SurfaceFlinger(  144): GL_MAX_TEXTURE_SIZE = 8192

I/SurfaceFlinger(  144): GL_MAX_VIEWPORT_DIMS = 8192

E/cutils-trace(  144): Error opening trace file: Permission denied (13)

E/SurfaceFlinger(  144): HWComposer: framebufferTarget is null

E/SurfaceFlinger(  144): HWComposer: framebufferTarget is null

E/SurfaceFlinger(  144): HWComposer: framebufferTarget is null

E/SurfaceFlinger(  144): HWComposer: framebufferTarget is null

I/iptables(  142): iptables terminated by exit(3)

E/Netd    (  142): exec() res=0, status=768 for /system/bin/iptables -t filter -A INPUT -j fw_INPUT

D/SurfaceFlinger(  144): Screen acquired, type=0 flinger=0x78318450

I/ip6tables(  142): ip6tables terminated by exit(3)

E/Netd    (  142): exec() res=0, status=768 for /system/bin/ip6tables -t filter -A INPUT -j fw_INPUT

W/SurfaceFlinger(  144): Ignoring duplicate VSYNC event from HWC (t=0)

W/SurfaceFlinger(  144): Ignoring duplicate VSYNC event from HWC (t=0)

And there is more than 14000 occurance of the last message!

What's is the cause of those 14000 message of "Ignoring duplicate VSYNC event from HWC (t=0)"?

Is there some way to check if the android graphic stack can function properly?

Sometimes there some messages like this

[  325.901798] binder: 143:805 transaction failed 29189, size 164-

0 Kudos
9 Replies

1,323 Views
oussama
Contributor III

It was hardware issue

0 Kudos

1,323 Views
igorpadykov
NXP Employee
NXP Employee

Hi oussama

had you customized board Device Configuration Data (DCD)

(mx6q.cfg) with new DDR settings running DDR test ?

i.MX6 DDR Stress Test Tool V1.0.3

Best regards

igor

0 Kudos

1,323 Views
oussama
Contributor III

Hi Igor

Yes, It's already done.

Best Regards,

Oussama

0 Kudos

1,323 Views
igorpadykov
NXP Employee
NXP Employee

Hi oussama

as far as I know kk4.4.3 (kernel 3.10.17) is not released yet and it is beta,

what is about IMX6_KK442_100_ANDROID_SOURCE_BSP

or just linux - is it also crashing ?

Best regards

igor

0 Kudos

1,323 Views
oussama
Contributor III

Hi Igor,

Linux itself does not crash. only android.

Best Regards,

Oussama

0 Kudos

1,323 Views
igorpadykov
NXP Employee
NXP Employee

Hi oussama

suggest to use IMX6_KK442_100_ANDROID_SOURCE_BSP

soon kk4.4.3 will be released so one can try it later.

Best regards

igor

0 Kudos

1,323 Views
oussama
Contributor III

Hi Igor,

The GUI is not smooth. for example when I move the mouse cursor, the refresh is sometime delayed although the cpu load is very low.

Best Regards,

Oussama

0 Kudos

1,323 Views
igorpadykov
NXP Employee
NXP Employee

Hi oussama

kk4.4.3 is beta so you can have issues.

~igor

0 Kudos

1,323 Views
oussama
Contributor III

Hi Igor,

Thanks for the info. I'm already on IMX6_KK442_100_ANDROID_SOURCE_BSP

Best Regards,

Oussama

0 Kudos