Everything from git master, Plasma 6 Wayland, Qt 6.6.0 Every time the wallpaper changes--either manually or via a slideshow-- plasmashell rises in memory usage for me by 20-100 Mb. It's quite dramatic and 100% reproducible.
Cannot reproduce on X11. Is it fixed now?
It doesn't seem to be happening anymore, indeed.
I am still running into the same issue. Switching to 'Image Wallpaper type' works as workaround. I can also get the memory usage down by restarting the plasmashell via cmdline.
*** Bug 482483 has been marked as a duplicate of this bug. ***
*** Bug 486175 has been marked as a duplicate of this bug. ***
(In reply to Nate Graham from comment #4) > *** Bug 482483 has been marked as a duplicate of this bug. *** Is there anyway I can provide any logs? I had this issue in Plasma 5 as well on WayLand. OS: Fedora Linux 40 (KDE Plasma) x86_64 Kernel: 6.8.8-300.fc40.x86_64 DE: Plasma 6.0.4CPU: Intel i7-8750H (12) @ 4.100GHz GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630] GPU: NVIDIA GeForce GTX 1070 Mobile
FWIW I can't personally reproduce this anymore with current git master. For me, when using a slideshow wallpaper, the memory usage goes up during the transition to a new wallpaper, but then it drops after the transition completes. Often it drops to a level lower than it was at before, in fact. Feels like there's some garbage collecting going on when switching.
While investigating and testing, I did notice a small leak with notifications though, for which I've opened Bug 486743.
(In reply to Nate Graham from comment #7) > FWIW I can't personally reproduce this anymore with current git master. For > me, when using a slideshow wallpaper, the memory usage goes up during the > transition to a new wallpaper, but then it drops after the transition > completes. Often it drops to a level lower than it was at before, in fact. > Feels like there's some garbage collecting going on when switching. What version will current git master be released as?
This is still happening for me with git master FWIW, I don't think it's been fixed there.
Yup, I am seeing a 60 MiB leak in heaptrack in the wallpaper stuff...
But I cannot reproduce it rising as I change wallpapers
(In reply to Kai Uwe Broulik from comment #12) > But I cannot reproduce it rising as I change wallpapers Can you reproduce it with slide show?
(In reply to unhappy-ending from comment #13) > (In reply to Kai Uwe Broulik from comment #12) > > But I cannot reproduce it rising as I change wallpapers > > Can you reproduce it with slide show? Yup, I can. To make it quicker, setting the transition time to a few seconds does it. Additionally, I am using two displays, one is my in-built laptop 1080p screen and an external 4K screen connected via HDMI. I am using proprietary NVIDIA drivers.
I upgraded to plasma 6.1 yesterday, so far the issue seems to be gone.
Not fixed for me, even in master.
(In reply to Ilya Bizyaev from comment #16) > Not fixed for me, even in master. Same for me, still happening on 6.1
FYI, someone mentioned that this might have been issue with the version of Qt installed. This is what I have right now, and I no longer have the same memory leak issue. Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: Micro-Star International Co., Ltd. Product Name: GE63 Raider RGB 8RF System Version: REV:1.0
I have the exact same version of Qt, but can still easily reproduce the issue using the steps from https://bugs.kde.org/show_bug.cgi?id=486175.
(In reply to vinkmr from comment #18) > FYI, someone mentioned that this might have been issue with the version of > Qt installed. > This is what I have right now, and I no longer have the same memory leak > issue. > > Operating System: Fedora Linux 40 > KDE Plasma Version: 6.1.0 > KDE Frameworks Version: 6.3.0 > Qt Version: 6.7.1 > Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit) > Graphics Platform: Wayland > Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz > Memory: 15.5 GiB of RAM > Graphics Processor: Mesa Intel® UHD Graphics 630 > Manufacturer: Micro-Star International Co., Ltd. > Product Name: GE63 Raider RGB 8RF > System Version: REV:1.0 I had it with 6.7.1 and when I confirmed it's still an issue was with 6.7.2.
Seeing same issue on Arch *Garuda* with Plasma 6.1.2 - Setting wallpaper to 1sec change will raise plasmashell to 8gb + in a few minutes. No such issue when slideshow is disabled.
Same here, I noticed when plasmashell was killed by oom-killer. Plasma version: 6.1.3 Qt Version: 6.7.2 Wayland session Had slideshow wallpapers enabled every 10 mins. Now I inspect and can see it climbs rapidly at each change, so I set Image wallpaper for now. Also now notice plasmashell memory usage climbs by tens of MB's when simply interacting with taskbar, hovering on window icons, viewing window previews, opening systemtray etc, never seems to release it, just climbs. I never had the problem until I upgraded to Plasma 6.
I've noticed the same problem + major GPU memory leak on 6.1.90 (probably caused by the same problem, on some drivers GPU memory is shared with RAM or swapped into RAM)
Created attachment 173637 [details] nvtop gpu memory before [1] - GPU usage after plasmashell restart [1] - setting wallpaper 1 [2] - setting wallpaper 2 [3] - setting wallpaper 1 [4] - setting wallpaper 2
Bug still occurs for me on Wayland, but doesn't (and didn't) on X11 Os: Arch Linux KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 Kernel Version: 6.12.4-arch1-1 (64-bit) Graphics Platform: Wayland proprietary NVIDIA drivers Also on 4k TV through HDMI
Also happening for my friend on EndeavourOS. Operating System: EndeavourOS KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 Kernel Version: 6.12.7-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor Memory: 15,5 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 Seems to be NVIDIA-only, I have been running slideshow on my AMD GPU all year long with no issues.
Memory leak when using slideshow wallpaper is consistently happening here with plasmashell 6.2.5 on Arch Linux. Using nvidia-open drivers 565.77.
(In reply to Dick Tracey from comment #27) > Memory leak when using slideshow wallpaper is consistently happening here > with plasmashell 6.2.5 on Arch Linux. > Using nvidia-open drivers 565.77. A bit more information on my setup: using kwin_wayland 6.2.5, qt 6.8.1
*** Bug 494063 has been marked as a duplicate of this bug. ***
*** Bug 499800 has been marked as a duplicate of this bug. ***
Completely reproducible. Operating System: Arch Linux KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.13.1-arch1-1 (64-bit) Graphics Platform: Wayland
Need to mention that Memory leak is present only on Wayland session, X11 is not affected. Operating System: Arch Linux KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.13.2-arch1-1 (64-bit) Graphics Platform: X11