summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Berger <Philipp.Berger@mail.de>2025-07-13 06:06:45 +0200
committerJohn Kehayias <john.kehayias@protonmail.com>2025-07-27 11:18:38 -0400
commit830bc815f2b9f91f0b335a8c47c9682c545b601b (patch)
treef1358e883caf95f6420250ee9234d165d8d029c6
parent281693eb34683f300dc995df53d69d976d513547 (diff)
gnu: mesa: Re-enable X11 protocol support for the DRI2 extension.
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'. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
-rw-r--r--gnu/packages/gl.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 9a745efbbf..6615c779e7 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -431,6 +431,9 @@ panfrost,r300,r600,svga,softpipe,llvmpipe,tegra,v3d,vc4,virgl,zink"))
;; 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