<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Fabio,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
thanks for your fast answer!</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
A few hours ago, i just found an old article of you where you described howto do it ;):</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<a data-auth="NotApplicable" class="OWAAutoLink" id="OWAe2d14414-29ea-b280-0bde-13cb4c247a23" href="https://imxdev.gitlab.io/tutorial/Running_kmscube_with_Etnaviv_on_mx6sabresd_board/">https://imxdev.gitlab.io/tutorial/Running_kmscube_with_Etnaviv_on_mx6sabresd_board/</a></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I try to do the setup you described there, but i still got no plan how to port the devicetree i got for my board from the NXP kernel variant to the mainline, without causing a bunch of new problems.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
A thing I directly noticed as a difference between the setup you described there and mine is that the "2204000.gpu" (i think thats the imx-drm) does not show up in /proc/interrupts only the other two (130000.gpu and 134000.gpu) also with interrupt 10 and 11
as yours. The imx-drm shows up as /dev/dri/card1. Do you have a guess if i am just missing something obvious? Would be nice if i would only need a small change and not changing everything...</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Grettings,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
André</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<a href="https://www.richard-wolf.com/de/unternehmen/kongresse/messe-detail/77-kongress-der-deutschen-gesellschaft-fuer-urologie-dgu" title=""><img src="https://www.richard-wolf.com/mam/data/Typo3/banner/e-mail-banner-DGU25.png"></a><a href="https://www.richard-wolf.com/de/academy-prima-vista/masterclass-workshops/masterclass-workshop-minimally-invasive-upper-gi-surgery-2" title=""></a><a href="https://www.richard-wolf.com/en/company/congresses/congress-detail/arab-health-2025" title=""></a>
<p style="margin-bottom: 1pt;"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Richard
Wolf GmbH, Pforzheimer Strasse 32, 75438 Knittlingen<br>
Managing Directors: Juergen Pfab, Juergen Steinbeck. Trade Register: Mannheim
HRB 510031 </span><o:p></o:p></p><p>
</p><p style="margin-bottom: 0pt;"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:darkgray">Richard
Wolf GmbH routinely monitors the content of e-mail sent and received via its
network for the purposes of ensuring compliance with its policies and
procedures. Richard Wolf GmbH is not responsible for any changes made to the
message after it has been sent. Where opinions are expressed, they are not
necessarily those of Richard Wolf GmbH. This e-mail and any files transmitted
with it are confidential and intended solely for the use of the individual or
entity to which they are addressed. If you are not the intended addressee, or
the person responsible for delivering it to them, you may not copy, forward,
disclose, or otherwise use it or any part of it in any way. To do so may be
unlawful. If you receive this e-mail by mistake, please advise the sender
immediately.<br></span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:darkgray"><br>
<a href="https://www.richard-wolf.com/en/data-protection-policy" title=" Data Protection Policy" style="color: rgb(169, 169, 169);"> Data Protection Policy</a></span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#9A9A9A">
| </span><a href="https://www.richard-wolf.com/en/legal-information/" title="Legal Information" style="font-size: 8pt; color: rgb(169, 169, 169);">Legal Information</a><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#9A9A9A">
| </span><a href="https://www.richard-wolf.com/en/terms-conditions/" title="Terms & Conditions" style="font-size: 8pt; color: rgb(154, 156, 158);">Terms & Conditions</a></p>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg">
<div style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<b>Von:</b> Fabio Estevam <festevam@gmail.com><br>
<b>Gesendet:</b> Montag, 4. August 2025 16:39<br>
<b>An:</b> Wagner Andre <andre.wagner@richard-wolf.com><br>
<b>Cc:</b> etnaviv@lists.freedesktop.org <etnaviv@lists.freedesktop.org><br>
<b>Betreff:</b> Re: running etnaviv driver on i.mx6</div>
<div style="direction: ltr;"> </div>
</div>
<div style="font-size: 11pt;">Hi Andre,<br>
<br>
On Mon, Aug 4, 2025 at 8:11 AM Wagner Andre<br>
<andre.wagner@richard-wolf.com> wrote:<br>
><br>
> Hello everyone,<br>
><br>
> 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...<br>
><br>
> What I did so far:<br>
><br>
> 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.<br>
> 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<br>
<br>
It's better not to use the NXP kernel at all if you want to use Etnaviv.<br>
<br>
Just use a mainline kernel from kernel.org with the<br>
imx_v6_v7_defconfig, boot it, and the Etnaviv driver will be loaded by<br>
default.<br>
<br>
You can then try to run the 'kmscube' application to confirm that the<br>
driver is functional.</div>
</body>
</html>