Skip to contentSkip to conversation

New: Mesa3D missing DRI3 support for various Gallium drivers

Buildroot [email protected] 1 participant 2 messages Dec 2, 2021 – Apr 5, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=14416

            Bug ID: 14416
           Summary: Mesa3D missing DRI3 support for various Gallium
                    drivers
           Product: buildroot
           Version: 2021.08.2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

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 ---

mesa3d.mk 2021-12-02 07:24:06.889889427 +0100 renamed from mesa3d.mk 2021-12-02 07:08:41.432624186 +0100 +5 -1
@@ -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 ---

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14416] Mesa3D missing DRI3 support for various Gallium drivers

https://bugs.busybox.net/show_bug.cgi?id=14416

Thomas Devoogdt <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Thomas Devoogdt <[email protected]> --- 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

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot