Created attachment 105254 [details] glxinfo In a laptop with 8Gb of RAM, opensuse Tumbleweed, and an integrated Intel graphic card, that uses the sddm session chooser, as soon as I start a "plasma (wayland)" session, kwin_wayland starts to use big amounts of memory: from 0 to 16Gb in less than 30 seconds. The laptop becomes unresponsive in less than 30 seconds. How can I debug where the the problem is to make this bug report useful?
Can you try to only run a nested kwin_wayland in an X11 session and check whether the problem happens there as well. If yes, that would allow to run valgrind on it. If not we need to look for another solution. Investigating the startup of the Plasma Wayland session is unfortunately not trivial. I reduced the importance to major as currently we don't have critical bugs on Wayland yet.
Created attachment 105255 [details] Valgrind output of a nested kwin_wayland
There are also thousands of lines like the following in the stdout: The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/maximize.svgz" doesn't contain any of the prefixes ("pressed-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/maximize.svgz" doesn't contain any of the prefixes ("deactivated") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/close.svgz" doesn't contain any of the prefixes ("deactivated-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/close.svgz" doesn't contain any of the prefixes ("pressed-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/close.svgz" doesn't contain any of the prefixes ("deactivated") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/alldesktops.svgz" doesn't contain any of the prefixes ("deactivated-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/alldesktops.svgz" doesn't contain any of the prefixes ("pressed-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/alldesktops.svgz" doesn't contain any of the prefixes ("deactivated") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/decoration.svgz" doesn't contain any of the prefixes ("innerborder-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/decoration.svgz" doesn't contain any of the prefixes ("decoration-maximized-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/restore.svgz" doesn't contain any of the prefixes ("deactivated-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/restore.svgz" doesn't contain any of the prefixes ("pressed-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/restore.svgz" doesn't contain any of the prefixes ("deactivated") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/maximize.svgz" doesn't contain any of the prefixes ("deactivated-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/maximize.svgz" doesn't contain any of the prefixes ("pressed-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/maximize.svgz" doesn't contain any of the prefixes ("deactivated") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/close.svgz" doesn't contain any of the prefixes ("deactivated-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/close.svgz" doesn't contain any of the prefixes ("pressed-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/close.svgz" doesn't contain any of the prefixes ("deactivated") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/alldesktops.svgz" doesn't contain any of the prefixes ("deactivated-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/alldesktops.svgz" doesn't contain any of the prefixes ("pressed-inactive") The image "/home/jtorres/.local/share/aurorae/themes/air-oxygen/alldesktops.svgz" doesn't contain any of the prefixes ("deactivated") I'm going to check if I have air-oxygen installed and check again.
Created attachment 105258 [details] one of the massif.output
Created attachment 105259 [details] the other massif output I have installed all the air* oxygen* plasma-* packages i have found, and the messages are still there.
Given the debug output it could be related to the window decoration you are using. I haven't tested aurorae much on Wayland, consider giving a try to the default breeze.
Just had a look into massif and it seems to confirm that it is related to aurorae. There is one element of 677 MiB and it is from inside Aurorae. It might be possible that ac08c5ac9d4532b2506c76e8b69249b32d365aa3 fixed this issue, too. But that's only in master
Confirmed, with breeze ("brisa"), kwin_wayland works perfectly fine. You can close this bug, unless you think we should wait until the patch you mentioned is available in Tumbleweed, because I don't have a development environment in the laptop to test the master branch.
*** Bug 379735 has been marked as a duplicate of this bug. ***
Should be fixed in 5.10.4. At least I found a bug in Aurorae which made the session unusable (did not look at memory consumption but it recursively created OpenGL contexts, so yes quite likely memory increase) and fixed it.