版本 V1.2
系统 andriod4.2.2
内核 linux3.3
在config.fex配置1024*768能显示正常,但800*600配置上去就出现错误了,我提供部分logcat和dmesg,求解决。
dmesg:
01rel0/driver/src/devicedrv/mali/common/mali_mem_validation.c
[ 26.552720] mali_mem_validation_add_range() 38
[ 26.552727] Failed to add frame buffer memory; incorrect alignment
[ 26.566995]
[ 26.568714] Mali: ERR: /home/peng/lichee/linux-3.3/modules/mali/DX910-SW-99002-r3p2-01rel0/driver/src/devicedrv/mali/common/mali_kernel_core.c
[ 26.598160] mali_parse_config_memory() 731
[ 26.598168] Failed to register frame buffer memory region
[ 26.615371]
[ 26.637178] Mali: ERR: /home/peng/lichee/linux-3.3/modules/mali/DX910-SW-99002-r3p2-01rel0/driver/src/devicedrv/mali/linux/mali_kernel_linux.c
[ 26.679596] mali_probe() 313
[ 26.679602] mali_probe(): Failed to initialize Mali device driver.
[ 26.734277] mali-utgard: probe of mali-utgard.0 failed with error -14
[ 27.327151] init: process 'surfaceflinger', pid 1193 exited
[ 27.333588] init: process 'surfaceflinger' killing any children in process group
[ 27.341998] init: service 'zygote' is being killed
[ 27.351063] init: starting 'zygote'
[ 27.355667] init: waitpid returned pid 1194, status = 00000009
[ 27.363078] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
[ 27.372814] init: untracked pid 1194 exited
logcat:
W/libEGL ( 1199): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[Gralloc]( 1199): using (fd=16)
I/[Gralloc]( 1199): id =
I/[Gralloc]( 1199): xres = 800 px
I/[Gralloc]( 1199): yres = 600 px
I/[Gralloc]( 1199): xres_virtual = 800 px
I/[Gralloc]( 1199): yres_virtual = 1200 px
I/[Gralloc]( 1199): bpp = 32
I/[Gralloc]( 1199): r = 16:8
I/[Gralloc]( 1199): g = 8:8
I/[Gralloc]( 1199): b = 0:8
I/[Gralloc]( 1199): width = 127 mm (160.000000 dpi)
I/[Gralloc]( 1199): height = 95 mm (160.421051 dpi)
I/[Gralloc]( 1199): refresh rate = 62.50 Hz
I/SurfaceFlinger( 1199): Using composer version 1.0
W/SurfaceFlinger( 1199): getting VSYNC period from fb HAL: 16000000
W/SurfaceFlinger( 1199): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 1199): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
W/SurfaceFlinger( 1199): no suitable EGLConfig found, trying with 16-bit color allowed
E/SurfaceFlinger( 1199): no suitable EGLConfig found, giving up
E/SurfaceFlinger( 1199): EGLContext creation failed
I/SurfaceFlinger( 1199): SurfaceFlinger run00.
F/SurfaceFlinger( 1199): couldn't create EGLContext
F/libc ( 1199): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1667 (SurfaceFlinger)
I/DEBUG ( 1197): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1197): Build fingerprint: 'softwinners/sugar_ref001/sugar-ref001:4.2.2/JDQ39/20140509:eng/test-keys'
I/DEBUG ( 1197): Revision: '0'
I/DEBUG ( 1197): pid: 1199, tid: 1667, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 1197): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 1197): r0 00000027 r1 deadbaad r2 4019d258 r3 00000000
I/DEBUG ( 1197): r4 00000000 r5 405719bc r6 414db438 r7 4014a4dc
I/DEBUG ( 1197): r8 401f1d35 r9 00100000 sl 414d9680 fp 00000000
I/DEBUG ( 1197): ip 40150fa8 sp 405719b8 lr 401700d9 pc 4016c772 cpsr 60000030
I/DEBUG ( 1197): d0 6572632074276e6f d1 434c47452065746e
I/DEBUG ( 1197): d2 2c646e756f662074 d3 20676e6976696765
I/DEBUG ( 1197): d4 2074756f68746977 d5 4d4152465f4c4745
I/DEBUG ( 1197): d6 5f52454646554245 d7 415f544547524154
I/DEBUG ( 1197): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1197): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1197): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1197): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1197): d16 416e848000000000 d17 41cdcd6500000000
I/DEBUG ( 1197): d18 3fdffffffffecf50 d19 3fe0000000000000
I/DEBUG ( 1197): d20 3fe0000000009858 d21 0000000000000000
I/DEBUG ( 1197): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 1197): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 1197): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 1197): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 1197): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 1197): scr 20000010
I/DEBUG ( 1197):
I/DEBUG ( 1197): backtrace:
I/DEBUG ( 1197): #00 pc 0001a772 /system/lib/libc.so
I/DEBUG ( 1197): #01 pc 00018070 /system/lib/libc.so (abort+4)
I/DEBUG ( 1197): #02 pc 00001425 /system/lib/liblog.so (__android_log_assert+88)
I/DEBUG ( 1197): #03 pc 0002c7ab /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::readyToRun()+142)
I/DEBUG ( 1197): #04 pc 0001123d /system/lib/libutils.so (android::Thread::_threadLoop(void*)+72)
I/DEBUG ( 1197): #05 pc 00010dcd /system/lib/libutils.so
I/DEBUG ( 1197): #06 pc 0000e3d8 /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 1197): #07 pc 0000dac4 /system/lib/libc.so (pthread_create+160)
I/DEBUG ( 1197):
I/DEBUG ( 1197): stack:
I/DEBUG ( 1197): 40571978 00000000
I/DEBUG ( 1197): 4057197c 00000000
I/DEBUG ( 1197): 40571980 00000000
I/DEBUG ( 1197): 40571984 405719fa
I/DEBUG ( 1197): 40571988 00004000
I/DEBUG ( 1197): 4057198c 40571a06
I/DEBUG ( 1197): 40571990 4019a254 /system/lib/libc.so
I/DEBUG ( 1197): 40571994 4019a1b4 /system/lib/libc.so
I/DEBUG ( 1197): 40571998 00000000
I/DEBUG ( 1197): 4057199c 401700d9 /system/lib/libc.so (_fwalk+32)
I/DEBUG ( 1197): 405719a0 00000001
I/DEBUG ( 1197): 405719a4 405719bc
I/DEBUG ( 1197): 405719a8 414db438 [heap]
I/DEBUG ( 1197): 405719ac 4014a4dc /system/lib/libsurfaceflinger.so
I/DEBUG ( 1197): 405719b0 df0027ad
I/DEBUG ( 1197): 405719b4 00000000
I/DEBUG ( 1197): #00 405719b8 405719b4
I/DEBUG ( 1197): 405719bc fffffbdf
I/DEBUG ( 1197): 405719c0 405719bc
I/DEBUG ( 1197): 405719c4 00000001
I/DEBUG ( 1197): 405719c8 40143880 /system/lib/libsurfaceflinger.so
I/DEBUG ( 1197): 405719cc 0000000f
I/DEBUG ( 1197): 405719d0 405719ec
I/DEBUG ( 1197): 405719d4 40143880 /system/lib/libsurfaceflinger.so
I/DEBUG ( 1197): 405719d8 40143880 /system/lib/libsurfaceflinger.so
I/DEBUG ( 1197): 405719dc 4016a074 /system/lib/libc.so (__pthread_clone)
I/DEBUG ( 1197): #01 405719e0 4014e089 /system/lib/liblog.so
I/DEBUG ( 1197): 405719e4 4014e429 /system/lib/liblog.so (__android_log_assert+92)
I/DEBUG ( 1197): #02 405719e8 40571dfc
I/DEBUG ( 1197): 405719ec 6c756f63
I/DEBUG ( 1197): 405719f0 [ 32.008340] init: processing action 0x2fad8 (property:sys.sensors=1)
74276e64
I/DEBUG ( 1197): [ 32.016165] init: starting 'sensors'
405719f4 65726320
I[ 32.023463] init: command 'start' r=0
/DEBUG ( 1197): 405719f8 20657461
I/DEBUG ( 1197): 405719fc 434c4745
I/DEBUG ( 1197): 40571a00 65746e6f
I/DEBUG ([ 32.040824] init: waitpid returned pid 2038, status = 00000a00
1197): 40571a04 74007[ 32.050163] init: process 'sensors', pid 2038 exited
478
I/DEBUG ( 1197): 40571a08 7572206f
I/DEBUG ( 1197): 40571a0c 49202e6e
I/DEBUG ( 1197): 40571a10 6974696e
I/DEBUG ( 1197): 40571a14 7a696c61
I/DEBUG ( 1197): 40571a18 20676e69
I/DEBUG ( 1197): 40571a1c 70617267
I/DEBUG ( 1197): 40571a20 73636968
I/DEBUG ( 1197): 40571a24 572f4820
I/DEBUG ( 1197): ........ ........
|