My wallpapers are a slideshow from a directory on my second drive (HDD NTFS). When I set the original directory from the HDD as my wallpapers, plasmashell consumes all available memory (31GB peak). However, if I copy this directory to my home folder, everything works fine.
Arch Linux, plasma version 6.2.5
Hi! Could you please share the details from the Info Center app for the system where you’re seeing that behavior? The Copy Details button is the easiest way to paste that into a post here:
There is an existing bug report around memory leaks when changing wallpaper that might have a few different situations wrapped up in it - 480693 – Major memory leak when changing wallpapers - so it might also be helpful to find out:
- Does memory leak when you just change wallpapers at all, even without the slideshow?
- If you have an NVIDIA graphics card, are you using the proprietary drivers or the Nouveau ones?
Thanks!
So I’ve been struggling for the past few years trying to use Wayland with Plasma 6 since Nvidia finally started getting their drivers (somewhat) capable, but it’s been painful as plasmashell will consume all of my 128gb of ram within hours, and I’ve never gotten a concrete fix.
I thought I tried the static wallpaper before to no avail, but seems not fully as I did this yesterday after letting chatgpt research some things, and suggested many people complaining about the scrolling Slideshow wallpapers.
Well I’ll be darned, it now fixed my memory leak when setting it to just Plain Color vs slideshow!
This seems to be plaguing people forever. Prior discussion about a heaptrack when this was occurring, it was mentioned it looked like libEGL and libEGL_nvidia were the root of this, but if so, then it sounds like the wallpaper function is angering it somehow.
I’d be glad to provide a current heaptrack, but my old one here should still be valid as well.
I’ll take no wallpaper over having plasmashell oom and restart randomly all day, but would be lovely to isolate this for a fix finally.
I’ll take no wallpaper over …
You don’t have to give up wallpaper, it only happened in Slideshow mode. You can use the others modes != Slideshow where the wallpaper is static. The bug report suggests it’s fixed in 6.3.91 or later. “Picture of the day” mode might leak too but since that’s only one picture change a day it’s likely not too bad before updating to 6.3.91 and higher.
In general, plasma widgets are the main risk to KDE stability, because it’s possible to install rather amateurish and low quality plasma widgets if you go into “Enter Edit Mode” and select “Add or Manage Widgets” and use “Download New Plasma Widgets …”
So it’s a good idea to be careful in there and stick to the official ones
Ahh got it, I see now it was reported fixed very recently, my arch is only pulling in 6.3.5 so far, though someone else on arch has a fixed version, so must be under unstable or something currently still.
Thanks for the heads up, I’m really glad to see this is finally getting resolved one way or another!
6.3.90 and 6.3.91 are both Betas, 6.4.0 offficial is targeted to 6/17