running etnaviv driver on i.mx6
Fabio Estevam
festevam at gmail.com
Mon Aug 4 14:39:15 UTC 2025
Hi Andre,
On Mon, Aug 4, 2025 at 8:11 AM Wagner Andre
<andre.wagner at richard-wolf.com> wrote:
>
> Hello everyone,
>
> I try to run a run an (qt) app accelerated by the upstream etnaviv driver on an i.MX6 DL based SBC, but I just cannot get it working...
>
> What I did so far:
>
> I patched the imx-drm back from NXP version (since its adapted to their closed source galcore driver) to vanilla version, which should work with etnaviv. Dmesg shows also "Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0" and " Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1". So I expect both kernel drivers to work.
> I installed a Ubuntu 22.04 with a slightly modified NXP Linux kernel in version 5.15.148 and used from Ubuntu 22.04 mesa in version 23.2.1
It's better not to use the NXP kernel at all if you want to use Etnaviv.
Just use a mainline kernel from kernel.org with the
imx_v6_v7_defconfig, boot it, and the Etnaviv driver will be loaded by
default.
You can then try to run the 'kmscube' application to confirm that the
driver is functional.
More information about the etnaviv
mailing list