AnsweredAssumed Answered

Coda VPU in Mainline Kernel

Question asked by Rodrigues on Sep 15, 2017
Latest reply on Oct 9, 2017 by Fabio Estevam

Hello. 

I am trying to use GStreamer in an iMX.6 SoC with the mainline kernel (4.13), with the aid of the CODA vpu driver.

 

Although, when i run gst-launch-1.0 playbin uri=file:///home/root/test.mp4, i always get the following kernel message: 

[  386.336530] coda 2040000.vpu: CODA_COMMAND_SEQ_INIT timeout

 

I have tried various things by now, but was never able to generate an output.

I can only generate an output on my screen with gst-launch-1.0 videotestsrc ! autovideosink (fbdevsink also works)

 

Does anyone have a solution for this? What might be the cause of this miss-initialization?

 

Extra debug info:

CODA is initialized properly by the kernel;

the sink used by gstreamer is imxg2dvideosink (Which i think it is one of the sources of the issue)

CMA memory is set to 64MB (320 MB does not fix it)

Gstreamer ver - 1.8.0

Outcomes