Victor
Yes we tried same version of AnTuTu in sabreslite board running on Freescale JB , Antutu 6.0.4 3D benchmark test runs smoothly on that platform
But when we run the similar benchmark test in our platform (SabreSd with Freecale Android 5.0.2) we see the crash shown in above comment.
As per your suggestion I tried installing AnTuTu 5.2 in our platform and 3D benchmark test works fine
But when i tried the adding the attached libraries you have provided in my Android build in order to make AnTuTu 6.0.x to run
I see below errors when the tool (SabreSd with Freecale Android 5.0.2) boots
--------- beginning of main
W/auditd ( 145): type=2000 audit(0.0:1): initialized
I/ ( 156): debuggerd: Sep 21 2016 19:59:22
I/lowmemorykiller( 147): Using in-kernel low memory killer interface
I/installd( 159): installd firing up
D/MagDaemon( 171): init_sensors
D/MagDaemon( 171): find sensor name FreescaleAccelerometer
D/MagDaemon( 171): input device 'FreescaleAccelerometer' opened, fd = 5
I/Netd ( 155): Netd 1.0 starting
--------- beginning of system
I/Vold ( 151): Vold 2.1 (the revenge) firing up
E/DirectVolume( 151): Vold managed volumes must have auto mount point; ignoring /mnt/media_rw/extsd
D/Vold ( 151): Volume extsd state changing -1 (Initializing) -> 0 (No-Media)
E/DirectVolume( 151): Vold managed volumes must have auto mount point; ignoinit: untracked pid 998 exited with status 0
ring /mnt/media_rw/udisk
D/Vold ( 151): Volume udisk state changing -1 (Initializing) -> 0 (No-Media)
I/keystore( 166): SELinux: Keystore SELinux is disabled.
I/SurfaceFlinger( 152): SurfaceFlinger is starting
I/SurfaceFlinger( 152): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 152): loaded /system/lib/egl/libEGL_VIVANTE.so
D/libEGL ( 152): loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
D/libEGL ( 152): loaded /system/lib/egl/libGLESv2_VIVANTE.so
I/imx6.gralloc( 152): fb_device_open dispid:0, fb:0
I/imx6.gralloc( 152): 32bpp setting of Framebuffer with RGBA8888 format!
W/imx6.gralloc( 152): using (fd=12)
W/imx6.gralloc( 152): id = DISP4 BG
W/imx6.gralloc( 152): xres = 1280 px
W/imx6.gralloc( 152): yres = 800 px
W/imx6.gralloc( 152): xres_virtual = 1280 px
W/imx6.gralloc( 152): yres_virtual = 2400 px
W/imx6.gralloc( 152): bpp = 32
W/imx6.gralloc( 152): r = 0:8
W/imx6.gralloc( 152): g = 8:8
W/imx6.gralloc( 152): b = 16:8
W/imx6.gralloc( 152): width = 203 mm (160.157639 dpi)
W/imx6.gralloc( 152): height = 127 mm (160.000000 dpi)
W/imx6.gralloc( 152): refresh rate = 48.48 Hz
I/FslHwcomposer( 152): using fsl hwc!!!
I/FslHwcomposer( 152): hwc_device_open,555
I/FslHwcomposer( 152): using fsl hwc!
I/FslHwcomposer( 152): fb0 is ldb
I/FslHwcomposer( 152): device
I/FslHwcomposer( 152): fb1 is overlay device
I/FslHwcomposer( 152): fb2 is hdmi
I/FslHwcomposer( 152): device
I/FslHwcomposer( 152): fb2 device plugout
W/FslHwcomposer( 152): system can't support more than 2 devices
I/FslHwcomposer( 152): hwcomposer: open framebuffer fb0
I/imx6.gralloc( 152): fb_device_open dispid:0, fb:0
I/imx6.gralloc( 152): display already initialized...
I/FslHwcomposer( 152): hwc_device_open,426
I/SurfaceFlinger( 152): Using composer version 1.3
W/SurfaceFlinger( 152): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 152): no suitable EGLConfig found, giving up
--------- beginning of crash
F/libc ( 152): Fatal signal 6 (SIGABRT), code -6 in tid 152 (surfaceflinger)
I/DEBUG ( 156): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 156): Build fingerprint: 'DiagnosticTool/sabresd_6dq/sabresd_6dq:5.0.2/DiagTool-1.0.0.132/20160429:user/release-keys'
I/DEBUG ( 156): Revision: '0'
I/DEBUG ( 156): ABI: 'arm'
I/DEBUG ( 156): pid: 152, tid: 152, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 156): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/mediaserver( 158): ServiceManager: 0x760500c0
I/AudioFlinger( 158): Using default 3000 mSec as standby time.
I/ServiceManager( 158): Waiting for service batterystats...
I/DEBUG ( 156): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 156): r0 00000init: untracked pid 997 exited with status 1
000 r1 00000098 r2 00000006 r3 00000000
I/DEBUG ( 156): r4 76f75114 r5 00000006 r6 00000002 r7 0000010c
I/DEBUG ( 156): r8 76a62000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 156): ip 00000098 sp 7eee73b8 lr 76efe119 pc 76f218c0 cpsr 600f0010
I/DEBUG ( 156):
I/DEBUG ( 156): backtrace:
I/DEBUG ( 156): #00 pc 0003a8c0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 156): #01 pc 00017115 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 156): #02 pc 00017d33 /system/lib/libc.so (raise+10)
I/DEBUG ( 156): #03 pc 00014589 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 156): #04 pc 00012a40 /system/lib/libc.so (abort+4)
I/DEBUG ( 156): #05 pc 00007b65 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 156): #06 pc 00026b99 /system/lib/libsurfaceflinger.so
I/DEBUG ( 156): #07 pc 00026795 /system/lib/libsurfaceflinger.so
I/DEBUG ( 156): #08 pc 00017829 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+148)
I/DEBUG ( 156): #09 pc 000007e1 /system/bin/surfaceflinger
I/DEBUG ( 156): #10 pc 000128f1 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 156): #11 pc 000008d8 /system/bin/surfaceflinger
D/AndroidRuntime( 167):
D/AndroidRuntime( 167): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 167): CheckJNI is OFF
I/art ( 167): option[0]=-Xzygote
I/art ( 167): option[1]=-Xstacktracefile:/data/anr/traces.txt
I/art ( 167): option[2]=exit
I/art ( 167): option[3]=vfprintf
I/art ( 167): option[4]=sensitiveThread
I/art ( 167): option[5]=-verbose:gc
I/art ( 167): option[6]=-Xms8m
I/art ( 167): option[7]=-Xmx384m
I/art ( 167): option[8]=-XX:mainThreadStackSize=24K
I/art ( 167): option[9]=-XX:HeapGrowthLimit=64m
I/art ( 167): option[10]=-XX:HeapMinFree=512k
I/art ( 167): option[11]=-XX:HeapMaxFree=8m
I/art ( 167): option[12]=-XX:HeapTargetUtilization=0.75
I/art ( 167): option[13]=-Xgenregmap
I/art ( 167): option[14]=-Xgc:precise
I/art ( 167): option[15]=-agentlib:jdwp=transport=dt_android_adb,suspend=n,server=y
I/art ( 167): option[16]=-Ximage-compiler-option
I/art ( 167): option[17]=--runtime-arg
I/art ( 167): option[18]=-Ximage-compiler-option
I/art ( 167): option[19]=-Xms64m
I/art ( 167): option[20]=-Ximage-compiler-option
I/art ( 167): option[21]=--runtime-arg
I/art ( 167): option[22]=-Ximage-compiler-option
I/art ( 167): option[23]=-Xmx64m
I/art ( 167): option[24]=-Ximage-compiler-option
I/art ( 167): option[25]=--image-classes-zip=/system/framework/framework.jar
I/art ( 167): option[26]=-Ximage-compiler-option
I/art ( 167): option[27]=--image-classes=preloaded-classes
I/art ( 167): option[28]=-Xcompiler-option
I/art ( 167): option[29]=--runtime-arg
I/art ( 167): option[30]=-Xcompiler-option
I/art ( 167): option[31]=-Xms64m
I/art ( 167): option[32]=-Xcompiler-option
I/art ( 167): option[33]=--runtime-arg
I/art ( 167): option[34]=-Xcompiler-option
I/art ( 167): option[35]=-Xmx512m
I/art ( 167): option[36]=-Duser.language=en
I/art ( 167): option[37]=-Duser.region=US
W/art ( 167): ValidateOatFile found checksum mismatch between oat file '/data/dalvik-cache/arm/system@framework@boot.oat' and dex file '/system/framework/framework.jar' (0xaeab8a56 != 0x391c220c)
I/art ( 167): Pruning dalvik-cache since we are generating an image and will need to recompile
I/art ( 167): Using an offset of 0x8e3000 from default art base address of 0x50000000
I/art ( 167): GenerateImage: /system/bin/dex2oat --image=/data/dalvik-cache/arm/system@framework@boot.art --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dexs
E/cutils-trace( 269): Error opening trace file: No such file or directory (2)
I/DEBUG ( 156):
I/DEBUG ( 156): Tombstone written to: /data/tombstones/tombstone_00
I/dex2oat ( 269): /system/bin/dex2oat --image=/data/dalvik-cache/arm/system@framework@boot.art --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dex-file=/system/fs
I/ServiceManager( 149): service 'media.audio_flinger' died
D/MagDaemon( 171): couldn't find 'FreescaleMagnetometer' input device
D/MagDaemon( 171): inital sensor error
I/Netd ( 302): Netd 1.0 starting
I/SurfaceFlinger( 303): SurfaceFlinger is starting
I/SurfaceFlinger( 303): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 303): loaded /system/lib/egl/libEGL_VIVANTE.so
D/libEGL ( 303): loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
D/libEGL ( 303): loaded /system/lib/egl/libGLESv2_VIVANTE.so
I/mediaserver( 304): ServiceManager: 0x761500c0
I/AudioFlinger( 304): Using default 3000 mSec as standby time.
I/ServiceManager( 304): Waiting for service batterystats...
I/imx6.gralloc( 303): fb_device_open dispid:0, fb:0
I/imx6.gralloc( 303): 32bpp setting of Framebuffer with RGBA8888 format!
W/imx6.gralloc( 303): using (fd=12)
W/imx6.gralloc( 303): id = DISP4 BG
W/imx6.gralloc( 303): xres = 1280 px
W/imx6.gralloc( 303): yres = 800 px
W/imx6.gralloc( 303): xres_virtual = 1280 px
W/imx6.gralloc( 303): yres_virtual = 2400 px
W/imx6.gralloc( 303): bpp = 32
W/imx6.gralloc( 303): r = 0:8
W/imx6.gralloc( 303): g = 8:8
W/imx6.gralloc( 303): b = 16:8
W/imx6.gralloc( 303): width = 203 mm (160.157639 dpi)
W/imx6.gralloc( 303): height = 127 mm (160.000000 dpi)
W/imx6.gralloc( 303): refresh rate = 48.48 Hz
I/FslHwcomposer( 303): using fsl hwc!!!
I/FslHwcomposer( 303): hwc_device_open,555
I/FslHwcomposer( 303): using fsl hwc!
I/FslHwcomposer( 303): fb0 is ldb
I/FslHwcomposer( 303): device
I/FslHwcomposer( 303): fb1 is overlay device
I/FslHwcomposer( 303): fb2 is hdmi
I/FslHwcomposer( 303): device
I/FslHwcomposer( 303): fb2 device plugout
W/FslHwcomposer( 303): system can't support more than 2 devices
I/FslHwcomposer( 303): hwcomposer: open framebuffer fb0
I/imx6.gralloc( 303): fb_device_open dispid:0, fb:0
I/imx6.gralloc( 303): display already initialized...
I/FslHwcomposer( 303): hwc_device_open,426
I/SurfaceFlinger( 303): Using composer version 1.3
W/SurfaceFlinger( 303): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 303): no suitable EGLConfig found, giving up
F/libc ( 303): Fatal signal 6 (SIGABRT), code -6 in tid 303 (surfaceflinger)
I/DEBUG ( 156): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 156): Build fingerprint: 'DiagnosticTool/sabresd_6dq/sabresd_6dq:5.0.2/DiagTool-1.0.0.132/20160429:user/release-keys'
I/DEBUG ( 156): Revision: '0'
I/DEBUG ( 156): ABI: 'arm'
I/DEBUG ( 156): pid: 303, tid: 303, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 156): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 156): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 156): r0 00000000 r1 0000012f r2 00000006 r3 00000000
I/DEBUG ( 156): r4 76f58114 r5 00000006 r6 00000002 r7 0000010c
I/DEBUG ( 156): r8 76962000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 156): ip 0000012f sp 7ebf33b8 lr 76ee1119 pc 76f048c0 cpsr 600f0010
I/DEBUG ( 156):
I/DEBUG ( 156): backtrace:
I/DEBUG ( 156): #00 pc 0003a8c0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 156): #01 pc 00017115 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 156): #02 pc 00017d33 /system/lib/libc.so (raise+10)
I/DEBUG ( 156): #03 pc 00014589 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 156): #04 pc 00012a40 /system/lib/libc.so (abort+4)
I/DEBUG ( 156): #05 pc 00007b65 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 156): #06 pc 00026b99 /system/lib/libsurfaceflinger.so
I/DEBUG ( 156): #07 pc 00026795 /system/lib/libsurfaceflinger.so
I/DEBUG ( 156): #08 pc 00017829 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+148)
I/DEBUG ( 156): #09 pc 000007e1 /system/bin/surfaceflinger
I/DEBUG ( 156): #10 pc 000128f1 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 156): #11 pc 000008d8 /system/bin/surfaceflinger
D/AndroidRuntime( 305):
D/AndroidRuntime( 305): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 305): CheckJNI is OFF
I/art ( 305): option[0]=-Xzygote
I/art ( 305): option[1]=-Xstacktracefile:/data/anr/traces.txt
I/art ( 305): option[2]=exit
I/art ( 305): option[3]=vfprintf
I/art ( 305): option[4]=sensitiveThread
I/art ( 305): option[5]=-verbose:gc
I/art ( 305): option[6]=-Xms8m
I/art ( 305): option[7]=-Xmx384m
I/art ( 305): option[8]=-XX:mainThreadStackSize=24K
I/art ( 305): option[9]=-XX:HeapGrowthLimit=64m
I/art ( 305): option[10]=-XX:HeapMinFree=512k
I/art ( 305): option[11]=-XX:HeapMaxFree=8m
I/art ( 305): option[12]=-XX:HeapTargetUtilization=0.75
I/art ( 305): option[13]=-Xgenregmap
I/art ( 305): option[14]=-Xgc:precise
I/art ( 305): option[15]=-agentlib:jdwp=transport=dt_android_adb,suspend=n,server=y
I/art ( 305): option[16]=-Ximage-compiler-option
I/art ( 305): option[17]=--runtime-arg
I/art ( 305): option[18]=-Ximage-compiler-option
I/art ( 305): option[19]=-Xms64m
I/art ( 305): option[20]=-Ximage-compiler-option
I/art ( 305): option[21]=--runtime-arg
I/art ( 305): option[22]=-Ximage-compiler-option
I/art ( 305): option[23]=-Xmx64m
I/art ( 305): option[24]=-Ximage-compiler-option
I/art ( 305): option[25]=--image-classes-zip=/system/framework/framework.jar
I/art ( 305): option[26]=-Ximage-compiler-option
I/art ( 305): option[27]=--image-classes=preloaded-classes
I/art ( 305): option[28]=-Xcompiler-option
I/art ( 305): option[29]=--runtime-arg
I/art ( 305): option[30]=-Xcompiler-option
I/art ( 305): option[31]=-Xms64m
I/art ( 305): option[32]=-Xcompiler-option
I/art ( 305): option[33]=--runtime-arg
I/art ( 305): option[34]=-Xcompiler-option
I/art ( 305): option[35]=-Xmx512m
I/art ( 305): option[36]=-Duser.language=en
I/art ( 305): option[37]=-Duser.region=US
I/art ( 305): Pruning dalvik-cache since we are generating an image and will need to recompile
I/art ( 305): Using an offset of 0xd6000 from default art base address of 0x50000000
I/art ( 305): GenerateImage: /system/bin/dex2oat --image=/data/dalvik-cache/arm/system@framework@boot.art --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dexs
E/cutils-trace( 338): Error opening trace file: No such file or directory (2)
I/dex2oat ( 338): /system/bin/dex2oat --image=/data/dalvik-cache/arm/system@framework@boot.art --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dex-file=/system/fs
I/DEBUG ( 156):
I/DEBUG ( 156): Tombstone written to: /data/tombstones/tombstone_01
I/ServiceManager( 149): service 'media.audio_flinger' died
I/Netd ( 401): Netd 1.0 starting
I/SurfaceFlinger( 402): SurfaceFlinger is starting
Could you provide info on any dependent patch needs to be applied in order to support these libraries in
Android 5.0.2 ?
Regards
Himanshu