Subject: [PATCH] gnu: mesa: Fix regression breaking some i965 GPUs.

From: Lilah Tascheter <[email-masked]>
Date: Thu, 27 Apr 2023 14:37:47 -0500

* gnu/packages/gl.scm (mesa)[configure-flags]: Build crocus
  gallium-driver on amd64.
---

The core-updates merge removed the old graphics driver for my laptop without
enabling the gallium driver (crocus), so I can't even open sway.

 gnu/packages/gl.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 3a63d70c7a..4006e4efbd 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -327,7 +327,7 @@ (define-public mesa
              ((or "powerpc64le-linux" "powerpc-linux" "riscv64-linux")
               '("-Dgallium-drivers=nouveau,r300,r600,radeonsi,swrast,virgl"))
              (_
-              '("-Dgallium-drivers=iris,nouveau,r300,r600,radeonsi,\
+              '("-Dgallium-drivers=crocus,iris,nouveau,r300,r600,radeonsi,\
 svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
          ;; omx requires libomxil-bellagio

base-commit: d59b4764f3171b1430a6d3b954659b8aab730475
-- 
2.39.2