Hi Krzysztof, I have tested 1089 with GDM running again. I have not seen the earlier runaway pinned/GPU-buffer growth in this configuration.
The important caveat is that login-screen animations were still disabled. The GDM workaround remained: [org/gnome/desktop/interface] enable-animations=false After re-enabling GDM on 6.8.0-1089-qcom (package 6.8.0-1089.94), the check at about 3 hours 10 minutes showed: - Resident GPU buffers stable at 131 objects / 59670528 bytes (56.9 MiB). - Unevictable memory stable at about 83.2 MiB. - Shared memory around 72.3 MiB. - Available RAM around 12 GiB. For independently checkable retained evidence, the attached compressed CSV contains 7501 memory/GEM samples from the same boot, spanning 2026-11-06 08:01:11 UTC to 2026-11-08 23:06:35 UTC. In its first three hours (08:01:11-11:00:52 UTC), resident GPU buffers were again exactly 131 objects / 59670528 bytes, Unevictable was exactly 85196 KiB, and Shmem stayed between 73992 and 74008 KiB. Older samples from the initial three-hour check have rotated out. The CSV contains only timestamps and memory/GEM counters; normal workload usage changed over the longer recorded interval. I also checked the effective settings again now: the GDM greeter's enable-animations value is false. My user account's desktop preference is true, but that is a separate setting, and there is currently no logged-in GNOME desktop session. This supports stability on 1089 with the GDM animations workaround enabled. It does not distinguish a kernel fix from the workaround, and it is not a controlled retest of the original login-screen reproduction with animations enabled. I am not claiming the bug is fixed. Thanks, Karl On Wed, 11 Nov 2026 08:35:33 -0000, Krzysztof Adamski <[email protected]> wrote: > Hi Karl, any news on that? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/2172594 > > Title: > VENTUNO Q: idle GDM login screen accumulates pinned msm GPU buffers > until memory is exhausted > > Status in linux-qcom package in Ubuntu: > Incomplete > > Bug description: > On an Arduino VENTUNO Q, leaving the GNOME login screen idle causes > shared and unevictable memory to grow continuously. The msm DRM GEM > buffer totals grow with it. I reproduced this with App Lab closed, no > running Docker containers, and no model server or inference process > running. > > Expected: memory use settles while the login screen is idle. > Actual: pinned graphics buffers keep accumulating. During an earlier > unattended boot, available RAM fell from roughly 12.8 GiB to 476 MiB over > three hours, and later reached 174 MiB. SSH eventually stopped responding, > and I manually rebooted. The logs do not prove that the GPU allocation growth > alone caused the SSH failure. > > System: > - Arduino VENTUNO Q, 16 GB RAM, Arduino Ubuntu 24.04 image updated with apt > (currently reports Ubuntu 24.04.5 LTS). > - linux-image-6.8.0-1084-qcom 6.8.0-1084.89. > - libgl1-mesa-dri and libegl-mesa0 25.2.8-0ubuntu0.24.04.4. > - libmutter-14-0 46.2-1ubuntu0.24.04.18. > - gnome-shell 46.0-0ubuntu6~24.04.16; gdm3 46.2-1ubuntu1~24.04.9. > - linux-firmware-dragonwing 20260612. > - Monitor attached, GDM using Wayland, no swap configured. > > Reproduction on 29 October, after a fresh boot: > 1. Leave the board at the login screen, with no desktop user logged in. > 2. Read /proc/meminfo and /sys/kernel/debug/dri/0/gem at 15-second > intervals. > > The following samples are from the same boot. Memory fields are in > KiB, GEM totals in bytes: > > UTC time Shmem Unevictable GEM objects GEM total > 14:32:43 463032 474836 299 462893056 > 14:32:58 483608 495412 302 483962880 > 14:33:13 514424 526228 306 515518464 > 14:33:28 534964 546768 309 536588288 > > The growing shmem/unevictable allocation was charged to the gdm user's > cgroup (user-123.slice), while its anonymous memory stayed around 216 > MiB. > > Stopping GDM released the buffers immediately: > - Before stop: 309 GEM objects, 536588288 bytes; Shmem 534996 KiB; > Unevictable 546804 KiB. > - After stop: 10 GEM objects, 25169920 bytes; Shmem 27944 KiB; Unevictable > 51468 KiB. > - Available RAM increased from 13826392 to 14587720 KiB. > > Restarting GDM brought the growth back. > > Workaround tested: > Create /etc/dconf/db/gdm.d/99-ventuno-memory-workaround with: > > [org/gnome/desktop/interface] > enable-animations=false > > Then run sudo dconf update and restart GDM. Restarting GDM ends > graphical sessions, so I did this only while the board was at the > login screen. > > With animations disabled, the GEM total stayed at 259 objects / > 219639808 bytes, Shmem around 225492 KiB, and Unevictable at 237284 > KiB across repeated samples over approximately 2.5 minutes. This is a > short controlled test, not an overnight stability result. > > The previous boot logged 4,117 instances of: > MESA: error: flush_submit_list:135: submit failed: -28 (No space left on > device) > > It also logged msm/a6xx GMU HFI_H2F_MSG_GX_BW_PERF_VOTE response > timeouts. There was no recorded OOM kill, kernel panic, or filesystem > I/O error, and pstore was empty. The ENOSPC above came from GPU > submission, not a full root filesystem. > > The board has a local REFGEN device-tree backport and > pcie_aspm.policy=performance from a separate NVMe investigation. That > change adds the regulator at 0x0891c000 and refgen-supply links to > both PCIe PHYs. The M.2 slot was empty during this memory test. I have > not repeated the memory test with the stock device tree, so I cannot > rule out that modification. NVMe report: > https://bugs.launchpad.net/ubuntu/+source/linux-qcom/+bug/2172593 > > I am filing against linux-qcom because the measured growth is in msm > DRM buffers, but I have not isolated whether the defect is in the > kernel driver, Mesa, or Mutter/GDM. Please retarget if another package > is appropriate. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux-qcom/+bug/2172594/+subscriptions ** Attachment added: "bug2172594-1089-memory-samples.csv.gz" https://bugs.launchpad.net/bugs/2172594/+attachment/6017724/+files/bug2172594-1089-memory-samples.csv.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2172594 Title: VENTUNO Q: idle GDM login screen accumulates pinned msm GPU buffers until memory is exhausted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-qcom/+bug/2172594/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
