https://bugs.kde.org/show_bug.cgi?id=498627
Bug ID: 498627 Summary: Huge kwin_wayland memory leak Classification: Plasma Product: kwin Version: 6.2.5 Platform: Arch Linux OS: Linux Status: REPORTED Severity: major Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: bumblebeepllxd...@gmail.com Target Milestone: --- SUMMARY When using an external monitor on a dual gpu laptop (iGPU + dGPU) a process kwin_wayland uses huge amounts of memory. The speed of its rise seems to depend on how many pixels were changed. It rises significantly faster when gaming or playing a video and nearly doesn't when just displaying the wallpaper. It usually goes to 8-11GB after an hour. I haven't noticed it going above 11GB even after 3 hours. STEPS TO REPRODUCE 1. Pick a laptop with a dGPU 2. Connect an external monitor 3. Use the laptop for a bit OBSERVED RESULT Kwin using a lot of memory EXPECTED RESULT Kwin not using a lot of memory SOFTWARE/OS VERSIONS Linux: 6.12.9-arch1-1 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 ADDITIONAL INFORMATION Laptop: Lenovo Legion 16irh8 Cpu: Intel Core i5 13500h Gpu: Nvidia RTX 4050 Mobile Ram: 16GB It doesn't happen when an external monitor is not connected, when the iGPU is turned off in the bios and when nvidia drivers are not installed. Disconnecting the monitor while working stops the rise but it stays at the same level. Connecting it back restarts plasma and resets kwin_wayland's memory usage but it goes back even faster than it did the first time. -- You are receiving this mail because: You are watching all bug changes.