Bug#1118961: gtk4: Please set DRAW_USE_LLVM=0 for softpipe architectures
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Sat Oct 25 22:03:50 BST 2025
Source: gtk4
Version: 4.20.2+ds-1
Severity: normal
Tags: patch
User: debian-sparc at lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc at lists.debian.org
Hello,
while investigating #1118780 [1], I researched why LLVM was still invoked
during the tests with GALLIUM_DRIVER=softpipe. Reading thedocumentation [2],
I noticed there is the option DRAW_USE_LLVM=0 and gave it a try:
--- debian/rules.orig 2025-10-14 03:51:42.000000000 +0200
+++ debian/rules 2025-10-25 22:13:13.930249247 +0200
@@ -282,6 +282,7 @@
ifneq ($(filter mips% powerpc sparc%,$(DEB_HOST_ARCH_CPU)),)
$(info Disabling use of llvmpipe on this CPU)
export GALLIUM_DRIVER=softpipe
+export DRAW_USE_LLVM=0
# https://bugs.debian.org/1077178
ignore_reftests += label-shadows
# These succeed with llvmpipe, but fail with softpipe
And voila, this massively reduced the number of failures on sparc64:
Ok: 723
Fail: 4
Skipped: 28
Could you therefore apply this patch?
Thanks,
Adrian
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118780
> [2] https://docs.mesa3d.org/envvars.html
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
--- debian/rules.orig 2025-10-14 03:51:42.000000000 +0200
+++ debian/rules 2025-10-25 22:13:13.930249247 +0200
@@ -282,6 +282,7 @@
ifneq ($(filter mips% powerpc sparc%,$(DEB_HOST_ARCH_CPU)),)
$(info Disabling use of llvmpipe on this CPU)
export GALLIUM_DRIVER=softpipe
+export DRAW_USE_LLVM=0
# https://bugs.debian.org/1077178
ignore_reftests += label-shadows
# These succeed with llvmpipe, but fail with softpipe
More information about the pkg-gnome-maintainers
mailing list