Public bug reported: # Launchpad bug report draft — Mesa 26.2.4 breaks AMD Polaris10, crashes gnome-shell
> File against: **mesa (Ubuntu)** — > https://bugs.launchpad.net/ubuntu/+source/mesa/+filebug > Suggested title: > `gnome-shell SIGSEGV in libgallium worker threads after upgrade to 26.2.4; > amdgpu Polaris10 init fails (ac_query_gpu_info), silent llvmpipe fallback` --- ## Summary After mesa was upgraded from 26.0.8-1ubuntu0.3 to 26.2.4-1ubuntu1~26.04.1 (staged rollout, received 2026-12-04), amdgpu hardware acceleration no longer initializes on a Polaris10 GPU. Every process linking Mesa logs `MESA: error: amdgpu: ac_query_gpu_info failed` (100+ occurrences per boot, starting at the GDM greeter) and silently falls back to llvmpipe. Under llvmpipe, gnome-shell crashes with SIGSEGV. The crash consistently happens seconds after launching Telegram Desktop (a heavy multi-threaded OpenGL client), which appears to be only the trigger: all crashing threads are inside libgallium with a call through a NULL function pointer at frame #0. Rolling back to 26.0.8 restores the GPU and is expected to stop the crashes. ## Impact - Whole user session dies (gnome-shell is the Wayland compositor); unsaved work is lost. Reproduced 6 times on 2026-12-05. - All OpenGL on the machine is software-rendered since the upgrade. ## Steps to reproduce 1. Have an AMD Polaris10 (Ellesmere, 1002:67df) GPU; normal GNOME Wayland login. 2. Upgrade mesa to 26.2.4-1ubuntu1~26.04.1 and reboot (or restart the session). 3. Observe at GDM already: `MESA: error: amdgpu: ac_query_gpu_info failed`, and `glxinfo -B` reports `OpenGL renderer string: llvmpipe (LLVM 22.1.2, 256 bits)`. 4. Launch telegram-desktop (snap, but any heavy GL client should do); gnome-shell SIGSEGVs within ~3-15 s and the session terminates. ## Environment - Ubuntu 26.04.1 LTS (resolute), amd64 - Kernel: 7.0.0-44-generic (installed 2026-11-20; ran without issues for two weeks on mesa 26.0.8, so kernel is likely not the trigger) - gnome-shell 50.1-0ubuntu1.5, mutter 50.1-0ubuntu2.5, gdm3 50.3-0ubuntu0.2 - GPU: AMD Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev e7) (kernel: "initializing kernel modesetting (POLARIS10 0x1002:0x67DF)") - Mesa: 26.2.4-1ubuntu1~26.04.1 (upgraded 2026-12-04 08:30, together with libdrm 2.4.131 -> 2.4.134) - Display: Wayland (gnome-shell as compositor), Xwayland for legacy clients ## Timeline / evidence - 2026-12-04 08:30: `apt full-upgrade` installs mesa 26.2.4 + libdrm 2.4.134 mid-session. Old libraries stay mapped in already-running processes; the rest of Dec 3-4 runs without a single Mesa error or crash. - 2026-12-05 (first boots on the new stack): crashes begin. Boots 0/-1/-2 each contain 100+ `ac_query_gpu_info failed` errors, starting at the GDM greeter, and 6 gnome-shell SIGSEGV coredumps total: 17:22:58, 17:25:11, 17:27:49, 17:32:18, 17:38:56, 17:39:45. - Correlation with Telegram is trigger-only: e.g. telegram started 17:22:53, shell crashed 17:22:58; started 17:32:13, crashed 17:32:16. Telegram also logs the same GPU failure from inside the snap: `libEGL warning: MESA-LOADER: failed to retrieve device information`. - gnome-shell logs: `Failed to initialize glamor, falling back to sw` (Xwayland), confirming forced software rendering. - `glxinfo -B` on the affected system: `OpenGL renderer string: llvmpipe (LLVM 22.1.2, 256 bits)` ## Backtrace (systemd-coredump, gnome-shell, signal 11) All crashing threads share this shape (frame #0 is a call to address 0x0; frames #1-#6 are the llvmpipe/gallium thread pool worker): ``` #0 0x00007f9035b8f2d7 n/a (n/a + 0x0) #1 0x00007f900d80eaca n/a (libgallium-26.2.4-1ubuntu1~26.04.1.so + 0xa0eaca) #2 0x00007f900d81211d n/a (libgallium-26.2.4-1ubuntu1~26.04.1.so + 0xa1211d) #3 0x00007f900d815a5e n/a (libgallium-26.2.4-1ubuntu1~26.04.1.so + 0xa15a5e) #4 0x00007f900d80e52c n/a (libgallium-26.2.4-1ubuntu1~26.04.1.so + 0xa0e52c) #5 0x00007f900d80e793 n/a (libgallium-26.2.4-1ubuntu1~26.04.1.so + 0xa0e793) #6 0x00007f900d4e755c n/a (libgallium-26.2.4-1ubuntu1~26.04.1.so + 0x6e755c) #7 start_thread (libc.so.6 + 0xa3dba) #8 __clone3 (libc.so.6 + 0x13758c) ``` (Coredumps retained on disk; full debug-symbol backtraces can be produced with `coredumpctl gdb <PID>` after installing mesa-dbgsym / gnome-shell-dbgsym.) ## Relevant log excerpts ``` gnome-shell[4788]: amdgpu: amdgpu_query_sw_info(amdgpu_sw_info_address_prt_wa_control_bit) failed. gnome-shell[4788]: MESA: error: amdgpu: ac_query_gpu_info failed. gnome-shell[4788]: MESA-EGL: warning: egl: failed to create dri2 screen gnome-shell[5794]: Failed to initialize glamor, falling back to sw telegram-desktop[22395]: libEGL warning: MESA-LOADER: failed to retrieve device information systemd-coredump[23107]: Process 8984 (gnome-shell) of user 1000 terminated abnormally with signal 11/SEGV ``` (Kernel amdgpu itself initializes fine: POLARIS10 detected, VRAM 8192M ready, atomic mode setting enabled — only the user-space query path fails.) ## Attachments - Example coredump produced by `coredumpctl gdb`: `gnome-shell-bt.txt` - Full journals for boots 0 / -1 / -2 of 2026-12-05 available on request: `journalctl -b 0 -o short-precise > journal-boot0.txt` - lspci -nn, glxinfo -B output included above. ## Workaround Reverting to mesa 26.0.8-1ubuntu0.3 (and optionally libdrm 2.4.131) restores hardware acceleration; alternatively `LP_NUM_THREADS=0` or `GALLIUM_DRIVER=softpipe` when launching GL clients avoids the llvmpipe threaded crash path at a heavy performance cost. ## Notes - USB error messages in dmesg on the affected machine were investigated and are unrelated (mouse charging over USB; plain enumeration messages). - Separate minor issue worth noting: amdgpu logs DP link-training failures (`core_link_write_dpcd (DP_LINK_BW_SET) failed ... enabling link 1 failed`) on this machine; may or may not be related to the user-space init failure. ** Affects: mesa (Ubuntu) Importance: Undecided Status: New ** Attachment added: "gnome-shell-bt.txt" https://bugs.launchpad.net/bugs/2190904/+attachment/6025315/+files/gnome-shell-bt.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2190904 Title: gnome-shell SIGSEGV in libgallium worker threads after upgrade to 26.2.4; amdgpu Polaris10 init fails (ac_query_gpu_info), silent llvmpipe fallback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2190904/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
