Work around Mesa regresion #1025312 by forcing software rendering
authorSimon McVittie <smcv@debian.org>
Fri, 2 Dec 2022 15:23:01 +0000 (15:23 +0000)
committerSimon McVittie <smcv@debian.org>
Fri, 2 Dec 2022 15:23:01 +0000 (15:23 +0000)
We expect only software rendering to be available in typical buildd or
autopkgtest environments anyway, so this is no real loss.

debian/tests/run-with-display

index 3fa2d46e3ba888976ffa800aa3fe519436f2e2bb..bd6a1d21caf149d67e253cc14ff8900186cc1b54 100755 (executable)
@@ -26,6 +26,9 @@ usage () {
     exit "$status"
 }
 
+# Workaround for https://bugs.debian.org/1025312
+export LIBGL_ALWAYS_SOFTWARE=1
+
 display="$1"
 
 case "$display" in