shell@hikey:/ # insmod system/modules/mali.ko [ 65.698130] ion: heap info : id 10 name fb phy 0x37300000 size 26214400 [ 65.707227] Mali: GPU version: CF070000 [ 65.720324] Mali: Mali device driver loaded shell@hikey:/ # chmod 666 /dev/mali shell@hikey:/ # logcat -c shell@hikey:/ # start shell@hikey:/ # log[ 77.127329] [drm:hisi_drm_fb_helper_check_var] *ERROR* fb userspace request width/height/bpp is greater than current fb request 1280x720-32 (virtual 1280x2160) > 1280x1440-32 cat --------- beginning of main I/Netd ( 1750): Netd 1.0 starting E/Netd ( 1750): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory E/Netd ( 1750): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory E/Netd ( 1750): Failed to open /proc/sys/net/ipv6/conf/wlan0/accept_ra_rt_table: No such file or directory I/SurfaceFlinger( 1751): SurfaceFlinger is starting I/SurfaceFlinger( 1751): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... D/libEGL ( 1751): loaded /system/lib64/egl/libGLES_mali.so I/MaliBase( 1751): Mali libraries: I/MaliBase( 1751): Compiled: Dec 15 2014, time: 14:30:53. I/MaliBase( 1751): Driver revision: 3f62168 W/[Gralloc-Warning]( 1751): int init_frame_buffer_locked(private_module_t*):253 FBIOPUT_VSCREENINFO failed, page flipping not supported fd: 11 W/[Gralloc-Warning]( 1751): int init_frame_buffer_locked(private_module_t*):261 page flipping not supported (yres_virtual=720, requested=1440) W/[Gralloc-Warning]( 1751): int init_frame_buffer_locked(private_module_t*):283 fbdev pixclock is zero for fd: 11 I/[Gralloc]( 1751): using (fd=11) I/[Gralloc]( 1751): id = I/[Gralloc]( 1751): xres = 1280 px I/[Gralloc]( 1751): yres = 720 px I/[Gralloc]( 1751): xres_virtual = 1280 px I/[Gralloc]( 1751): yres_virtual = 1440 px I/[Gralloc]( 1751): bpp = 32 I/[Gralloc]( 1751): r = 0:8 I/[Gralloc]( 1751): g = 8:8 I/[Gralloc]( 1751): b = 16:8 I/[Gralloc]( 1751): width = 203 mm (160.157639 dpi) I/[Gralloc]( 1751): height = 114 mm (160.421051 dpi) I/[Gralloc]( 1751): refresh rate = 60.00 Hz E/SurfaceFlinger( 1751): hwcomposer module not found I/SurfaceFlinger( 1751): EGL information: I/SurfaceFlinger( 1751): vendor : Android I/SurfaceFlinger( 1751): version : 1.4 Android META-EGL I/SurfaceFlinger( 1751): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time 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_render I/SurfaceFlinger( 1751): Client API: OpenGL_ES I/SurfaceFlinger( 1751): EGLSurface: 8-8-8-8, config=0x60000016 I/SurfaceFlinger( 1751): OpenGL ES informations: I/SurfaceFlinger( 1751): vendor : ARM I/SurfaceFlinger( 1751): renderer : Mali-450 MP I/SurfaceFlinger( 1751): version : OpenGL ES 2.0 I/SurfaceFlinger( 1751): extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OEr I/SurfaceFlinger( 1751): GL_MAX_TEXTURE_SIZE = 4096 I/SurfaceFlinger( 1751): GL_MAX_VIEWPORT_DIMS = 4096 E/cutils-trace( 1751): Error opening trace file: Permission denied (13) E/ion ( 1751): ioctl fd 10 c0404908(unknown) failed with code -1: Invalid argument E/ion ( 1751): map iommu failed! E/[Gralloc-ERROR]( 1751): int alloc_backend_alloc(alloc_device_t*, int, int, size_t, int, const native_handle_t**):101 ion_map_iommu( 10 ) failed, usage ( 1e02 ), byte_w ( 8192 ) W/GraphicBufferAllocator( 1751): alloc(1280, 720, 1, 00001e02, ...) failed -1 (Operation not permitted) E/ ( 1751): GraphicBufferAlloc::createGraphicBuffer(w=1280, h=720) failed (Operation not permitted), handle=0x0 E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: createGraphicBuffer failed E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -1, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) E/libEGL ( 1751): call to OpenGL ES API with no current context (logged once per thread) D/SurfaceFlinger( 1751): Set power mode=2, type=0 flinger=0x7fb7764000 E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) W/SurfaceFlinger( 1751): DisplayDevice::makeCurrent failed. Aborting surface composition for display Built-in Screen E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) E/SurfaceFlinger( 1751): DisplayDevice::makeCurrent on default display failed. Aborting. E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) I/iptables( 1750): iptables v1.4.20: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) I/iptables( 1750): Perhaps iptables or your kernel needs to be upgraded. I/iptables( 1750): iptables terminated by exit(3) E/Netd ( 1750): exec() res=0, status=768 for /system/bin/iptables -t nat -N oem_nat_pre I/iptables( 1750): iptables v1.4.20: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) I/iptables( 1750): Perhaps iptables or your kernel needs to be upgraded. I/iptables( 1750): iptables terminated by exit(3) E/Netd ( 1750): exec() res=0, status=768 for /system/bin/iptables -t nat -A PREROUTING -j oem_nat_pre I/iptables( 1750): iptables v1.4.20: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) I/iptables( 1750): Perhaps iptables or your kernel needs to be upgraded. I/iptables( 1750): iptables terminated by exit(3) E/Netd ( 1750): exec() res=0, status=768 for /system/bin/iptables -t nat -N natctrl_nat_POSTROUTING I/iptables( 1750): iptables v1.4.20: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) I/iptables( 1750): Perhaps iptables or your kernel needs to be upgraded. I/iptables( 1750): iptables terminated by exit(3) E/Netd ( 1750): exec() res=0, status=768 for /system/bin/iptables -t nat -A POSTROUTING -j natctrl_nat_POSTROUTING V/NatController( 1750): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0 V/NatController( 1750): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0 V/NatController( 1750): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=3 E/Netd ( 1750): Unable to create netlink socket: Protocol not supported E/Netd ( 1750): Unable to open quota2 logging socket D/MDnsDS ( 1750): MDnsSdListener::Hander starting up D/MDnsDS ( 1750): MDnsSdListener starting to monitor D/MDnsDS ( 1750): Going to poll with pollCount 1 E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) W/SurfaceFlinger( 1751): DisplayDevice::makeCurrent failed. Aborting surface composition for display Built-in Screen E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) E/SurfaceFlinger( 1751): DisplayDevice::makeCurrent on default display failed. Aborting. E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) D/libEGL ( 1848): loaded /system/lib64/egl/libGLES_mali.so I/MaliBase( 1848): Mali libraries: I/MaliBase( 1848): Compiled: Dec 15 2014, time: 14:30:53. I/MaliBase( 1848): Driver revision: 3f62168 E/cutils-trace( 1848): Error opening trace file: Permission denied (13) E/ion ( 1751): ioctl fd 10 c0404908(unknown) failed with code -1: Invalid argument E/ion ( 1751): map iommu failed! E/[Gralloc-ERROR]( 1751): int alloc_backend_alloc(alloc_device_t*, int, int, size_t, int, const native_handle_t**):101 ion_map_iommu( 10 ) failed, usage ( f02 ), byte_w ( 8192 ) W/GraphicBufferAllocator( 1751): alloc(1280, 720, 1, 00000f02, ...) failed -1 (Operation not permitted) E/ ( 1751): GraphicBufferAlloc::createGraphicBuffer(w=1280, h=720) failed (Operation not permitted), handle=0x0 E/BufferQueueProducer( 1751): [BootAnimation] dequeueBuffer: createGraphicBuffer failed E/[EGL-ERROR]( 1848): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6751e10; err = -1, buf = 0x0,max_allowed_dequeued_buffers 3 E/libEGL ( 1848): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) W/SurfaceFlinger( 1751): DisplayDevice::makeCurrent failed. Aborting surface composition for display Built-in Screen E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) E/SurfaceFlinger( 1751): DisplayDevice::makeCurrent on default display failed. Aborting. E/BufferQueueProducer( 1751): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count E/[EGL-ERROR]( 1751): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x7fb6b1be10; err = -38, buf = 0x0,max_allowed_dequeued_buffers 2 E/libEGL ( 1751): eglMakeCurrent:777 error 3003 (EGL_BAD_ALLOC) ^C