mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
2e96dccdb7
commit
a540ec794c
1 changed files with 3 additions and 0 deletions
|
@ -439,6 +439,9 @@ panfrost,r300,r600,svga,softpipe,llvmpipe,tegra,v3d,vc4,virgl,zink"))
|
||||||
;; Also enable the tests.
|
;; Also enable the tests.
|
||||||
"-Dbuild-tests=true"
|
"-Dbuild-tests=true"
|
||||||
|
|
||||||
|
;; Re-enable X11 protocol support for the DRI2 extension.
|
||||||
|
"-Dlegacy-x11=dri2"
|
||||||
|
|
||||||
"-Dllvm=enabled") ; default is x86/x86_64 only
|
"-Dllvm=enabled") ; default is x86/x86_64 only
|
||||||
|
|
||||||
;; XXX: 'debugoptimized' causes LTO link failures on some drivers. The
|
;; XXX: 'debugoptimized' causes LTO link failures on some drivers. The
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue