Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Mesa3D / RPi4 - Failed to open bo 1: Permission denied
@ 2021-11-30  7:30 Michael Taubert
  2021-11-30  8:52 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Taubert @ 2021-11-30  7:30 UTC (permalink / raw)
  To: buildroot

Hi list!

I've switched from branch 2021.02.x to 2021.08.x and got a problem with 
Mesa3D. Mesa3D does not build with DRI3 support by default, which leads 
into the error message 'Failed to open bo 1: Permission denied' when 
running glxgears -info.

Earlier this year I already got caught by this problem, but could work 
around by enabling DRI SWRAST driver for Mesa3D. But this driver is not 
available anymore. The meson-log says, it's not built with DRI3:

buildroot-rpi4/output/host/lib/pkgconfig -Dgallium-omx=disabled 
-Dpower8=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=dri 
-Dgallium-xa=disabled -Dgallium-vc4-neon=auto -Dshared-glapi=enabled 
-Dgallium-drivers=v3d,vc4 -Dgallium-extra-hud=true -Ddri-drivers= 
-Ddri3=disabled ...

This is the output of glxgears:

root@buildroot:~# glxgears -info
Failed to open bo 1: Permission denied
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER   = V3D 4.2
GL_VERSION    = 2.1 Mesa 21.1.6
GL_VENDOR     = Broadcom

It runs, but the screen stays black.

When I change mesa3d.mk to this:

ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
MESA3D_CONF_OPTS += \
         -Ddri-drivers= -Ddri3=enabled
else
...

It works again and the error disappears. How am I supposed to enable 
DRI3 support for my RPI4 now?

Thanks in advance.

Best regards,
Michael
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-30 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-30  7:30 [Buildroot] Mesa3D / RPi4 - Failed to open bo 1: Permission denied Michael Taubert
2021-11-30  8:52 ` Peter Seiderer
2021-11-30 13:56   ` Michael Taubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox