AnsweredAssumed Answered

VPU Encoder Failing with Timeout Error

Question asked by san msk on May 27, 2015
Latest reply on May 18, 2016 by G.y. Chen

Hi Everyone,

We have interfaced OV8825 Camera Module with our custom iMX6 solo board running on Android Kitkat 4.4.2.

While performing YUV to JPEG Conversion using VPU(fw version 3.1.1_r46058),  we are facing "vpu encode frame failure"error and Camera Application crashes following it.

We cant locate the cause behind this error.

Does VPU has the ablity to encode images with large resolution like 8MP(3,264 x 2,448) or Is this error related with VPU Configuration ?

 

Following is the logcat message,

 

I/vpu-lib ( 3621): Product Info: i.MX6Q/D/S

I/FslCameraHAL( 3621): vpu lib version : major.minor.rel=5.4.25

I/FslCameraHAL( 3621): vpu fw version : major.minor.rel_rcode=3.1.1_r46058

I/vpu-lib ( 3621): <gpu> alloc handle: 0x4225cd80, paddr: 0x4a9bd000, vaddr: 0x48eb5000

I/vpu-lib ( 3621): <gpu> alloc handle: 0x4000b8b0, paddr: 0x46df2000, vaddr: 0x452ea000

I/vpu-lib ( 3621): <gpu> alloc handle: 0x40d22648, paddr: 0x4def8000, vaddr: 0x4c3f0000

I/vpu-lib ( 3621): <gpu> alloc handle: 0x40d22660, paddr: 0x4ec4f000, vaddr: 0x4d147000

I/vpu-lib ( 3621): <gpu> alloc handle: 0x40bcc650, paddr: 0x1e000000, vaddr: 0x52028000

VPU blocking: timeout.

VPU blocking: timeout.

VPU blocking: timeout.

VPU blocking: timeout.

E/FslCameraHAL( 3621): vpu_encode, vpu encode frame failure: ret=0x8 // What does this return value specify?

I/vpu-lib ( 3621): vpu_SWReset

E/FslCameraHAL( 3621): vpu_encode, vpu encode frame failure: no output,  ret=0x0

I/vpu-lib ( 3621): <gpu> free handle: 0x4000b8b0, paddr: 0x46df2000, vaddr: 0x452ea000

I/vpu-lib ( 3621): <gpu> free handle: 0x4225cd80, paddr: 0x4a9bd000, vaddr: 0x48eb5000

I/vpu-lib ( 3621): <gpu> free handle: 0x40d22648, paddr: 0x4def8000, vaddr: 0x4c3f0000

I/vpu-lib ( 3621): <gpu> free handle: 0x40d22660, paddr: 0x4ec4f000, vaddr: 0x4d147000

I/vpu-lib ( 3621): <gpu> free handle: 0x40bcc650, paddr: 0x1e000000, vaddr: 0x52028000

E/FslCameraHAL( 3621): makeJpegImage encodeImage failed

E/FslCameraHAL( 3621): processFrame makeJpegImage failed

E/FslCameraHAL( 3621): handleRequest:No more requests available

I/FslCameraHAL( 3621): handleRequest exiting

I/FslCameraHAL( 3621): stopAllStreams running

I/FslCameraHAL( 3621): CaptureStream::stop

I/FslCameraHAL( 3621): StreamAdapter stop running

E/FslCameraHAL( 3621):  frame->release();

F/libc    ( 3621): Fatal signal 11 (SIGSEGV) at 0xd1da97b0 (code=1), thread 3776 (RequestHandle)

I/DEBUG   ( 2317): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

 

 

 

 

Regards,

Sandheep

Outcomes