Debian Bug report logs - #1049404
mesa: gnome-shell crashes when using llvmpipe on mips64el

version graph

Package: src:mesa; Maintainer for src:mesa is Debian X Strike Force <[email protected]>;

Reported by: Simon McVittie <[email protected]>

Date: Tue, 15 Aug 2023 10:21:01 UTC

Severity: normal

Found in version mesa/23.1.4-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], [email protected], Debian X Strike Force <[email protected]>:
Bug#1049404; Package src:mesa. (Tue, 15 Aug 2023 10:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], [email protected], Debian X Strike Force <[email protected]>. (Tue, 15 Aug 2023 10:21:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Simon McVittie <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: mesa: gnome-shell crashes when using llvmpipe on mips64el
Date: Tue, 15 Aug 2023 11:18:56 +0100
Source: mesa
Version: 23.1.4-1
Severity: normal
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: mips64el mipsel

gnome-shell (>= 44) fails its build-time tests on the mips64el porterbox
'eller', using llvmpipe for 3D graphics. I don't know whether a simpler
accelerated 3D application would reproduce the same crash.

According to mips porter YunQiang Su, the same version of
gnome-shell works well on an AMD GPU, so this is an llvmpipe-specific
bug. Unfortunately, llvmpipe is the only thing we have available for
smoke-testing on buildds and other infrastructure.

To reproduce this with a current version of gnome-shell, it will be
necessary to remove this workaround from debian/rules:

ifneq ($(filter mips%,$(DEB_HOST_ARCH_CPU)),)
# gnome-shell on mips(64)el works on a real GPU (in practice usually an
# AMD GPU), but crashes when using llvmpipe or softpipe, which is all that
# is available on the buildds, so we only run the unit tests at build time
# and skip the tests that would run the whole Shell. See discussion in
# https://salsa.debian.org/gnome-team/gnome-shell/-/merge_requests/71
meson_test_options += --no-suite shell
endif

This might have the same root cause as some or all of #868745, #935884,
#1010838, #993550, #1003348.

YunQiang Su writes:
> on MIPS with MSA, mesa try to use it, and trigger some
> problems. It is still the bug of LLVM. So maybe we should
> revert the changes to mesa before LLVM MSA JIT is fixed.
> https://gitlab.freedesktop.org/mesa/mesa/-/commit/88b234d7a7cd71fcb4955428010f238ec9530431

There is further discussion on
<https://salsa.debian.org/gnome-team/gnome-shell/-/merge_requests/71>.
(Note that there is also discussion there of a different failure with the
softpipe renderer, which is out of scope for this bug report.)

I do not intend to work on this myself: I do not have any mips hardware,
any particular interest in mips, or any Mesa or LLVM expertise.

Thanks,
    smcv



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:06:22 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.