Subject: bug#79007: closed (Re: bug#79007: [PATCH core-updates] gnu: mesa: Re-enable X11 protocol support for the DRI2 extension.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 27 Jul 2025 15:44:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
79007: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79007
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#79007: [PATCH core-updates] gnu: mesa: Re-enable X11 protocol support for the DRI2 extension.
From: John Kehayias <[email-masked]>
To: Philipp Berger <[email-masked]>
Cc: [email-masked]
Date: Sun, 27 Jul 2025 15:43:14 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello

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

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

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

Subject: [PATCH core-updates] gnu: mesa: Re-enable X11 protocol support for the DRI2 extension.
From: Philipp Berger <[email-masked]>
To: [email-masked]
Cc: Philipp Berger <[email-masked]>
Date: Sun, 13 Jul 2025 06:06:45 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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(+)

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