<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">LIBGL_DEBUG=verbose could be a good start?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">//Ernst<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den ons 6 jan. 2021 kl 12:31 skrev <<a href="mailto:lists@luckyxxl.de">lists@luckyxxl.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
In order to check whether a OpenGL ES driver bug I'm hitting on the <br>
Raspberry Pi 4 still appears in the latest Mesa version, I'm trying to <br>
build Mesa myself and run my application with that. Unfortunately I'm <br>
having no success with either 19.3.2 (the version distributed with <br>
raspbian), 20.3.2 (the latest release) or the current master. Each time <br>
the driver initialization fails with the following messages printed to <br>
the console:<br>
<br>
libGL error: failed to create dri screen<br>
libGL error: failed to load driver: vc4<br>
<br>
This is my meson setup command line:<br>
<br>
~/Downloads/meson-0.56.0/meson.py setup -Ddri-drivers= <br>
-Dgallium-drivers=v3d,vc4 -Dvulkan-drivers= -Dplatforms=x11 <br>
-Dbuildtype=debug -Dbackend=ninja -Dprefix=/home/pi/mesa-build build<br>
<br>
(vc4 seems to be required in the gallium-drivers option, otherwise it <br>
failed with 'libGL error: MESA-LOADER: failed to open vc4 [...]'. I <br>
guess this makes sense given the dependency on vc4 as explained here <br>
<a href="https://docs.mesa3d.org/drivers/v3d.html" rel="noreferrer" target="_blank">https://docs.mesa3d.org/drivers/v3d.html</a> ?)<br>
<br>
I'm having this issue using both SDL or freeglut and either starting the <br>
app from ssh (using 'export DISPLAY=:0') or directly on the desktop.<br>
<br>
I'm a total beginner when it comes to Mesa and the pi graphics driver <br>
stack, so any help would be highly appreciated :) Thanks!<br>
<br>
Lukas<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>