Skip to contentSkip to conversation

New: mesa3d - kmsro driver requires dri3

Buildroot bugzilla at busybox.net 1 participant 5 messages Jun 7, 2021 – Jul 25, 2022

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 13831
Summary: mesa3d - kmsro driver requires dri3
Product: buildroot
Version: 2021.05
Hardware: Other
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: gamelaster at outlook.com
CC: buildroot at uclibc.org
Target Milestone: ---

Package: mesa3d
At the moment, Gallium kmsro driver supports only dri3, but since dri3 flag is added only when BR2_PACKAGE_MESA3D_DRI_DRIVER or BR2_PACKAGE_MESA3D_VULKAN_DRIVER is enabled, dri3 is not enabled in mesa, thus kmsro and lima drivers are not working. (panfrost should be affected too).

More information about this issue are here:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4861

Thanks

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 13831] mesa3d - kmsro driver requires dri3

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

Erico Nunes <[email protected]> changed:

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

                 CC|                            |nunes.erico at gmail.com,
                   |                            |ps.report at gmx.net

--- Comment #1 from Erico Nunes <[email protected]> --- FYI we added a check in the mesa meson configuration to prevent this:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11305

And there might be more changes in
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11318 proposing to remove the option to manually disable dri3 at all.

I see that Peter Seiderer had some pending patches related to this in the list so adding him in Cc here.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 13831] mesa3d - kmsro driver requires dri3

In reply to bugzilla at busybox.net

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

--- Comment #2 from Peter Seiderer <[email protected]> --- (In reply to Erico Nunes from comment #1)

I can confirm X11/glxgears runtime failure with dri3 disabled (on RPi4) and a running glxgears with package/mesa3d/mesa3d.mk hacked to '-Ddri3=enabled'...

The mentioned patches are '[RFC,v2,01/12] package/mesa3d: add config option for DRI3 support' ([1] and '[RFC,v2,04/12] package/mesa3d: DRI3 with GLX needs xshmfence' ([2]), already considered to update patch one to the new dri3 sensitivity..., but needs more time to do it accurate because of the BR2_TOOLCHAIN_HAS_SYNC_4 dependency stuff...

[1]
https://patchwork.ozlabs.org/project/buildroot/patch/20210110222833.26301-2-ps.report at gmx.net/
[2]
https://patchwork.ozlabs.org/project/buildroot/patch/20210110222833.26301-5-ps.report at gmx.net/

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 13831] mesa3d - kmsro driver requires dri3

In reply to bugzilla at busybox.net

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

--- Comment #3 from Peter Seiderer <[email protected]> --- Patches suggested:

- [v1,1/2] package/mesa3d: add config option for DRI3 support:

https://patchwork.ozlabs.org/project/buildroot/patch/20210612223011.26118-1-ps.report at gmx.net/

- [v1,2/2] package/mesa3d: gallium/kmsro drivers require dri3 for X11

https://patchwork.ozlabs.org/project/buildroot/patch/20210612223011.26118-2-ps.report at gmx.net/

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 13831] mesa3d - kmsro driver requires dri3

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

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

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

--- Comment #4 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/package/mesa3d?id=8892b25edabe7ce168869a3ad25bd9693059cebe
and
https://git.buildroot.org/buildroot/commit/package/mesa3d?id=26642e4cc09666110d5105e7867579a0e48cfa09.
Thanks Peter for providing the patches, and Marek for reporting the issue!

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