https://bugs.kde.org/show_bug.cgi?id=497041
Bug ID: 497041 Summary: Very high memory usage while using external monitor connected directly to the laptop Classification: Plasma Product: kwin Version: 6.2.4 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: multi-screen Assignee: kwin-bugs-n...@kde.org Reporter: orza...@gmail.com Target Milestone: --- Created attachment 176346 --> https://bugs.kde.org/attachment.cgi?id=176346&action=edit htop output SUMMARY I'm using EndeavourOS with KDE Plasma and Wayland Lenovo Thinkbook 16p Gen 4 with RTX 4060 Mobile as a discrete graphics card. I have two displays connected to the laptop via Lenovo USB-C dock Gen 2 and the third one is connected directly to the laptop. Displays connected via dock are both 60Hz while the third is capable of 144Hz(although I need to have it set to 120Hz otherwise this screen is blank despite system telling me it's on and working). The issue is when I play some videos (be it Youtube videos or google meetings) kwin_wayland process keeps eating more and more memory until it eats too much and gets killed by oom killer. Then I get logged out. What's more, during this memory hogging kwin_wayland spawns a lot of background processes.(screen from the htop in attachment). I do not expect the issue to be "not enough resources" as I have i9-13900H with 32GBs of ram. Today I've run a test where I was not putting any videos on main screen and after over 9 hours RAM usage was at about 10GBs of ram(it's normal based on workload). STEPS TO REPRODUCE 1. Connect display to the port on the laptop 2. Run some videos on it 3. Watch as kwin_wayland gets it eat-as-much-as-you-want day. OBSERVED RESULT Ram usage on always-increasing level(memory leak?). EXPECTED RESULT RAM usage on reasonable level. SOFTWARE/OS VERSIONS Linux/KDE Plasma: EndeavourOS KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Nvidia driver installed: nvidia-dkms version 565.57.01-2 Kernel version: 6.12.1-arch1-1 ADDITIONAL INFORMATION I'm more than happy to provide any more necessary info regarding this issue. -- You are receiving this mail because: You are watching all bug changes.