Moved to Xorg and the bug stopped. Issue likely from gnome + wayland
combo. gnome's mutter is allocating GPU during lockscreen and not
deallocating it. This builds up and consumes the shared memory of new
iGPUs, resulting in an OOM.

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

** Description changed:

  ShmemHugePages grows continuously while the screen is locked, consuming all 
64GB RAM + 8GB swap, triggering the OOM killer. No single process accounts for 
the shmem — pages are orphaned in pagecache.
  Hardware — Lenovo ThinkPad 21QDCTO1WW, intel 225H CPU, with ARC 130T GPU.
- Software — Ubuntu version, kernel 6.17.0-1012-oem, GNOME on Wayland, 
+ Software — Ubuntu version, kernel 6.17.0-1012-oem, GNOME on Wayland,
  GPU driver version: Kernel driver in use: i915
-       Kernel modules: i915, xe
+  Kernel modules: i915, xe
  
  Steps to reproduce — Log in to GNOME Wayland session, lock the screen, leave 
idle for 3-7 hours, observe ShmemHugePages in /proc/meminfo growing continuously
- Evidence — Attach shmem_track.txt 
+ Evidence — Attach shmem_track.txt
  
  The issue started post update to the 6.17.0-1012-oem. This has repeated
  multiple times over the last 3 days. The entire gnome session and, in
  some cases, even the psmouse driver got killed when I left the laptop
  untouched for hours.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: linux-oem-6.17-headers-6.17.0-1012 6.17.0-1012.12
  ProcVersionSignature: Ubuntu 6.17.0-1012.12-oem 6.17.9
  Uname: Linux 6.17.0-1012-oem x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Mar  2 23:49:53 2026
  InstallationDate: Installed on 2026-02-12 (18 days ago)
  InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
  PackageArchitecture: all
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: linux-oem-6.17
  UpgradeStatus: No upgrade log present (probably fresh install)

** No longer affects: linux-oem-6.17 (Ubuntu)

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

Title:
  ShmemHugePages leak during GNOME lock screen on 6.17.0-1012-oem causes
  OOM

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


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

Reply via email to