Public bug reported:

gnome-shell freezes with NVIDIA 595 when notifications are enabled. The
compositor becomes completely unresponsive (D-Bus Ping times out), but
the GPU is healthy (nvidia-smi responds normally).

This freeze is a deadlock inside libEGL_nvidia.so during eglSwapBuffers.


Environment:
  - mutter 50.0-0ubuntu3, NVIDIA 595.58.03 (proprietary), Kernel 7.0.0-12
  - RTX 3060 Ti (GA104), dual 4K (2x EIZO EV2785 via DisplayPort)

  GDB backtrace of frozen gnome-shell (main thread):
  pthread_cond_wait
    → libEGL_nvidia.so.0  (frames #7-#14, no debug symbols)
      → cogl_onscreen_egl_swap_buffers_with_damage (cogl-onscreen-egl.c:290)
        → meta_onscreen_native_swap_buffers_with_damage 
(meta-onscreen-native.c:1819)
          → swap_framebuffer (meta-stage-impl.c:301)
            → meta_stage_impl_redraw_view_primary (meta-stage-impl.c:731)
              → clutter_frame_clock_dispatch (clutter-frame-clock.c:1698)

View being swapped: second monitor (x=2560, y=0, w=2560, h=1440), buffer_age=4.
12/19 threads stuck in futex_do_wait.

Analysis: Notifications trigger frequent small damage rects. Mutter calls 
eglSetDamageRegion with incorrect rects (mutter#4658, MR !5007 still draft). 
NVIDIA's EGL driver deadlocks on these instead of returning an EGL error. Mesa 
drivers handle this
  gracefully.

Related: GNOME/mutter#4658, GNOME/mutter!5007, LP #2146782

Full GDB backtrace (thread apply all bt full) attached.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: libmutter-18-0 50.0-0ubuntu3
ProcVersionSignature: Ubuntu 7.0.0-12.12-generic 7.0.0-rc6
Uname: Linux 7.0.0-12-generic x86_64
ApportVersion: 2.33.1-0ubuntu7
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/i386-pc/eltorito.img
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr  9 16:30:04 2026
InstallationDate: Installed on 2026-03-28 (12 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Daily amd64 (20260325)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: mutter
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mutter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147648

Title:
   gnome-shell freeze: NVIDIA EGL deadlock in eglSwapBuffers triggered
  by notification damage rects

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2147648/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to