Hi! I've found https://bugs.busybox.net/show_bug.cgi?id=13831 and can confirm that Mesa3D is not working on my Raspberry Pi 4. It turns out, that the logic in mesa3d.mk seems to be broken, as it doesn't enable DRI3 support, though it's required for V3D/VC4. Otherwise glxgears doesn't work and complains with a Failed to open bo 1: Permission denied. Below you will find a patch to enable DRI3 support if one of the Gallium drivers is selected which requires DRI3 support. Best regards, Michael --- snip --- --- a/mesa3d.mk 2021-12-02 07:08:41.432624186 +0100 +++ b/mesa3d.mk 2021-12-02 07:24:06.889889427 +0100 @@ -120,7 +120,11 @@ -Dgallium-extra-hud=true endif -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER) \ + $(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D) \ + $(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) \ + $(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) \ + $(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST),) MESA3D_CONF_OPTS += \ -Ddri-drivers= -Ddri3=disabled else --- snip ---
Created attachment 9176 [details] Patch to enable DRI3 support for specific Gallium drivers Patch to enable DRI3 support for specific Gallium drivers.
Hi, Is this still relevant? All those DRI drivers were removed upstream: https://gitlab.com/buildroot.org/buildroot/-/commit/6c25d1099ac238c3c5a2ce75fc91c3842a50e2cd BR2_PACKAGE_MESA3D_DRI_DRIVER has also been dropped in that commit. Kr, Thomas