guix_mirror_bot pushed a commit to branch mesa-updates
in repository guix.
commit 5f5c35d6e6c63016ab3f32c52aa4e8bc2daf61ea
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Mar 17 17:36:01 2026 +0200
gnu: mesa: Enable the virtio vulkan driver.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the vulkan-drivers flag
in configure-flags to add the virtio driver to most architectures.
Change-Id: I324ad378db2ed8149f492ddc019bbb32b45e16ec
---
gnu/packages/gl.scm | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index b167bb88dd..7cb54721a0 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -427,14 +427,20 @@
panfrost,r300,r600,svga,softpipe,lima,llvmpipe,tegra,v3d,vc4,virgl,zink"))
"--wrap-mode=nodownload" ; XXX: disable
#$@(cond
+ ;; Increase the number of vulkan drivers on each architecture:
((target-x86-32?)
- ;; This doesn't include nouveau (which is in "auto") as it needs
- ;; rust.
- ;; TODO: Enable nouveau/NVK.
- '("-Dvulkan-drivers=intel,intel_hasvk,amd,swrast"))
+ ;; TODO: Reenable nouveau/NVK when rust support lands.
+ '("-Dvulkan-drivers=amd,intel,intel_hasvk,swrast,virtio"))
+ ((target-x86-64?)
+
'("-Dvulkan-drivers=amd,intel,intel_hasvk,nouveau,swrast,virtio"))
+ ((target-arm32?)
+ '("-Dvulkan-drivers=swrast,intel,panfrost,freedreno,virtio"))
((target-aarch64?)
;; This includes more drivers than "auto": amd, broadcom
-
'("-Dvulkan-drivers=freedreno,amd,broadcom,intel,panfrost,swrast,asahi"))
+
'("-Dvulkan-drivers=swrast,intel,panfrost,freedreno,asahi,amd,broadcom,virtio"))
+ ;; The default fallback seems to be amd and swrast.
+ ((target-linux?)
+ '("-Dvulkan-drivers=amd,swrast,virtio"))
(else
'("-Dvulkan-drivers=auto")))