Display error: DDK is not compatible with any of the Mali GPUs on the system. (Android)


#1

Hi,

When I power on the board there is nothing on the screen. After analyzed logcat, the mali driver seems to be not compatible.

I install the driver like it said here.

Logcat

01-01 00:00:32.894 2517 2517 I SurfaceFlinger: Enabling HWC virtual displays
01-01 00:00:32.894 2517 2517 I SurfaceFlinger: Disabling Triple Buffering
01-01 00:00:32.894 2517 2517 I SurfaceFlinger: SurfaceFlinger’s main thread ready to run. Initializing graphics H/W…
01-01 00:00:32.894 2517 2517 D vndksupport: Loading /system/lib64/egl/libGLES_mali.so from current namespace instead of sphal namespace.
01-01 00:00:32.896 2518 2518 I wificond: wificond is starting up…
01-01 00:00:32.906 2517 2517 D libEGL : loaded /system/lib64/egl/libGLES_mali.so
01-01 00:00:32.951 2517 2517 E mali : ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
01-01 00:00:32.951 2517 2517 E mali : The DDK was built for 0x60000000 r0p0 status range [0…15], but none of the GPUs matched:
01-01 00:00:32.953 2517 2517 W libEGL : eglInitialize(0x7fb664c1c0) failed (EGL_NOT_INITIALIZED)
01-01 00:00:32.954 2216 2216 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device manifest.
01-01 00:00:32.955 2517 2517 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
01-01 00:00:32.956 2517 2517 D vndksupport: Loading /vendor/lib64/hw/gralloc.hikey960.so from current namespace instead of sphal namespace.
01-01 00:00:32.966 2517 2517 W [Gralloc-Warning]: init_frame_buffer_locked:274 fbdev pixclock is zero for fd: 20
01-01 00:00:32.966 2517 2517 I [Gralloc]: using (fd=20)
01-01 00:00:32.966 2517 2517 I [Gralloc]: id = dss
01-01 00:00:32.966 2517 2517 I [Gralloc]: xres = 1024 px
01-01 00:00:32.966 2517 2517 I [Gralloc]: yres = 768 px
01-01 00:00:32.966 2517 2517 I [Gralloc]: xres_virtual = 1024 px
01-01 00:00:32.966 2517 2517 I [Gralloc]: yres_virtual = 1536 px
01-01 00:00:32.966 2517 2517 I [Gralloc]: bpp = 32
01-01 00:00:32.966 2517 2517 I [Gralloc]: r = 16:8
01-01 00:00:32.966 2517 2517 I [Gralloc]: g = 8:8
01-01 00:00:32.966 2517 2517 I [Gralloc]: b = 0:8
01-01 00:00:32.966 2517 2517 I [Gralloc]: width = 163 mm (159.568100 dpi)
01-01 00:00:32.966 2517 2517 I [Gralloc]: height = 122 mm (159.895081 dpi)
01-01 00:00:32.966 2517 2517 I [Gralloc]: refresh rate = 60.00 Hz
01-01 00:00:32.970 2517 2517 E SurfaceFlinger: hwcomposer module not found
01-01 00:00:32.971 2517 2517 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
01-01 00:00:32.971 2517 2517 F SurfaceFlinger: no suitable EGLConfig found, giving up
01-01 00:00:32.971 2517 2517 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2517 (surfaceflinger), pid 2517 (surfaceflinger)
01-01 00:00:32.989 2534 2534 E cutils-trace: Error opening trace file: Permission denied (13)
01-01 00:00:32.997 2535 2535 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-01 00:00:32.998 2310 2310 I /system/bin/tombstoned: received crash request for pid 2517
01-01 00:00:32.999 2535 2535 I crash_dump64: performing dump of process 2517 (target tid = 2517)
01-01 00:00:32.999 2535 2535 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:00:32.999 2535 2535 F DEBUG : Build fingerprint: ‘Android/hikey960/hikey960:8.1.0/OPM6.171019.030.B1/T0173308221520:userdebug/test-keys’
01-01 00:00:32.999 2535 2535 F DEBUG : Revision: ‘0’
01-01 00:00:33.000 2535 2535 F DEBUG : ABI: ‘arm64’
01-01 00:00:33.000 2535 2535 F DEBUG : pid: 2517, tid: 2517, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
01-01 00:00:33.000 2535 2535 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-01 00:00:33.000 2535 2535 F DEBUG : Abort message: ‘’
01-01 00:00:33.000 2535 2535 F DEBUG : x0 0000000000000000 x1 00000000000009d5 x2 0000000000000006 x3 0000000000000008
01-01 00:00:33.000 2535 2535 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 8000000000000000
01-01 00:00:33.000 2535 2535 F DEBUG : x8 0000000000000083 x9 0000000010000000 x10 0000007ffffff1e0 x11 0000000000000001
01-01 00:00:33.000 2535 2535 F DEBUG : x12 0000007ffffff300 x13 0000000000000000 x14 ffffffffffffffff x15 00000c4b612aa29c
01-01 00:00:33.000 2535 2535 F DEBUG : x16 000000555555df98 x17 0000007fb718c4b8 x18 0000000000000000 x19 00000000000009d5
01-01 00:00:33.000 2535 2535 F DEBUG : x20 00000000000009d5 x21 0000000000000083 x22 0000007fb7ffaa40 x23 0000000000000000
01-01 00:00:33.000 2535 2535 F DEBUG : x24 00000000000f4240 x25 0000007fb666f0e8 x26 0000000000000000 x27 0000000000000000
01-01 00:00:33.000 2535 2535 F DEBUG : x28 0000007fb7ffaa40 x29 0000007ffffff220 x30 0000007fb71416ec
01-01 00:00:33.000 2535 2535 F DEBUG : sp 0000007ffffff1e0 pc 0000007fb7141714 pstate 0000000060000000
01-01 00:00:33.002 2535 2535 F DEBUG :
01-01 00:00:33.002 2535 2535 F DEBUG : backtrace:
01-01 00:00:33.002 2535 2535 F DEBUG : #00 pc 000000000001d714 /system/lib64/libc.so (abort+120)
01-01 00:00:33.002 2535 2535 F DEBUG : #01 pc 000000000001d6e8 /system/lib64/libc.so (abort+76)

In this topic it said that the driver is already in device/linaro/hickey

I haven’t that because in the Android tree I’m place on the tag android-8.1.0_r33. The addition of the driver in device/linaro/hickey is well above.

I find Mali drivers here. Do you think it will works with it ?

Thanks in advance