Graphical Support for Apalis iMX.6 in Mainline Kernel

Hello.

I am messing around with the mainline kernel with Apalis iMX6 and got several things sorted out using some questions & answers already posted. i.e. - it is working with a rootfs created from yocto with some packages.

Although, I know that vivante / galcore has no mainline kernel support but I do realise that mainline kernel has etnaviv driver which is an open-source reverse-engineered driver for vivante SoCs, which I am trying to use.

Unfortunately I am having no success on using hardware-accelerated gstreamer, since i cant use the packages / plugins for iMX because they are based in vivante kernel driver / libs.

Bottom-line: I am trying to use gstreamer etnaviv, no success. Can someone provide me some insights in the right way?

Best regards.

Hi

We don’t have experience with the setup you are experimenting with.
Some work has been done in meta-freescale, see e.g. here.

Max

PS. With meta-freescale the kernel part of the vivante/galcore driver is built as an external module against the kernel sources used, so you could use mainline and the vivante kernel drivers.

PPS. The HW accelerated video encoding / decoding and probably some of the video sinks in gstreamer have nothing to do with the vivante GPU but with the VPU block and its firmware.

Hello Max and thank you for your answer.

I have noticed that work in meta-freescale, although it is not available in the morty branch. Should I move to the pyro / master branch or will I break Toradex-related things by doing it?

PPS. The HW accelerated video encoding / decoding and probably some of the video sinks in gstreamer have nothing to do with the vivante GPU but with the VPU block and its firmware.

I noticed this yesterday, you helped me confirm it. I am now investigating the sinks and decoders to use with the mainline VPU module - CODA.

Regards,

Hi

The meta-toradex-xxx layers from the morty branch will not work in a pyro or master setup.

So you could either backport what you need into the meta-freescale morty branch or you could move to pyro or master by just using the meta-freescale layers as the BSP.

Max