Public bug reported:

We have discovered a critical memory leak in the i915 DRM driver on Ubuntu
24.04.4 LTS running kernel 6.17.0-14-generic (HWE kernel). The i915 driver's
GEM buffers, allocated via the shmem (shared memory) mechanism, continuously
accumulate and are never reclaimed, eventually consuming ~14.9 GB of physical
memory (93% of 16 GB RAM) and triggering repeated OOM Killer invocations that
render the system unusable.This issue can be circumvented by not load the i915 
driver.


Hardware Environment
--------------------

- CPU:  12th Gen Intel Core i3-12100 (Alder Lake-S)
- GPU:  Intel Alder Lake-S GT1 [UHD Graphics 730], PCI ID 8086:4692, Rev 
0c(Other display chips don't exhibit this bug)
- RAM:  16 GB DDR5 4800 MT/s (Transcend TS2GLA64V8E, 1/4 slots populated)
- BIOS: INSYDE Corp. VS01GSIAM0101 (Release Date: 2025-01-16)
- OS:   Ubuntu 24.04.4 LTS (Noble Numbat)
- Kernel: 6.17.0-14-generic #14~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC (GCC 13.3.0)
- GPU Driver: i915 1.6.0 | GuC 70.36.0 (submission disabled)
              | HuC 7.9.3 (authenticated) | DMC v2.1

Reproduction Steps
------------------

The reproduction method is simple: install Ubuntu 24.04.4 desktop x86 on the 
target device, configure the IP after installation, use a script to monitor 
memory usage, lock the screen, and wait until the issue occurs. The shmem usage 
increases by a few hundred MB per hour. But all shmem is released after logging 
into the screen. Restarting the GNOME graphical interface by executing 
/bin/systemctl restart gdm on the ttySx serial port also releases all shmem.
With only the above operations performed, and no other deb packages or GNOME 
extensions installed, running stress --cpu 8 appears to accelerate the 
reproduction of the issue.

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

** Attachment added: "collect_20260720_232944.zip"
   
https://bugs.launchpad.net/bugs/2162559/+attachment/5988240/+files/collect_20260720_232944.zip

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

Title:
  i915 DRM driver memory leak

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


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

Reply via email to