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

Previous Next

Package: guix-patches;

Reported by: Philipp Berger <Philipp.Berger <at> mail.de>

Date: Sun, 13 Jul 2025 12:31:03 UTC

Severity: normal

Tags: patch

Done: John Kehayias <john.kehayias <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 79007 in the body.
You can then email your comments to 79007 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#79007; Package guix-patches. (Sun, 13 Jul 2025 12:31:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philipp Berger <Philipp.Berger <at> mail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 13 Jul 2025 12:31:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philipp Berger <Philipp.Berger <at> mail.de>
To: guix-patches <at> gnu.org
Cc: Philipp Berger <Philipp.Berger <at> mail.de>
Subject: [PATCH core-updates] gnu: mesa: Re-enable X11 protocol support for
 the DRI2 extension.
Date: Sun, 13 Jul 2025 06:06:45 +0200
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





Reply sent to John Kehayias <john.kehayias <at> protonmail.com>:
You have taken responsibility. (Sun, 27 Jul 2025 15:44:02 GMT) Full text and rfc822 format available.

Notification sent to Philipp Berger <Philipp.Berger <at> mail.de>:
bug acknowledged by developer. (Sun, 27 Jul 2025 15:44:02 GMT) Full text and rfc822 format available.

Message #10 received at 79007-done <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Philipp Berger <Philipp.Berger <at> mail.de>
Cc: 79007-done <at> debbugs.gnu.org
Subject: Re: bug#79007: [PATCH core-updates] gnu: mesa: Re-enable X11 protocol
 support for the DRI2 extension.
Date: Sun, 27 Jul 2025 15:43:14 +0000
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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Aug 2025 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.