Public bug reported: My server runs Ubuntu 24.04 with an RTX 4070 and a TV on HDMI. I only use the desktop sometimes for gaming, the rest of the time the GDM login screen just sits there with the TV switched off.
Today all my GPU stuff (Plex transcoding, CUDA) started failing with "Device creation failed". nvidia-smi showed 11689MiB / 12282MiB used and almost all of it was gnome-shell running as the gdm user (the greeter, nobody logged in). It went from basically nothing to 10.9GB in about 12 hours. The journal is full of this, repeating many times per second: gnome-shell[3656515]: Failed to lock front buffer on /dev/dri/card1: gbm_surface_lock_front_buffer failed gnome-shell[3656515]: (../clutter/clutter/clutter-frame-clock.c:1199):clutter_frame_clock_dispatch: code should not be reached It started at 00:35 last night (TV was off) and had logged 2397 of these this boot even with journal rate limiting. VRAM keeps going up the whole time, it never gets released. The TV is physically connected but in standby, and /sys/class/drm/card1-HDMI-A-1 still says connected / enabled while this happens. So it looks like every failed frame leaks a 4K buffer and mutter just keeps retrying forever. With nobody logged in that eventually eats the whole card, and a login screen taking 11GB of VRAM can't be right. Workaround for me is to just stop gdm when I'm not using the desktop. I haven't tested yet whether WaylandEnable=false in gdm custom.conf avoids it. Setup: - Ubuntu 24.04.5 LTS - gnome-shell 46.0-0ubuntu6~24.04.17 - mutter 46.2-1ubuntu0.24.04.18 - nvidia-driver-595-open 595.99.02 (open kernel module), nvidia_drm modeset=1 - RTX 4070, single GPU, TV on HDMI-A-1, no other displays - headless most of the time, greeter on Wayland Looks related to LP: #1967707 (same "code should not be reached" spam on nvidia wayland) and https://gitlab.gnome.org/GNOME/mutter/-/issues/2063 (older nvidia wayland VRAM leak), but those have different error lines. Happy to test patches or grab more logs if someone tells me what to run. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: mutter (not installed) ProcVersionSignature: Ubuntu 7.0.0-44.44~24.04.1-generic 7.0.14 Uname: Linux 7.0.0-44-generic x86_64 ApportVersion: 2.28.3-0ubuntu0.1 Architecture: amd64 CasperMD5CheckResult: pass Date: Sun Nov 29 20:03:22 2026 InstallationDate: Installed on 2026-01-01 (332 days ago) InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 (20250805.1) 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 noble ** Summary changed: - Video Memory leak in walyand when TCL TV is connected but not on theat input. + Video Memory leak in walyand when TCL TV is connected but not on that input. ** Summary changed: - Video Memory leak in walyand when TCL TV is connected but not on that input. + Video Memory leak in wayland when TCL TV is connected but not on that input. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2178371 Title: Video Memory leak in wayland when TCL TV is connected but not on that input. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2178371/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
