<div dir="ltr"><div><div><div><div>Hi Lucas,<br><br></div>I see in xf86-video-armada/etnaviv/etnaviv.c, that each of the functions etnaviv_PolyLines,..., has a respective fallback function call name unaccel_...<br><br></div>When you say disable individual acceleration function, you are saying to force the call to the respective unaccel function?<br><br></div>Regards,<br></div>Luís<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 30, 2017 at 8:43 AM, Lucas Stach <span dir="ltr"><<a href="mailto:l.stach@pengutronix.de" target="_blank">l.stach@pengutronix.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Am Dienstag, den 29.08.2017, 14:36 -0300 schrieb Fabio Estevam:<br>
> On Mon, Aug 21, 2017 at 9:05 AM, Luís Mendes <<a href="mailto:luis.p.mendes@gmail.com">luis.p.mendes@gmail.com</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > I'm a software and hardware engineer and I would like to help fix this<br>
> > issue. I'm however not acquainted with Open GL nor with Vivante GPUs, thus<br>
> > some guidelines would be welcome.<br>
> ><br>
> > Problem details:<br>
> > This issue appears when I login into Ubuntu Mate 17.04. I'm using kernel<br>
> > 4.11.12 with Etnaviv drivers, libdrm 2.4.82 and mesa 17.2.0 RC4.<br>
> > During the login multiple MMU faults occur and the GUI becomes corrupted...<br>
> > the applications menu misses some words or characters, also dialog boxes<br>
> > appearing thereafter are also corrupted, missing some words or characters.<br>
> > The applications, including OpenGL accelerated ones are fine, rendering<br>
> > without detectable errors or artifacts.<br>
> ><br>
> > The error only occurs with GC3000, not with GC2000...<br>
> ><br>
> > Here is the dmesg output of the error and system:<br>
> > [ 6.260838] etnaviv gpu-subsystem: bound 134000.gpu (ops gpu_ops<br>
> > [etnaviv])<br>
> > [ 6.272870] etnaviv gpu-subsystem: bound 130000.gpu (ops gpu_ops<br>
> > [etnaviv])<br>
> > [ 6.273303] etnaviv gpu-subsystem: bound 2204000.gpu (ops gpu_ops<br>
> > [etnaviv])<br>
> > [ 6.273328] etnaviv-gpu 134000.gpu: model: GC320, revision: 5303<br>
> > [ 6.420783] systemd-fstab-generator[364]: Checking was requested for "/",<br>
> > but it is not a device.<br>
> > [ 7.116977] etnaviv-gpu 130000.gpu: model: GC3000, revision: 5450<br>
> > [ 8.488007] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1216<br>
> > [ 8.488035] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0<br>
> > [ 8.497905] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on<br>
> > minor 1<br>
> ><br>
> > ...<br>
> ><br>
> > [ 47.628983] etnaviv-gpu 134000.gpu: MMU fault status 0x00000002<br>
> > [ 47.635159] etnaviv-gpu 134000.gpu: MMU 0 fault addr 0x0a03ffc0<br>
> > [ 47.641100] etnaviv-gpu 134000.gpu: MMU 1 fault addr 0x00000000<br>
> > [ 47.647034] etnaviv-gpu 134000.gpu: MMU 2 fault addr 0x00000000<br>
> > [ 47.652967] etnaviv-gpu 134000.gpu: MMU 3 fault addr 0x00000000<br>
> > [ 51.050237] etnaviv-gpu 134000.gpu: hangcheck detected gpu lockup!<br>
> > [ 51.056686] etnaviv-gpu 134000.gpu: completed fence: 828<br>
> > [ 51.062592] etnaviv-gpu 134000.gpu: active fence: 832<br>
> > [ 51.069158] etnaviv-gpu 134000.gpu: hangcheck recover!<br>
><br>
> Just wanted to confirm that I was able to reproduce this failure on a<br>
> imx6qp sabresd board as well.<br>
><br>
> Luís shared his UbuntuMate rootfs and I successfully tested it on imx6q sabresd.<br>
><br>
> However on a imx6qp sabresd the Ubuntu login screen does not even<br>
> start. If I type the password then the MMU faults above are<br>
> triggered.<br>
><br>
> Has anyone successfully used X11 on imx6qp with Etnaviv?<br>
<br>
</div></div>Yes, it's running fine for me, but my test-case is a stripped down<br>
embedded X11, not some full-blown desktop distro.<br>
<br>
Generally the way to debug this would be to disable individual<br>
acceleration functions within the armada driver, forcing the software<br>
fallback path to get a clue where things are going wrong.<br>
<br>
Regards,<br>
Lucas<br>
<br>
<br>
</blockquote></div><br></div>