IMX6 etnaviv issue

Tim Harvey tharvey at gateworks.com
Tue Oct 25 15:52:27 UTC 2022


On Sat, Oct 22, 2022 at 7:06 PM Chris Healy <cphealy at gmail.com> wrote:
>
> I can't speak to why you are experiencing issues when using the GPU,
> but in the examples you gave, the example that is working is using a
> SW based GL implementation instead of the real GPU.  This can be
> determined by looking at the GL_RENDERER string to see if it mentions
> a Vivante GPU or something else (like LLVMPIPE).  It's quite likely
> that if you were using the real GPU with etnaviv in Mesa with the
> older config you would also experience similar issues.  As such, we
> shouldn't consider this a regression between the two Ubuntu versions.

Chris,

Thanks for this insight. I was curious about the meaning of the
GL_RENDERER string which is why I included that.

I'm not clear how to configure what renderer is used?

Best Regards,

Tim



>
> One thing you may want to try doing is run with Mesa 22.2.1 and TOT to
> see if either of these address any of the issues you are experiencing.
>
> On Thu, Oct 20, 2022 at 1:44 PM Tim Harvey <tharvey at gateworks.com> wrote:
> >
> > Greetings,
> >
> > I use a standard Ubuntu 20.04 focal rootfs with a mainline kernel on
> > an IMX6Q based board and have had no issues using things like gnome
> > desktop, glxgears, glmark2 however recently I updated the rootfs to
> > Ubuntu 22.04 jammy using the same mainline kernel and now I see some
> > issues. I've replicated the issue with several kernel versions
> > including 5.4, 5.10, 5.15 and 6.0 so I would say this is not a kernel
> > regression but something related to the graphics stack being used
> > which I'm not very familiar with.
> >
> > The issues I see can be described as:
> > - mouse cursor is incorrect (looks like a hatched square)
> > - glxgears shows some sort of sync/jitter issue and has a fairly low framerate
> > - glmark2 shows a some sync issues then after a few seconds results in
> > a GPU hang
> >
> > My ubuntu focal image that appears to work fine has the following:
> > gnome 3.36.5-0
> > xserver-xorg 1:7.7+19
> > xserver-xorg-core 2:1.20.13-1
> > xwayland 2:1.20.13-1
> > glmark2 2021.02
> > mesa-utils 8.4.0-1
> > GL_VENDOR: Mesa/X.org
> > GL_RENDERER: llvmpipe (LLVM 12.0.0, 128 bits)
> > GL_VERSION: 3.1 Mesa 21.2.6
> >
> > My ubuntu jammy image that has the issues has the following:
> > gnome-41.7-0
> > xserver-xorg 1:7.7+23
> > xserver-xorg-core 2:21.1.3-2
> > xwayland 2:22.1.1-1
> > glmark2 2021.02-0
> > mesa-utils 8.4.0-1
> > GL_VENDOR: etnaviv
> > GL_RENDERER: Vivantte GC2000 rev 5108
> > GL_VERSION: 2.1 Mesa 22.0.5
> >
> > Does anyone have any ideas on what might be going on here? I apologize
> > for my lack of knowledge regarding the software layers on top of the
> > etnaviv kernel driver being used here.
> >
> > Best Regards,
> >
> > Tim


More information about the dri-devel mailing list