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.

> 
> 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

Reply via email to