Thanks a ton! I've ran the commands you mentioned. The number of threads (grep Threads /proc/`pidof gnome-shell`/status) and the value stayed constant at 23.
However, the /proc/maps shows something much more interesting. The number of lines of the maps file slowly increases over time; after just 8 minutes of uptime it hits 2221 and counting. By further grepping I noticed that it's only the `/dev/dri/card0` lines that are being added up: 1. watch "cat /proc/2666/maps|grep -v -i card0|wc -l": this shows a relatively constant number around 1140 2. watch "cat /proc/2666/maps|grep -i card0|wc -l": starts at around 100, but after ~9 minutes of uptime it shows 1301 and the number slowly increases. Regarding the integrated GPU: since it's a VM, Linux doesn't access M3 GPU chip directly. Linux is running in UTM, which is using QEMU under the hood. QEMU/UTM uses an Emulated Display Card named "virtio-gpu-gl- pci" with GPU acceleration, however unfortunately I do not know the exact details. I've tried to switch to the "virtio-gpu-pci" Emulated Display Card which doesn't offer GPU acceleration, forcing Linux to use the software rendering. That actually fixes this issue: the number of `card0` lines in the /proc/maps file doesn't increase but rather stays at around 3; and the memory consumption shown via htop does not increase. When I boot up Ubuntu 25.04 with kernel 6.14.0-29 and "virtio-gpu-gl- pci", the number of `/dev/dri/card0` lines in the /proc/maps file generally stays in the range of 40..60. Sounds like newer kernel triggers some kind of a bug, but I'm not sure whether it's in gnome-shell, the kernel, QEMU or UTM :-D -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2122654 Title: gnome-shell 49~rc leaks virtual memory on arm64 Status in gnome-shell package in Ubuntu: Incomplete Bug description: After I upgraded to Ubuntu 25.10, I noticed that I'm periodically running out of memory couple of times per day. `watch free -h` indeed shows a huge shared memory usage (3 GB and rising). The shared memory usage climbs up at a rate about 3mb/s and there's apparently no ceiling - something just uses all of the memory. `htop` shows no app with a huge usage of the shared memory, but I do notice gnome-shell using a lot of virtual memory (5G and climbing up). When I log out and log back in, the shared memory usage is reset to 100mb and starts climbing up again. `df -h|grep tmpfs` shows a stable usage of 2mb, so this can't be the culprit. This leads me to believe that `gnome-shell` is the culprit here. I'll try to disable all addons and I'll try again. ProblemType: Bug DistroRelease: Ubuntu 25.10 Package: gnome-shell 49~rc-0ubuntu1 ProcVersionSignature: Ubuntu 6.17.0-3.3-generic 6.17.0-rc3 Uname: Linux 6.17.0-3-generic aarch64 ApportVersion: 2.33.1-0ubuntu2 Architecture: arm64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri Sep 12 11:52:22 2025 DisplayManager: gdm3 InstallationDate: Installed on 2024-10-08 (339 days ago) InstallationMedia: Ubuntu-Server 24.04.1 LTS "Noble Numbat" - Release arm64 (20240827) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/usr/bin/fish TERM=xterm-256color XDG_RUNTIME_DIR=<set> RelatedPackageVersions: mutter-common 49~rc-0ubuntu2 SourcePackage: gnome-shell UpgradeStatus: Upgraded to questing on 2025-09-12 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2122654/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

