AnsweredAssumed Answered

I.MX6_MAX Latency with Miracast

Question asked by Kamdar on May 24, 2018
Latest reply on May 28, 2018 by igorpadykov

Hi All

 

We have 2 nitrogen_6max devices, 1 as miracast source and 1 as miracast sink. Both the boards are running on Android 4.1.3. We are using oc5640 camera module.

On miracast capture and display we are getting video latency of about 400 ms.

When miracast starts at sink side we are getting below error. We are doubting if this is the issue:

E/BufferQueue(  110): [SurfaceView] query: BufferQueue has been abandoned!
E/ACodec  (  113): [OMX.Freescale.std.video_decoder.avc.v3.hw-based] NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS query failed: No such device (19)
E/BufferQueue(  110): [SurfaceView] dequeueBuffer: BufferQueue has been abandoned!
E/ACodec  (  113): dequeueBuffer failed.
W/BufferQueue(  110): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue(  110): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue(  110): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue(  110): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue(  110): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
I/vpu-lib (  113): <gpu> free handle: 0x77cb3878, paddr: 0x6868b000, vaddr: 0x6f390000
I/vpu-lib (  113): <gpu> free handle: 0x77cb3850, paddr: 0x6818b000, vaddr: 0x6ee90000
I/vpu-lib (  113): <gpu> free handle: 0x77cb4960, paddr: 0x68c84000, vaddr: 0x6f989000
I/TunnelRenderer(  651): notify 7, 0, 0
I/TunnelRenderer(  651): message not care about
W/NetworkSession(  651): Error writing to pipe (Bad file number)
We need to achieve atleast a latency of 100ms-200ms. Your help would be highly appreciated.
Our commercial production is at stake because of the same.
Kind Regards
Rajvi

Outcomes