[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 Vlad Zahorodnii changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|--- |FIXED --- Comment #25 from Vlad Zahorodnii --- Thanks, closing the bug report. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #24 from dreape...@gmail.com --- In 5.23.5, I don't see it spiking up every 3-4 MB whenever I open a window anymore. So it seems like it's fixed. On Tuesday, January 11, 2022 1:52:29 A.M. MST you wrote: > https://bugs.kde.org/show_bug.cgi?id=443990 > > --- Comment #23 from Vlad Zahorodnii --- > (In reply to dreape...@gmail.com from comment #22) > > > When my custom themes are applied, kwin jumps up a few megabytes at a time > > whenever a window is opened and closed again. So kwin keeps consuming more > > ram until I have to kill it and start again. Is there a fix for this or > > something I can fix with my themes? > > Can you confirm whether it's fixed in 5.23.5? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #23 from Vlad Zahorodnii --- (In reply to dreape...@gmail.com from comment #22) > When my custom themes are applied, kwin jumps up a few megabytes at a time > whenever a window is opened and closed again. So kwin keeps consuming more > ram until I have to kill it and start again. Is there a fix for this or > something I can fix with my themes? Can you confirm whether it's fixed in 5.23.5? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 dreape...@gmail.com changed: What|Removed |Added CC||dreape...@gmail.com Platform|Archlinux Packages |Neon Packages Component|compositing |aurorae Version|5.23.0 |5.23.4 --- Comment #22 from dreape...@gmail.com --- When my custom themes are applied, kwin jumps up a few megabytes at a time whenever a window is opened and closed again. So kwin keeps consuming more ram until I have to kill it and start again. Is there a fix for this or something I can fix with my themes? These are my themes: https://www.pling.com/p/1406638 https://www.pling.com/p/1574340 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #21 from Komorebi --- No longer happens to me. The system is up for 6 days and kwin consumes ~280MB of ram which is probably slightly more that before 5.23, but still less than in 5.23.0 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #20 from Vlad Zahorodnii --- https://invent.kde.org/plasma/kwin/-/commit/8accc777a5b3ab1e53341f1838ed636652dc1221 will be shipped with 5.23.5. It would be great if somebody could confirm that it fixes the issue. Otherwise we could wait until 5.23.5 is released and revisit this bug. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #19 from Vlad Zahorodnii --- should be fixed with https://invent.kde.org/plasma/kwin/-/merge_requests/1791 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #18 from varlesh --- Created attachment 143955 --> https://bugs.kde.org/attachment.cgi?id=143955&action=edit heaptrack -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 varlesh changed: What|Removed |Added CC||varl...@gmail.com --- Comment #17 from varlesh --- I confirm this too. On my system i'm have over 500MB kwin_x11 memory usage. But with restart it's use 151MB and growing again. On heaptrack it's call to in libGLX_nvidia.so.0 Earlier i'm disable dbus spam with this instruction: https://forums.developer.nvidia.com/t/bug-nvidia-v495-29-05-driver-spamming-dbus-enabled-applications-with-invalid-messages/192892/9?u=rangelalvarado1 But anyway i see memory leak on KWin. Also i noticed unstable work and constant crashes... -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 Ralf Hemmenstaedt changed: What|Removed |Added CC||r...@lahn.net -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #16 from k...@itstyrion.de --- @Komorebi that sounds like 2 different issues indeed. meeeh -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #15 from Komorebi --- >@Komorebi is memory leaked when using breeze window deco? Yes >I'm afraid it might have to do with the official nvidia driver. >I posted about the subject on Reddit. 3 people using Mesa/AMDGPU don't have >the issue, and I'm not able to replicate it either, as soon as I remove the >nvidia driver package. I have Radeon RX550/550 Series, so there might be 2 different issues. >alt-tab spam also raises the value by no more than 0.3 MB (which is also >de-allocated only seconds later) I'm not able to reproduce the issue by making some actions like alt+tabing, opening and closing windows, etc. Consumed memory grows over time by itself. The only way to reproduce the issue for me is just to wait for 2-3 days of uptime. I believe it's very important thing to take into account. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #14 from Andrew Udvare --- Is anyone here getting dbus-daemon spam in the log? Oct 29 17:57:50 limelight dbus-daemon[2006]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.38" (uid=1000 pid=2526 comm="/usr/bin/kwin_x11 ") It's not exactly causing a leak as I saw in that video (and I also use the Nvidia driver). But obviously it's very annoying as I have to filter dbus-daemon out when I try to check my log. Restarting fixes the issue temporarily. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #13 from k...@itstyrion.de --- I'm afraid it might have to do with the official nvidia driver. I posted about the subject on Reddit. 3 people using Mesa/AMDGPU don't have the issue, and I'm not able to replicate it either, as soon as I remove the nvidia driver package. Video without the proprietary nvidia driver: https://youtu.be/djzVQMEfQt8 Starts at ~70 MB, goes to ~100 after opening a few windows, instantly goes back to that after opening and closing 30+ windows. alt-tab spam also raises the value by no more than 0.3 MB (which is also de-allocated only seconds later) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 80p3fy7...@cloud-mail.top changed: What|Removed |Added CC||80p3fy7...@cloud-mail.top --- Comment #12 from 80p3fy7...@cloud-mail.top --- Created attachment 143005 --> https://bugs.kde.org/attachment.cgi?id=143005&action=edit kwin_x11 >1.8GB Same issue on Gentoo, the RAM usage keeps growing with time. The screenshot was taken after about 2 days of uptime. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 k...@itstyrion.de changed: What|Removed |Added Platform|Neon Packages |Archlinux Packages --- Comment #11 from k...@itstyrion.de --- I can confirm that, for me, spamming Alt-Tab visible increases the RAM utilization. The thing I noticed is that you can make kwin_x11 reach 500+ MB heap in under a minute by repeatedly opening and closing windows. After each open+close, it's like 2 to 5 MB higher, according to ksysguard. Video: https://www.youtube.com/watch?v=2CBsheEeg_4 (I'm not on Neon, though, but on Archlinux) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 k...@itstyrion.de changed: What|Removed |Added CC||k...@itstyrion.de --- Comment #10 from k...@itstyrion.de --- I can confirm that, for me, spamming Alt-Tab visible increases the RAM utilization. The thing I noticed is that you can make kwin_x11 reach 500+ MB heap in under a minute by repeatedly opening and closing windows. After each open+close, it's like 2 to 5 MB higher, according to ksysguard. Video: https://www.youtube.com/watch?v=2CBsheEeg_4 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #9 from Vlad Zahorodnii --- @Komorebi is memory leaked when using breeze window deco? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 Andrew Udvare changed: What|Removed |Added CC||audv...@gmail.com --- Comment #8 from Andrew Udvare --- Are you getting endless messages in DBus? Maybe related: Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") Oct 27 14:25:06 limelight dbus-daemon[2019]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="1" destination=":1.39" (uid=1000 pid=2627 comm="/usr/bin/kwin_x11 ") -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #7 from Komorebi --- + snapshot: https://drive.google.com/file/d/1E2ck3tYvGqR66EymOaUXyo8Y86Sk9uUk/view?usp=sharing -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #6 from Vlad Zahorodnii --- Created attachment 142910 --> https://bugs.kde.org/attachment.cgi?id=142910&action=edit heaptrack screenshot -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #5 from Komorebi --- ~1 day heaptrack https://drive.google.com/file/d/1fmY3vrwmtUeaAu34zql9NJmPJEWje5cX/view?usp=sharing I'm still running kwin with heaptrack and will upload one more snapshot later. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #4 from Komorebi --- I can't confirm alt+tabing increases memory usage. Will try heaptrack. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #3 from Vlad Zahorodnii --- Can you verify whether alt-tab'ing constantly increases memory usage? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #2 from Vlad Zahorodnii --- Interesting... It will be very helpful if you could run kwin with heaptrack, but I'm not sure that it's feasible to run kwin + heaptrack for more even than a day. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 443990] Kwin memory leak
https://bugs.kde.org/show_bug.cgi?id=443990 --- Comment #1 from Komorebi --- Created attachment 142587 --> https://bugs.kde.org/attachment.cgi?id=142587&action=edit Kwin memory usage -- You are receiving this mail because: You are watching all bug changes.