2013/10/5 Alexandre Lissy <[email protected]>: > Le 05/10/2013 10:05, WEN Pingbo a écrit : >> hi,all >> I'm porting firefox os on a smdk5410 device, but the touchscreen >> doesn't lightened. >> >> here are the related logs: >> >> I/hwcomposer( 2119): unblank ioctl failed (display already unblanked) >> E/IMGSRV ( 2119): :0: gralloc_device_alloc: Framebuffer/bypass usage >> bits are incompatible with non-GPU-renderable pixel format (1) >> W/GraphicBufferAllocator( 2119): WOW! gralloc alloc failed, waiting >> for pending frees! >> E/IMGSRV ( 2119): :0: gralloc_device_alloc: Framebuffer/bypass usage >> bits are incompatible with non-GPU-renderable pixel format (1) >> W/GraphicBufferAllocator( 2119): alloc(1080, 1800, 1, 00001a00, ...) >> failed -22 (Invalid argument) >> E/ ( 2119): GraphicBufferAlloc::createGraphicBuffer(w=1080, >> h=1800) failed (Invalid argument), handle=0x0 >> W/ ( 2119): Couldn't show bootanimation (Invalid argument) >> >> I noticed the problem is occured in >> gecko/widget/gonk/libdisplay/GonkDisplayJB.cpp: >> >> mBootAnimBuffer = mAlloc->createGraphicBuffer(mWidth, mHeight, >> surfaceformat, GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_HW_RENDER | >> GRALLOC_USAGE_HW_COMPOSER, &error); >> if (error == NO_ERROR && mBootAnimBuffer.get()) >> StartBootAnimation(); >> else >> ALOGW("Couldn't show bootanimation (%s)", strerror(-error)); >> >> should I change the pixel format in createGraphicBuffer function? And >> does gecko support gnu acc? > > Do you happen to know which version of HWComposer your hardware has ? > > Because as far as I can recall, only 1.1 is supported. >
yes, it's hwcomposer 1.1, here are the logs: D/HWCService( 2109): ExynosHWCService Constructor is called D/HWCService( 2109): int android::ExynosHWCService::createServiceLocked():: D/HWCService( 2109): adding Exynos.HWCService succeeded D/HWCService( 2109): HWCCtx=0x414c8748 I/SurfaceFlinger( 2109): Using composer version 1.1 I/mediaserver( 2111): ServiceManager: 0x40d29e30 I/AudioFlinger( 2111): Using default 3000 mSec as standby time. I/CameraService( 2111): CameraService started (pid=2111) E/HAL ( 2111): load: module=/vendor/lib/hw/camera.mx3.so >> >> BR >> pingbo >> _______________________________________________ >> dev-b2g mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-b2g >> > > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
