Public bug reported:

Hardware: MacBook Pro 13" mid-2012 (MacBookPro9,2), Intel HD 4000 (i915), 16 GB 
RAM
Session: Ubuntu on Wayland
gnome-shell 46.0-0ubuntu6~24.04.17, mutter 46.2-1ubuntu0.24.04.18, kernel 
6.8.0-149-generic

When the machine is left idle, gnome-shell suddenly starts allocating GPU
memory at ~300-400 MB/min and never frees it. After 40-60 minutes RAM and
swap are exhausted, the OOM killer kills apps and then gnome-shell, which ends
the session (back to GDM). If left longer, the system freezes completely and
needs a forced power-off.

Observations (logs attached):
- Shmem in /proc/meminfo stays at ~0.8 GB during normal use, then grows
  linearly to ~15 GB.
- drm-total-system0 in /proc/<pid>/fdinfo shows the growth belongs to
  gnome-shell (0.3 GB -> 15 GB in 47 min). Firefox and Chrome stay flat.
- i915_gem_objects shows ~80 new objects/min of ~4 MB each, which matches a
  1280x800 frame. Looks like frame buffers allocated and never released.
- Disabling screen blanking (idle-delay 0) does not prevent it.
- Onset is sudden and at random times while idle (15:15, 03:00, 09:19, 06:05).

Expected: gnome-shell memory stays stable while idle.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell 46.0-0ubuntu6~24.04.17
ProcVersionSignature: Ubuntu 6.8.0-149.149-generic 6.8.12
Uname: Linux 6.8.0-149-generic x86_64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 19 09:51:12 2026
DisplayManager: gdm3
InstallationDate: Installed on 2019-04-03 (2787 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
RelatedPackageVersions: mutter-common 46.2-1ubuntu0.24.04.18
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to noble on 2026-11-04 (15 days ago)

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble 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/2175001

Title:
  gnome-shell leaks i915 GEM memory (~400 MB/min) while idle on Wayland
  until OOM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2175001/+subscriptions


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

Reply via email to