> CODA code name is usually used to speak about mainline kernel, but you seem
> to use gstreamer-imx wich only works with downstream kernel. Would it be
> possible to clarify ?
I should’ve clarified, apologies.
The first message was one of my first tests with mainline. Later I found out imx plugins are no-good for mainline and used GStreamer 1.12 OR GStreamer 1.8 without imx plugins.
The point is: every pipeline I try to use gives the output I can’t initialize CODA.
I can only obtain an ouput when using test sources.
I tried to patch CODA with various patches published around mainline kernel mailing lists, got no success while doing it. Always get stuck in the init step of CODA. Actually,
if I apply [media] coda: fix decoder sequence init escape flag I brick my board (have to reset it) every time I try to initialize CODA.
On Mon, Oct 9, 2017 at 10:59 AM, João Rodrigues <[hidden email]> wrote:
> I am trying to use GStreamer in an iMX.6 SoC with the mainline kernel
> (4.13.x), 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
> I can only generate an output on my screen with gst-launch-1.0 videotestsrc
> ! autovideosink (fbdevsink also works)
> Looking forward for a solution
> 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)
You should use kmssink instead.
> CMA memory is set to 64MB (320 MB does not fix it)
I tried cma=128M on my tests.
> Gstreamer ver - 1.8.0
> In the meantime I have tried with GStreamer 1.12, same results
Today I managed to get Gstreamer 1.12.2 to work on imx6 with kernel 4.13.
I learned that we currently have some issues when the video file and
display resolutions do not match.
Then I tried playing a full HD video clip on a full HD HDMI screen.
I would try this but my GStreamer 1.12 (gstreamer-plugins-bad) I’ve built from yocto does not have kmssink for some reason. I still have some bugs to work out here. Thank you all for your support, if I manage to get a video running I’ll update.
On Tue, Oct 10, 2017 at 4:45 AM, João Rodrigues <[hidden email]> wrote:
> Hello Fabio,
> I do have a HDMI port on my board. My board is an Apalis iMX6 from Toradex.
> Although, the monitor I currently have does not support full 1080p
> definitions. Will that be an issue? I suppose it will be according to what
> you said.