Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14416] New: Mesa3D missing DRI3 support for various Gallium drivers
Date: Thu, 02 Dec 2021 06:55:54 +0000	[thread overview]
Message-ID: <bug-14416-163@https.bugs.busybox.net/> (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: unassigned@buildroot.uclibc.org
          Reporter: info@arachnodroid.de
                CC: buildroot@uclibc.org
  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 ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2021-12-02  6:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02  6:55 bugzilla [this message]
2024-04-05 12:25 ` [Buildroot] [Bug 14416] Mesa3D missing DRI3 support for various Gallium drivers bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14416-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox