[PATCH core-updates] gnu: mesa: Re-enable X11 protocol support for the DRI2 extension.

  • Done
  • quality assurance status badge
Details
2 participants
  • Philipp Berger
  • John Kehayias
Owner
unassigned
Submitted by
Philipp Berger
Severity
normal

Debbugs page

P
P
Philipp Berger wrote on 12 Jul 21:06 -0700
(address . guix-patches@gnu.org)(name . Philipp Berger)(address . Philipp.Berger@mail.de)
c08659a95c87d9e960036355ac69e3d8b38dcdb7.1752379605.git.Philipp.Berger@mail.de
Starting with Mesa 24.3, X11 protocol support for the DRI2 extension is
no longer enabled by default. The developers are phasing it out in
favor of DRI3, and have moved it into an optional 'legacy-x11' feature.
Re-enable it to retain hardware acceleration on older systems that do
not support DRI3.

* gnu/packages/gl.el (mesa)[arguments]<#:configure-flags>: Add
'-Dlegacy-x11=dri2'.
---
gnu/packages/gl.scm | 3 +++
1 file changed, 3 insertions(+)

Toggle diff (18 lines)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index a23426fd42..b5be8346b9 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -428,6 +428,9 @@ (define-public mesa
;; Also enable the tests.
"-Dbuild-tests=true"
+ ;; Re-enable X11 protocol support for the DRI2 extension.
+ "-Dlegacy-x11=dri2"
+
"-Dllvm=enabled") ; default is x86/x86_64 only
;; XXX: 'debugoptimized' causes LTO link failures on some drivers. The

base-commit: d31a92c6242145724783b692941545384fd71bc4
--
2.50.1
J
J
John Kehayias wrote on 27 Jul 08:43 -0700
(name . Philipp Berger)(address . Philipp.Berger@mail.de)(address . 79007-done@debbugs.gnu.org)
87bjp5k5bk.fsf@protonmail.com
Hello

On Sun, Jul 13, 2025 at 06:06 AM, Philipp Berger wrote:

Toggle quote (7 lines)
> Starting with Mesa 24.3, X11 protocol support for the DRI2 extension is
> no longer enabled by default. The developers are phasing it out in
> favor of DRI3, and have moved it into an optional 'legacy-x11' feature.
> Re-enable it to retain hardware acceleration on older systems that do
> not support DRI3.
>

Thanks! Applied on mesa-updates branch, currently
830bc815f2b9f91f0b335a8c47c9682c545b601b though future rebases will
change that.

Toggle quote (23 lines)
> * gnu/packages/gl.el (mesa)[arguments]<#:configure-flags>: Add
> '-Dlegacy-x11=dri2'.
> ---
> gnu/packages/gl.scm | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
> index a23426fd42..b5be8346b9 100644
> --- a/gnu/packages/gl.scm
> +++ b/gnu/packages/gl.scm
> @@ -428,6 +428,9 @@ (define-public mesa
> ;; Also enable the tests.
> "-Dbuild-tests=true"
>
> + ;; Re-enable X11 protocol support for the DRI2 extension.
> + "-Dlegacy-x11=dri2"
> +
> "-Dllvm=enabled") ; default is x86/x86_64 only
>
> ;; XXX: 'debugoptimized' causes LTO link failures on some drivers. The
>
> base-commit: d31a92c6242145724783b692941545384fd71bc4

Closing.

John
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 79007@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 79007
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch