——————————————————————– 分析 logcat.txt,错误如下:
03-21 21:13:38.412 3115 3115 I SurfaceFlinger: SurfaceFlinger is starting
03-21 21:13:38.412 3115 3115 I SurfaceFlinger: SurfaceFlinger’s main thread ready to run. Initializing graphics H/W…
03-21 21:13:38.412 3115 3115 D libEGL : Emulator without GPU support detected. Fallback to legacy software renderer, qemu.gles is set to 0.
03-21 21:13:38.425 3115 3115 D libEGL : loaded /system/lib64/egl/libGLES_android.so
03-21 21:13:38.456 3115 3115 E SurfaceFlinger: Couldn’t set SCHED_FIFO for SFEventThread
03-21 21:13:38.468 3115 3115 W gralloc : page flipping not supported yres_virtual=768, requested=1536)
03-21 21:13:38.472 3115 3115 E SurfaceFlinger: hwcomposer module not found
03-21 21:13:38.473 3115 3115 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
03-21 21:13:38.473 3115 3115 F SurfaceFlinger: no suitable EGLConfig found, giving up
03-21 21:13:38.473 3115 3115 F libc : Fatal signal 6 SIGABRT), code -6 in tid 3115 surfaceflinger)
03-21 21:13:38.537 3129 3129 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-21 21:13:38.537 3129 3129 F DEBUG : LineageOS Version: ‘14.1-20170321-UNOFFICIAL-android_x86_64’
03-21 21:13:38.537 3129 3129 F DEBUG : Build fingerprint: ‘Android-x86/cm_android_x86_64/android_x86_64:7.1.1/NOF26W/8675e82e81:userdebug/test-keys’
03-21 21:13:38.537 3129 3129 F DEBUG : Revision: ‘0’
03-21 21:13:38.537 3129 3129 F DEBUG : ABI: ‘x86_64’
03-21 21:13:38.537 3129 3129 F DEBUG : pid: 3115, tid: 3115, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
03-21 21:13:38.537 3129 3129 F DEBUG : signal 6 SIGABRT), code -6 SI_TKILL), fault addr ——–
03-21 21:13:38.538 3129 3129 F DEBUG : Abort message: ‘no suitable EGLConfig found, giving up’
03-21 21:13:38.538 3129 3129 F DEBUG : rax 0000000000000000 rbx 00007faa92809be8 rcx ffffffffffffffff rdx 0000000000000006
03-21 21:13:38.538 3129 3129 F DEBUG : rsi 0000000000000c2b rdi 0000000000000c2b
03-21 21:13:38.538 3129 3129 F DEBUG : r8 0000000000000000 r9 0000000000000006 r10 0000000000000008 r11 0000000000000206
03-21 21:13:38.538 3129 3129 F DEBUG : r12 0000000000000c2b r13 0000000000000006 r14 00007faa924af93a r15 00007fff1cb18cc0
03-21 21:13:38.538 3129 3129 F DEBUG : cs 0000000000000033 ss 000000000000002b
03-21 21:13:38.538 3129 3129 F DEBUG : rip 00007faa92240b07 rbp 0000000000000000 rsp 00007fff1cb185b8 eflags 0000000000000206
03-21 21:13:38.539 3129 3129 F DEBUG :
03-21 21:13:38.539 3129 3129 F DEBUG : backtrace:
03-21 21:13:38.539 3129 3129 F DEBUG : #00 pc 000000000008fb07 /system/lib64/libc.so tgkill+7)
03-21 21:13:38.539 3129 3129 F DEBUG : #01 pc 000000000008c561 /system/lib64/libc.so pthread_kill+65)
03-21 21:13:38.539 3129 3129 F DEBUG : #02 pc 00000000000303c1 /system/lib64/libc.so raise+17)
03-21 21:13:38.539 3129 3129 F DEBUG : #03 pc 00000000000288fd /system/lib64/libc.so abort+77)
03-21 21:13:38.539 3129 3129 F DEBUG : #04 pc 0000000000011b0f /system/lib64/libcutils.so __android_log_assert+287)
03-21 21:13:38.539 3129 3129 F DEBUG : #05 pc 000000000004124d /system/lib64/libsurfaceflinger.so
03-21 21:13:38.539 3129 3129 F DEBUG : #06 pc 0000000000040c65 /system/lib64/libsurfaceflinger.so
03-21 21:13:38.539 3129 3129 F DEBUG : #07 pc 0000000000047445 /system/lib64/libsurfaceflinger.so _ZN7android14SurfaceFlinger4initEv+661)
03-21 21:13:38.539 3129 3129 F DEBUG : #08 pc 000000000000137a /system/bin/surfaceflinger
03-21 21:13:38.539 3129 3129 F DEBUG : #09 pc 000000000001ca54 /system/lib64/libc.so __libc_init+84)
03-21 21:13:38.539 3129 3129 F DEBUG : #10 pc 0000000000001234 /system/bin/surfaceflinger
03-21 21:13:38.539 3129 3129 F DEBUG : #11 pc 0000000000000000 <unknown>
——————————————————————–
参考:https://forum.xda-developers.com/galaxy-note-2/devs-only/driver-mali-r6p0-pour-kernel-t3438669
Ok, i continue my search:
This is my logcat and dmesg with MALI+UMP from r6p0 driver version.
I let the last version of my kernel with sources) with fully r6p0 driver.
/! THE KERNEL BOOT BUT THERE IS NO SCREEN /! it’s just a try for devs
To compile yourself the kernel, just replace the /driver/gpu folder by mine and change the KConfig in video to point on /driver/gpu/arm/ folder.
I think that it lacks just library binaries to have this driver working
OR an Hack for Android:
https://community.arm.com/groups/and…matteofranchin
The driver seems correctly loaded debug has been ported and actvated):
Code:
[ 1.170084] s5pv210-uart.3: ttySAC3 at MMIO 0x13830000 irq = 28) is a S3C6400/10 [ 1.251085] UMP: UMP device driver loaded [ 1.251113] Mali<2>: Inserting Mali v850 device driver. [ 1.251144] Mali<2>: Compiled: Aug 16 2016, time: 11:40:34. [ 1.251175] Mali<2>: Driver revision: [ 1.251197] Mali<2>: mali_module_init) registering driver [ 1.251429] Mali: Mali device driver loaded [ 1.251456] func:max77693_muic_init [ 1.251540] func:max77693_muic_probe [ 1.251567] max77693-muic max77693-muic: adc:0 chgtype:0, adc1k:0 [ 1.251600] max77693-muic max77693-muic: H/W rev connected UT1 UR2 pin to AP UART
Code:
root@n7100:/ # cd /sys/module/mali/parameters/ root@n7100:/sys/module/mali/parameters # ls gpu_power_state mali_dvfs_control mali_max_pp_cores_group_1 mali_debug_level mali_gpu_clk mali_max_pp_cores_group_2 mali_dedicated_mem_size mali_gpu_vol mali_max_system_fps mali_dedicated_mem_start mali_l2_max_reads mali_mem_swap_out_threshold_value mali_desired_fps mali_max_job_runtime mali_shared_mem_size
The logcat error:
Code:
08-16 11:58:37.905 2397 2397 I ServiceManager: Waiting for service SurfaceFlinger... 08-16 11:58:38.148 3239 3239 I SurfaceFlinger: SurfaceFlinger is starting 08-16 11:58:38.149 3239 3239 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W... 08-16 11:58:38.151 3239 3239 D libEGL : loaded /system/lib/egl/libEGL_mali.so 08-16 11:58:38.154 3239 3239 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so 08-16 11:58:38.179 3239 3239 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so 08-16 11:58:38.206 3239 3239 W libEGL : eglInitialize0x1) failed EGL_BAD_ALLOC) 08-16 11:58:38.208 3239 3239 D gralloc : int init_frame_buffer_lockedprivate_module_t*) Initializing framebuffer 08-16 11:58:38.208 3239 3239 I gralloc : using fd=12) 08-16 11:58:38.208 3239 3239 I gralloc : id = s3cfb 08-16 11:58:38.208 3239 3239 I gralloc : xres = 720 px 08-16 11:58:38.208 3239 3239 I gralloc : yres = 1280 px 08-16 11:58:38.208 3239 3239 I gralloc : xres_virtual = 720 px 08-16 11:58:38.208 3239 3239 I gralloc : yres_virtual = 2560 px 08-16 11:58:38.208 3239 3239 I gralloc : bpp = 32 08-16 11:58:38.208 3239 3239 I gralloc : r = 16:8 08-16 11:58:38.208 3239 3239 I gralloc : g = 8:8 08-16 11:58:38.208 3239 3239 I gralloc : b = 0:8 08-16 11:58:38.208 3239 3239 I gralloc : width = 69 mm 265.043488 dpi) 08-16 11:58:38.208 3239 3239 I gralloc : height = 123 mm 264.325195 dpi) 08-16 11:58:38.208 3239 3239 I gralloc : refresh rate = 58.00 Hz 08-16 11:58:38.216 3239 3239 E SurfaceFlinger: hwcomposer module not found 08-16 11:58:38.216 3239 3239 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query 08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up 08-16 11:58:38.216 3239 3239 F libc : Fatal signal 6 SIGABRT), code -6 in tid 3239 surfaceflinger) 08-16 11:58:38.217 2095 2095 I DEBUG : property debug.db.uid not set; NOT waiting for gdb. 08-16 11:58:38.217 2095 2095 I DEBUG : HINT: adb shell setprop debug.db.uid 100000 08-16 11:58:38.217 2095 2095 I DEBUG : HINT: adb forward tcp:5039 tcp:5039 08-16 11:58:38.291 2398 2398 I Zygote : Preloading resources... 08-16 11:58:38.317 2095 2095 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 08-16 11:58:38.317 2095 2095 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100' 08-16 11:58:38.317 2095 2095 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys' 08-16 11:58:38.317 2095 2095 F DEBUG : Revision: '0' 08-16 11:58:38.317 2095 2095 F DEBUG : ABI: 'arm' 08-16 11:58:38.318 2095 2095 F DEBUG : pid: 3239, tid: 3239, name: surfaceflinger >>> /system/bin/surfaceflinger <<< 08-16 11:58:38.318 2095 2095 F DEBUG : signal 6 SIGABRT), code -6 SI_TKILL), fault addr -------- 08-16 11:58:38.329 2095 2095 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up' 08-16 11:58:38.329 2095 2095 F DEBUG : r0 00000000 r1 00000ca7 r2 00000006 r3 4010fb8c 08-16 11:58:38.329 2095 2095 F DEBUG : r4 4010fb94 r5 4010fb44 r6 00000000 r7 0000010c 08-16 11:58:38.329 2095 2095 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001 08-16 11:58:38.329 2095 2095 F DEBUG : ip 00000006 sp beca34b8 lr 401ec7a9 pc 401eeba4 cpsr 400f0010
Bizcuite
The Following 2 Users Say Thank You to bizcuite
For This Useful Post: [ View ] Gift bizcuite Ad-Free
16th August 2016, 05:43 PM
|#4
Senior Member
Thanks: 296
Quote:
08-16 11:58:38.216 3239 3239 E SurfaceFlinger: hwcomposer module not found
It needs a brand new hwcomposer built specifically for the new r6p0 version. Don’t ask me how, but maybe you could, idk, for example, build a ROM with these changes and then try? Or build depending on the ROM you currently have) the ROM and dirty flash it
and see if it works.
Just try to build CM 13 for your n7100 and then dirty flash it over your installation and see if she works.
17th August 2016, 08:58 AM
|#5
OP Senior Member
Thanks: 763
Quote:
Originally Posted by Alexander_the_B0ss
It needs a brand new hwcomposer built specifically for the new r6p0 version. Don’t ask me how, but maybe you could, idk, for example, build a ROM with these changes and then try? Or build depending on the ROM you currently have) the ROM and dirty flash
it and see if it works.
Just try to build CM 13 for your n7100 and then dirty flash it over your installation and see if she works.
Hi,
Thanks for your reply, but:
I have made a boot with my own Rom R3p2 driver like everybody), this is the logcat:
Code:
08-17 09:46:40.719 2177 2177 I cm : Welcome to Android 6.0.1 / CyanogenMod-13.0-20160809-UNOFFICIAL-n7100
08-17 09:46:40.720 2123 2123 I perfprofd: random seed set to 1438291486
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:46:40.738 2094 2094 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.765 2109 2109 W linker : /system/bin/gpsd has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.833 2109 2109 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:40.892 2072 2072 E : Device driver API match
08-17 09:46:40.892 2072 2072 E : Device driver API version: 29
08-17 09:46:40.892 2072 2072 E : User space API version: 29
08-17 09:46:40.892 2072 2072 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:40.911 2072 2072 D gralloc : int init_frame_buffer_lockedprivate_module_t*) Initializing framebuffer
08-17 09:46:40.911 2072 2072 I gralloc : using fd=14)
08-17 09:46:40.911 2072 2072 I gralloc : id = s3cfb
08-17 09:46:40.911 2072 2072 I gralloc : xres = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres = 1280 px
08-17 09:46:40.911 2072 2072 I gralloc : xres_virtual = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres_virtual = 2560 px
08-17 09:46:40.911 2072 2072 I gralloc : bpp = 32
08-17 09:46:40.911 2072 2072 I gralloc : r = 16:8
08-17 09:46:40.911 2072 2072 I gralloc : g = 8:8
08-17 09:46:40.911 2072 2072 I gralloc : b = 0:8
08-17 09:46:40.911 2072 2072 I gralloc : width = 69 mm 265.043488 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : height = 123 mm 264.325195 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : refresh rate = 58.00 Hz
08-17 09:46:40.925 2109 2109 I libdmitry: Nexus 10 GPS interposition library loaded. Your GPS should work in M now.
08-17 09:46:40.956 2072 2072 E HAL : load: module=/system/lib/hw/hwcomposer.default.so
08-17 09:46:40.956 2072 2072 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:46:40.956 2072 2072 E SurfaceFlinger: hwcomposer module not found
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGL information:
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: vendor : Android
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: version : 1.4 Android META-EGL
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: Client API: OpenGL_ES
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x60000014
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: OpenGL ES informations:
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: vendor : ARM
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: renderer : Mali-400 MP
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: version : OpenGL ES 2.0
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 4096
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 4096
08-17 09:46:40.959 2072 2072 E cutils-trace: Error opening trace file: No such file or directory 2)
08-17 09:46:40.963 2072 2072 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x41434df0
08-17 09:46:41.025 2072 2072 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 58.574417 ms
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: connectfd11, ...) failed with errno = 111Connection refused)
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: Couldn't connect to Logging service 127.0.0.1:6477. Waiting for server...
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperOpenClient_RILD
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterRequestCompleteHandler
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterUnsolicitedHandler id12009), handler0x40070bfd)
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterErrorCallback
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperConnect_RILD
08-17 09:46:41.173 2295 2295 I sysinit : Running /system/etc/init.d/90userinit
08-17 09:46:41.221 2311 2311 I sysinit : Running /system/etc/init.d/98netflix
08-17 09:46:41.332 2239 2335 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:41.337 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:41.365 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:41.393 2239 2335 E : Device driver API match
08-17 09:46:41.393 2239 2335 E : Device driver API version: 29
08-17 09:46:41.393 2239 2335 E : User space API version: 29
08-17 09:46:41.393 2239 2335 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:41.396 2239 2335 E cutils-trace: Error opening trace file: No such file or directory 2)
08-17 09:46:41.444 2239 2335 W BootAnimation: Unable to cache the animation
08-17 09:46:41.445 2239 2335 E BootAnimation: couldn't find audio_conf.txt
And now a boot with my r6p0 kernel:
Code:
08-17 09:39:51.241 2720 2720 I SurfaceFlinger: SurfaceFlinger is starting 08-17 09:39:51.252 2720 2720 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W... 08-17 09:39:51.256 2720 2720 D libEGL : loaded /system/lib/egl/libEGL_mali.so 08-17 09:39:51.261 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so 08-17 09:39:51.291 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so 08-17 09:39:51.310 1988 1988 W auditd : type=1325 audit0.0:135): table=filter family=2 entries=11 08-17 09:39:51.328 2720 2720 W libEGL : eglInitialize0x1) failed EGL_BAD_ALLOC) 08-17 09:39:51.340 2720 2720 D gralloc : int init_frame_buffer_lockedprivate_module_t*) Initializing framebuffer 08-17 09:39:51.340 2720 2720 I gralloc : using fd=12) 08-17 09:39:51.340 2720 2720 I gralloc : id = s3cfb 08-17 09:39:51.340 2720 2720 I gralloc : xres = 720 px 08-17 09:39:51.340 2720 2720 I gralloc : yres = 1280 px 08-17 09:39:51.340 2720 2720 I gralloc : xres_virtual = 720 px 08-17 09:39:51.340 2720 2720 I gralloc : yres_virtual = 2560 px 08-17 09:39:51.340 2720 2720 I gralloc : bpp = 32 08-17 09:39:51.340 2720 2720 I gralloc : r = 16:8 08-17 09:39:51.340 2720 2720 I gralloc : g = 8:8 08-17 09:39:51.340 2720 2720 I gralloc : b = 0:8 08-17 09:39:51.340 2720 2720 I gralloc : width = 69 mm 265.043488 dpi) 08-17 09:39:51.340 2720 2720 I gralloc : height = 123 mm 264.325195 dpi) 08-17 09:39:51.340 2720 2720 I gralloc : refresh rate = 58.00 Hz 08-17 09:39:51.352 2720 2720 E HAL : load: module=/system/lib/hw/hwcomposer.exynos4.so 08-17 09:39:51.352 2720 2720 E HAL : dlopen failed: library "libhdmiclient.so" not found 08-17 09:39:51.352 2720 2720 E SurfaceFlinger: hwcomposer module not found 08-17 09:39:51.354 2720 2720 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query 08-17 09:39:51.354 2720 2720 F SurfaceFlinger: no suitable EGLConfig found, giving up 08-17 09:39:51.354 2720 2720 F libc : Fatal signal 6 SIGABRT), code -6 in tid 2720 surfaceflinger) 08-17 09:39:51.355 2089 2089 I DEBUG : property debug.db.uid not set; NOT waiting for gdb. 08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb shell setprop debug.db.uid 100000 08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb forward tcp:5039 tcp:5039 08-17 09:39:51.456 2089 2089 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 08-17 09:39:51.456 2089 2089 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100' 08-17 09:39:51.456 2089 2089 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys' 08-17 09:39:51.456 2089 2089 F DEBUG : Revision: '0' 08-17 09:39:51.456 2089 2089 F DEBUG : ABI: 'arm' 08-17 09:39:51.456 2089 2089 F DEBUG : pid: 2720, tid: 2720, name: surfaceflinger >>> /system/bin/surfaceflinger <<< 08-17 09:39:51.456 2089 2089 F DEBUG : signal 6 SIGABRT), code -6 SI_TKILL), fault addr -------- 08-17 09:39:51.467 2089 2089 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up' 08-17 09:39:51.467 2089 2089 F DEBUG : r0 00000000 r1 00000aa0 r2 00000006 r3 40146b8c 08-17 09:39:51.467 2089 2089 F DEBUG : r4 40146b94 r5 40146b44 r6 00000000 r7 0000010c 08-17 09:39:51.467 2089 2089 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001 08-17 09:39:51.467 2089 2089 F DEBUG : ip 00000006 sp beff14b8 lr 401957a9 pc 40197ba4 cpsr 400f0010 08-17 09:39:51.478 2089 2089 F DEBUG : 08-17 09:39:51.478 2089 2089 F DEBUG : backtrace: 08-17 09:39:51.478 2089 2089 F DEBUG : #00 pc 00044ba4 /system/lib/libc.so tgkill+12) 08-17 09:39:51.478 2089 2089 F DEBUG : #01 pc 000427a5 /system/lib/libc.so pthread_kill+32) 08-17 09:39:51.478 2089 2089 F DEBUG : #02 pc 0001ba2f /system/lib/libc.so raise+10) 08-17 09:39:51.478 2089 2089 F DEBUG : #03 pc 00018bd1 /system/lib/libc.so __libc_android_abort+34) 08-17 09:39:51.478 2089 2089 F DEBUG : #04 pc 000167f0 /system/lib/libc.so abort+4) 08-17 09:39:51.478 2089 2089 F DEBUG : #05 pc 000090ab /system/lib/libcutils.so __android_log_assert+86) 08-17 09:39:51.478 2089 2089 F DEBUG : #06 pc 0002b495 /system/lib/libsurfaceflinger.so 08-17 09:39:51.478 2089 2089 F DEBUG : #07 pc 0002b095 /system/lib/libsurfaceflinger.so 08-17 09:39:51.478 2089 2089 F DEBUG : #08 pc 0001adcd /system/lib/libsurfaceflinger.so _ZN7android14SurfaceFlinger4initEv+240) 08-17 09:39:51.478 2089 2089 F DEBUG : #09 pc 00000ecb /system/bin/surfaceflinger 08-17 09:39:51.478 2089 2089 F DEBUG : #10 pc 0001669d /system/lib/libc.so __libc_init+44) 08-17 09:39:51.478 2089 2089 F DEBUG : #11 pc 00000d90 /system/bin/surfaceflinger 08-17 09:39:51.475 1988 1988 W auditd : type=1325 audit0.0:141): table=filter family=2 entries=8 08-17 09:39:51.475 2757 2757 W iptables: type=1300 audit0.0:141): arch=40000028 syscall=294 per=800008 success=yes exit=0 a0=4 a1=0 a2=40 a3=40829920 items=0 ppid=2719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=none) ses=4294967295 exe="/system/bin/iptables" subj=u:r:netd:s0 key=null) 08-17 09:39:51.787 2089 2089 F DEBUG : 08-17 09:39:51.787 2089 2089 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03 08-17 09:39:55.942 2797 2797 I Netd : Netd 1.0 starting 08-17 09:39:55.943 2797 2797 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present. 08-17 09:39:55.943 2797 2797 D TetherController: Setting IP forward enable = 0 08-17 09:39:56.002 2798 2798 I SurfaceFlinger: SurfaceFlinger is starting
The error comes from here:
Code:
EGLConfig RenderEngine::chooseEglConfigEGLDisplay display, int format) {
status_t err;
EGLConfig config;
// First try to get an ES2 config
err = selectEGLConfigdisplay, format, EGL_OPENGL_ES2_BIT, &config);
if err != NO_ERROR) {
// If ES2 fails, try ES1
err = selectEGLConfigdisplay, format, EGL_OPENGL_ES_BIT, &config);
if err != NO_ERROR) {
// still didn't work, probably because we're on the emulator...
// try a simplified query
ALOGW"no suitable EGLConfig found, trying a simpler query");
err = selectEGLConfigdisplay, format, 0, &config);
if err != NO_ERROR) {
// this EGL is too lame for android
LOG_ALWAYS_FATAL"no suitable EGLConfig found, giving up");
}
}
}
There are no pb with hwcomposer. It seems that it lakes a part of EGL informations.
Maybe this in frameworks/native/opengl/libagl/egl.cpp:
Code:
/* 32-bit BGRA */ static config_pair_t const config_8_attribute_list[] = { { EGL_BUFFER_SIZE, 32 }, { EGL_ALPHA_SIZE, 8 }, { EGL_BLUE_SIZE, 8 }, { EGL_GREEN_SIZE, 8 }, { EGL_RED_SIZE, 8 }, { EGL_DEPTH_SIZE, 0 }, { EGL_CONFIG_ID, 2 }, { EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 }, { EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT }, };
Bizcuite
The Following User Says Thank You to bizcuite
For This Useful Post: [ View ] Gift bizcuite Ad-Free
17th August 2016, 01:58 PM
|#6
Senior Member
Thanks: 296
Quote:
Originally Posted by bizcuite
Hi,
Thanks for your reply, but:
I have made a boot with my own Rom R3p2 driver like everybody), this is the logcat:
Code:
08-17 09:46:40.719 2177 2177 I cm : Welcome to Android 6.0.1 / CyanogenMod-13.0-20160809-UNOFFICIAL-n7100
08-17 09:46:40.720 2123 2123 I perfprofd: random seed set to 1438291486
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:46:40.738 2094 2094 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.765 2109 2109 W linker : /system/bin/gpsd has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.833 2109 2109 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:40.892 2072 2072 E : Device driver API match
08-17 09:46:40.892 2072 2072 E : Device driver API version: 29
08-17 09:46:40.892 2072 2072 E : User space API version: 29
08-17 09:46:40.892 2072 2072 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:40.911 2072 2072 D gralloc : int init_frame_buffer_lockedprivate_module_t*) Initializing framebuffer
08-17 09:46:40.911 2072 2072 I gralloc : using fd=14)
08-17 09:46:40.911 2072 2072 I gralloc : id = s3cfb
08-17 09:46:40.911 2072 2072 I gralloc : xres = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres = 1280 px
08-17 09:46:40.911 2072 2072 I gralloc : xres_virtual = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres_virtual = 2560 px
08-17 09:46:40.911 2072 2072 I gralloc : bpp = 32
08-17 09:46:40.911 2072 2072 I gralloc : r = 16:8
08-17 09:46:40.911 2072 2072 I gralloc : g = 8:8
08-17 09:46:40.911 2072 2072 I gralloc : b = 0:8
08-17 09:46:40.911 2072 2072 I gralloc : width = 69 mm 265.043488 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : height = 123 mm 264.325195 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : refresh rate = 58.00 Hz
08-17 09:46:40.925 2109 2109 I libdmitry: Nexus 10 GPS interposition library loaded. Your GPS should work in M now.
08-17 09:46:40.956 2072 2072 E HAL : load: module=/system/lib/hw/hwcomposer.default.so
08-17 09:46:40.956 2072 2072 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:46:40.956 2072 2072 E SurfaceFlinger: hwcomposer module not found
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGL information:
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: vendor : Android
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: version : 1.4 Android META-EGL
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: Client API: OpenGL_ES
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x60000014
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: OpenGL ES informations:
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: vendor : ARM
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: renderer : Mali-400 MP
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: version : OpenGL ES 2.0
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 4096
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 4096
08-17 09:46:40.959 2072 2072 E cutils-trace: Error opening trace file: No such file or directory 2)
08-17 09:46:40.963 2072 2072 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x41434df0
08-17 09:46:41.025 2072 2072 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 58.574417 ms
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: connectfd11, ...) failed with errno = 111Connection refused)
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: Couldn't connect to Logging service 127.0.0.1:6477. Waiting for server...
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperOpenClient_RILD
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterRequestCompleteHandler
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterUnsolicitedHandler id12009), handler0x40070bfd)
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterErrorCallback
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperConnect_RILD
08-17 09:46:41.173 2295 2295 I sysinit : Running /system/etc/init.d/90userinit
08-17 09:46:41.221 2311 2311 I sysinit : Running /system/etc/init.d/98netflix
08-17 09:46:41.332 2239 2335 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:41.337 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:41.365 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:41.393 2239 2335 E : Device driver API match
08-17 09:46:41.393 2239 2335 E : Device driver API version: 29
08-17 09:46:41.393 2239 2335 E : User space API version: 29
08-17 09:46:41.393 2239 2335 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:41.396 2239 2335 E cutils-trace: Error opening trace file: No such file or directory 2)
08-17 09:46:41.444 2239 2335 W BootAnimation: Unable to cache the animation
08-17 09:46:41.445 2239 2335 E BootAnimation: couldn't find audio_conf.txt
And now a boot with my r6p0 kernel:
Code:
08-17 09:39:51.241 2720 2720 I SurfaceFlinger: SurfaceFlinger is starting 08-17 09:39:51.252 2720 2720 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W... 08-17 09:39:51.256 2720 2720 D libEGL : loaded /system/lib/egl/libEGL_mali.so 08-17 09:39:51.261 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so 08-17 09:39:51.291 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so 08-17 09:39:51.310 1988 1988 W auditd : type=1325 audit0.0:135): table=filter family=2 entries=11 08-17 09:39:51.328 2720 2720 W libEGL : eglInitialize0x1) failed EGL_BAD_ALLOC) 08-17 09:39:51.340 2720 2720 D gralloc : int init_frame_buffer_lockedprivate_module_t*) Initializing framebuffer 08-17 09:39:51.340 2720 2720 I gralloc : using fd=12) 08-17 09:39:51.340 2720 2720 I gralloc : id = s3cfb 08-17 09:39:51.340 2720 2720 I gralloc : xres = 720 px 08-17 09:39:51.340 2720 2720 I gralloc : yres = 1280 px 08-17 09:39:51.340 2720 2720 I gralloc : xres_virtual = 720 px 08-17 09:39:51.340 2720 2720 I gralloc : yres_virtual = 2560 px 08-17 09:39:51.340 2720 2720 I gralloc : bpp = 32 08-17 09:39:51.340 2720 2720 I gralloc : r = 16:8 08-17 09:39:51.340 2720 2720 I gralloc : g = 8:8 08-17 09:39:51.340 2720 2720 I gralloc : b = 0:8 08-17 09:39:51.340 2720 2720 I gralloc : width = 69 mm 265.043488 dpi) 08-17 09:39:51.340 2720 2720 I gralloc : height = 123 mm 264.325195 dpi) 08-17 09:39:51.340 2720 2720 I gralloc : refresh rate = 58.00 Hz 08-17 09:39:51.352 2720 2720 E HAL : load: module=/system/lib/hw/hwcomposer.exynos4.so 08-17 09:39:51.352 2720 2720 E HAL : dlopen failed: library "libhdmiclient.so" not found 08-17 09:39:51.352 2720 2720 E SurfaceFlinger: hwcomposer module not found 08-17 09:39:51.354 2720 2720 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query 08-17 09:39:51.354 2720 2720 F SurfaceFlinger: no suitable EGLConfig found, giving up 08-17 09:39:51.354 2720 2720 F libc : Fatal signal 6 SIGABRT), code -6 in tid 2720 surfaceflinger) 08-17 09:39:51.355 2089 2089 I DEBUG : property debug.db.uid not set; NOT waiting for gdb. 08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb shell setprop debug.db.uid 100000 08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb forward tcp:5039 tcp:5039 08-17 09:39:51.456 2089 2089 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 08-17 09:39:51.456 2089 2089 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100' 08-17 09:39:51.456 2089 2089 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys' 08-17 09:39:51.456 2089 2089 F DEBUG : Revision: '0' 08-17 09:39:51.456 2089 2089 F DEBUG : ABI: 'arm' 08-17 09:39:51.456 2089 2089 F DEBUG : pid: 2720, tid: 2720, name: surfaceflinger >>> /system/bin/surfaceflinger <<< 08-17 09:39:51.456 2089 2089 F DEBUG : signal 6 SIGABRT), code -6 SI_TKILL), fault addr -------- 08-17 09:39:51.467 2089 2089 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up' 08-17 09:39:51.467 2089 2089 F DEBUG : r0 00000000 r1 00000aa0 r2 00000006 r3 40146b8c 08-17 09:39:51.467 2089 2089 F DEBUG : r4 40146b94 r5 40146b44 r6 00000000 r7 0000010c 08-17 09:39:51.467 2089 2089 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001 08-17 09:39:51.467 2089 2089 F DEBUG : ip 00000006 sp beff14b8 lr 401957a9 pc 40197ba4 cpsr 400f0010 08-17 09:39:51.478 2089 2089 F DEBUG : 08-17 09:39:51.478 2089 2089 F DEBUG : backtrace: 08-17 09:39:51.478 2089 2089 F DEBUG : #00 pc 00044ba4 /system/lib/libc.so tgkill+12) 08-17 09:39:51.478 2089 2089 F DEBUG : #01 pc 000427a5 /system/lib/libc.so pthread_kill+32) 08-17 09:39:51.478 2089 2089 F DEBUG : #02 pc 0001ba2f /system/lib/libc.so raise+10) 08-17 09:39:51.478 2089 2089 F DEBUG : #03 pc 00018bd1 /system/lib/libc.so __libc_android_abort+34) 08-17 09:39:51.478 2089 2089 F DEBUG : #04 pc 000167f0 /system/lib/libc.so abort+4) 08-17 09:39:51.478 2089 2089 F DEBUG : #05 pc 000090ab /system/lib/libcutils.so __android_log_assert+86) 08-17 09:39:51.478 2089 2089 F DEBUG : #06 pc 0002b495 /system/lib/libsurfaceflinger.so 08-17 09:39:51.478 2089 2089 F DEBUG : #07 pc 0002b095 /system/lib/libsurfaceflinger.so 08-17 09:39:51.478 2089 2089 F DEBUG : #08 pc 0001adcd /system/lib/libsurfaceflinger.so _ZN7android14SurfaceFlinger4initEv+240) 08-17 09:39:51.478 2089 2089 F DEBUG : #09 pc 00000ecb /system/bin/surfaceflinger 08-17 09:39:51.478 2089 2089 F DEBUG : #10 pc 0001669d /system/lib/libc.so __libc_init+44) 08-17 09:39:51.478 2089 2089 F DEBUG : #11 pc 00000d90 /system/bin/surfaceflinger 08-17 09:39:51.475 1988 1988 W auditd : type=1325 audit0.0:141): table=filter family=2 entries=8 08-17 09:39:51.475 2757 2757 W iptables: type=1300 audit0.0:141): arch=40000028 syscall=294 per=800008 success=yes exit=0 a0=4 a1=0 a2=40 a3=40829920 items=0 ppid=2719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=none) ses=4294967295 exe="/system/bin/iptables" subj=u:r:netd:s0 key=null) 08-17 09:39:51.787 2089 2089 F DEBUG : 08-17 09:39:51.787 2089 2089 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03 08-17 09:39:55.942 2797 2797 I Netd : Netd 1.0 starting 08-17 09:39:55.943 2797 2797 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present. 08-17 09:39:55.943 2797 2797 D TetherController: Setting IP forward enable = 0 08-17 09:39:56.002 2798 2798 I SurfaceFlinger: SurfaceFlinger is starting
The error comes from here:
Code:
EGLConfig RenderEngine::chooseEglConfigEGLDisplay display, int format) {
status_t err;
EGLConfig config;
// First try to get an ES2 config
err = selectEGLConfigdisplay, format, EGL_OPENGL_ES2_BIT, &config);
if err != NO_ERROR) {
// If ES2 fails, try ES1
err = selectEGLConfigdisplay, format, EGL_OPENGL_ES_BIT, &config);
if err != NO_ERROR) {
// still didn't work, probably because we're on the emulator...
// try a simplified query
ALOGW"no suitable EGLConfig found, trying a simpler query");
err = selectEGLConfigdisplay, format, 0, &config);
if err != NO_ERROR) {
// this EGL is too lame for android
LOG_ALWAYS_FATAL"no suitable EGLConfig found, giving up");
}
}
}
There are no pb with hwcomposer. It seems that it lakes a part of EGL informations.
Maybe this in frameworks/native/opengl/libagl/egl.cpp:
Code:
/* 32-bit BGRA */ static config_pair_t const config_8_attribute_list[] = { { EGL_BUFFER_SIZE, 32 }, { EGL_ALPHA_SIZE, 8 }, { EGL_BLUE_SIZE, 8 }, { EGL_GREEN_SIZE, 8 }, { EGL_RED_SIZE, 8 }, { EGL_DEPTH_SIZE, 0 }, { EGL_CONFIG_ID, 2 }, { EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 }, { EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT }, };
Bizcuite
Code:
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so 08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so 08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
These are specific for the r3p2 version of the device. You HAVE to build a new ROM that contains the Kernel with r6p0 version for everything to fit properly. Trust me.
17th August 2016, 02:26 PM
|#7
OP Senior Member
Thanks: 763
Quote:
Originally Posted by Alexander_the_B0ss
Code:
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so 08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so 08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
These are specific for the r3p2 version of the device. You HAVE to build a new ROM that contains the Kernel with r6p0 version for everything to fit properly. Trust me.
I made ATM compilation in progress) my own ROM with the new kernel, i haven’t wait you to do it
But i don’t understand why it’s necessary for you to compile the OS with the kernel? where are the relations with the Android code and the kernel?) For me, kernel files are not used to compile gralloc/hwcomposer/others graphics libs.
By experience, when i had to build ROM for Archos gen 8, kernel is not necessary to have a working build it was compile as an external kernel).
Kernel can be compiled by internal CM/AOSP toolchain or independant toolchain….
I compile the kernel by linaro toolchain to save time.
Bizcuite
17th August 2016, 02:33 PM
|#8
Senior Member
Thanks: 296
Quote:
Originally Posted by bizcuite
I made ATM compilation in progress) my own ROM with the new kernel, i haven’t wait you to do it
But i don’t understand why it’s necessary for you to compile the OS with the kernel? where are the relations with the Android code and the kernel?) For me, kernel files are not used to compile gralloc/hwcomposer/others graphics libs.
Kernel can be compiled by internal CM/AOSP toolchain or independant toolchain….
I compile the kernel by linaro toolchain to save time.
Bizcuite
That is because, especially if you are upgrading the driver version, the graphics files gralloc, hwcomposer, OpenGL) only know the “old” revision of the driver, i.e. r3p2. With the newer version, r6p0, many things have changed, so the graphics part of the
ROM doesn’t know what to do and simply abandons trying. Try to read the logcat and you’ll see what I mean by it. It also needs to build a new EGLConfig for the ROM to work with.
Code:
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
Code:
// this EGL is too lame for android
18th August 2016, 01:58 PM
|#9
OP Senior Member
Thanks: 763
Quote:
Originally Posted by Alexander_the_B0ss
That is because, especially if you are upgrading the driver version, the graphics files gralloc, hwcomposer, OpenGL) only know the “old” revision of the driver, i.e. r3p2. With the newer version, r6p0, many things have changed, so the graphics part of the
ROM doesn’t know what to do and simply abandons trying. Try to read the logcat and you’ll see what I mean by it. It also needs to build a new EGLConfig for the ROM to work with.
Code:
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
Code:
// this EGL is too lame for android
A new ROM with r6p0 kernel include has been terminated yesterday applications update at start has changed, it’s beautiful lol).
Same error with surfaceflinger and the Hack doesn’t worked for us.
Nothing has changed!! same logcat)
I recompile with a newer version of gralloc i build it ATM) and will try to see evolutions in the logcat.
sources of gralloc:
HTML Code:
http://malideveloper.arm.com/resources/drivers/open-source-mali-gpus-android-gralloc-module/
and choose 13 january 2015 version
Back)Port driver PVR is more easily!!!
Bizcuite
The Following 3 Users Say Thank You to bizcuite
For This Useful Post: [ View ] Gift bizcuite Ad-Free
18th August 2016, 03:29 PM
|#10
Senior Member
Thanks: 296
Quote:
Originally Posted by bizcuite
A new ROM with r6p0 kernel include has been terminated yesterday applications update at start has changed, it’s beautiful lol).
Same error with surfaceflinger and the Hack doesn’t worked for us.
Nothing has changed!! same logcat)
I recompile with a newer version of gralloc i build it ATM) and will try to see evolutions in the logcat.
sources of gralloc:
HTML Code:
http://malideveloper.arm.com/resources/drivers/open-source-mali-gpus-android-gralloc-module/
and choose 13 january 2015 version
Back)Port driver PVR is more easily!!!
Bizcuite
Now it should work. If the gralloc accepts the r6p0 drivers we’re in business.
The Following 2 Users Say Thank You to 西村大一
For This Useful Post: [ View ] Gift 西村大一 Ad-Free
24th August 2016, 06:51 PM
|#11
OP Senior Member
Thanks: 763
Quote:
Originally Posted by Alexander_the_B0ss
Now it should work. If the gralloc accepts the r6p0 drivers we’re in business.
It doesn’t worked because the drivers ils not loaded correctly. /dev/mali is not created, UMP driver yes. There are ni crash from the kernel :/
I work on kernel before….
I have included too the new UMP HALwith the new gralloc) into n7100 device folder.
I will inform you about any progression…
Bizcuite
Sent from my GT-N7100 using
XDA-Developers mobile app
24th August 2016, 06:51 PM
|#11
OP Senior Member
Thanks: 763
Quote:
Originally Posted by Alexander_the_B0ss
Now it should work. If the gralloc accepts the r6p0 drivers we’re in business.
It doesn’t worked because the drivers ils not loaded correctly. /dev/mali is not created, UMP driver yes. There are ni crash from the kernel :/
I work on kernel before….
I have included too the new UMP HALwith the new gralloc) into n7100 device folder.
I will inform you about any progression…
Bizcuite
Sent from my GT-N7100 using
XDA-Developers mobile app
The Following 3 Users Say Thank You to bizcuite
For This Useful Post: [ View ] Gift bizcuite Ad-Free
22nd September 2016, 07:26 AM
|#12
Senior Member
Thanks: 20
Quote:
Originally Posted by bizcuite
Hi guys,
Anyone has tried to switch r3p2 mali driver to r6p0 version?
I try to port it atm, kernel boot, but driver is not load correctly.
If you want try you can take kernel exynos from Google repo. And port mali_osk_locks.c files from r3p2 driver. I will push my first try which boot) on my github un few times.
This is the base of driver that i use:
https://android.googlesource.com/ker…se/drivers/gpu
My github:
https://github.com/bizcuite/android_…2/tree/r6p0_v1
Bizcuite
Sent from my GT-N7100 using
XDA-Developers mobile app
Work on void kernel
The Following 2 Users Say Thank You to xress7
For This Useful Post: [ View ] Gift xress7 Ad-Free
22nd September 2016, 10:30 AM
|#13
OP Senior Member
Thanks: 763
Quote:
Originally Posted by xress7
Work on void kernel
I have rebase all my work and use drivers kernel/gralloc/UMP) from Mali website not pushed in git) but i put this project in stand by, because i compile with success but doesn’t boot) staging/cm14 atm.
Bizcuite
Sent from my GT-N7100 using
XDA-Developers mobile app
The Following User Says Thank You to bizcuite
For This Useful Post: [ View ] Gift bizcuite Ad-Free
22nd September 2016, 11:30 PM
|#14
Senior Member
Thanks: 20
Quote:
Originally Posted by bizcuite
I have rebase all my work and use drivers kernel/gralloc/UMP) from Mali website not pushed in git) but i put this project in stand by, because i compile with success but doesn’t boot) staging/cm14 atm.
Bizcuite
Sent from my GT-N7100 using
XDA-Developers mobile app
Ok you try commit him new version mali
6th October 2016, 05:33 PM
|#15
Account currently disabled
Thanks: 15
Hey it grivers but games?
Note2 rooms 4.4.4 suport?
11th October 2016, 09:52 AM
|#16
OP Senior Member
Thanks: 763
Quote:
Originally Posted by DRAMER16
Hey it grivers but games?
Note2 rooms 4.4.4 suport?
The driver is link to the rom by libraries used) it will be never compatible with another roms, only roms build with news librairies.
The driver doesn’t worked and i don’t worked on it ATM.
Bizcuite