How to debug vivante start-up problems in kitkat?

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

How to debug vivante start-up problems in kitkat?

1,161 Views
robertniemi
Contributor I

I'm trying to boot the Android kitkat ga release, but I get stuck when trying to initialise the Vivante GPU.

Apparently I hit an error in one of the binary modules.

The kernel log does not show anything suspicios, but from the android log I get the following:

D/libEGL  ( 2215): loaded /system/lib/egl/libEGL_VIVANTE.so

D/libEGL  ( 2215): loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so

D/libEGL  ( 2215): loaded /system/lib/egl/libGLESv2_VIVANTE.so

W/imx6.gralloc( 2215): 32bpp setting of Framebuffer catched!

W/imx6.gralloc( 2215): using (fd=16)

W/imx6.gralloc( 2215): id           = DISP3 BG

W/imx6.gralloc( 2215): xres         = 320 px

W/imx6.gralloc( 2215): yres         = 480 px

W/imx6.gralloc( 2215): xres_virtual = 320 px

W/imx6.gralloc( 2215): yres_virtual = 1536 px

W/imx6.gralloc( 2215): bpp          = 32

W/imx6.gralloc( 2215): r            =  0:8

W/imx6.gralloc( 2215): g            =  8:8

W/imx6.gralloc( 2215): b            = 16:8

W/imx6.gralloc( 2215): width        = 51 mm (159.372543 dpi)

W/imx6.gralloc( 2215): height       = 76 mm (160.421051 dpi)

W/imx6.gralloc( 2215): refresh rate = 73.62 Hz

I/v_hwc   ( 2215): Default primary display

I/v_hwc   ( 2215): xres         = 320 px

I/v_hwc   ( 2215): yres         = 480 px

I/v_hwc   ( 2215): xdpi         = 159.4 dpi

I/v_hwc   ( 2215): ydpi         = 160.4 dpi

I/v_hwc   ( 2215): refresh rate = 73.6 Hz

D/v_gal   ( 2215): [tid=2215] Process got signal (8). To further debug the issue, you should run in debug mode

Sadly, I can't find any documenetation anywhere telling me how to run in debug mode, so I am rather stuck.

Please advise.

Labels (4)
2 Replies

562 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Robert,

In general you can debug your kernel by enabling debug output or adding printk's Did you turn on DEBUG flag in GPU driver kernel side? It may help.

Links that might help:

http://jas-hacks.blogspot.co.uk/2013/10/imx6-ubuntu-1304-debugging-gpu.html

Hope this helps

0 Kudos

562 Views
robertniemi
Contributor I

Extra info: We are running on a custom board, with i.Mx6DL.