Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874915 - kde-plasma/plasma-workspace: plasmashell memory increases until system crash
Summary: kde-plasma/plasma-workspace: plasmashell memory increases until system crash
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-04 16:25 UTC by far jump
Modified: 2023-01-11 16:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge-info.txt,5.76 KB, text/plain)
2022-10-04 16:25 UTC, far jump
Details
emerge info (kb_fix.txt,6.35 KB, text/plain)
2023-01-11 16:51 UTC, far jump
Details

Note You need to log in before you can comment on or make changes to this bug.
Description far jump 2022-10-04 16:25:49 UTC
Created attachment 818668 [details]
emerge info

The amount of memory used by plasmashell slowly and steadily increases until the desktop freezes and crashes.  early symptom is a lagging and shuddering keyboard, sometimes losing the keyboard altogether.  stopping the display-manager and returning to the command line, and the keyboard works perfectly
Comment 1 far jump 2022-10-04 16:32:25 UTC
system has GeForce GT 620  using  x11-drivers/nvidia-drivers
Installed versions:  390.151(0/390)(03:59:15 PM 08/22/2022)(X driver static-libs tools -dist-kernel -persistenced ABI_X86="64 -32")

tried using nv driver - that made everything 3 times as bad
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 16:48:51 UTC
What version of plasma-workspace?
Comment 3 far jump 2022-10-04 17:48:56 UTC
(In reply to Sam James from comment #2)
> What version of plasma-workspace?

kde-plasma/plasma-meta
Installed versions:  5.24.6-r1(5)(06:04:12 PM 08/11/2022)(browser-integration crash-handler crypt desktop-portal display-manager elogind gtk handbook kwallet legacy-systray sddm smart wallpapers -accessibility -bluetooth -colord -discover -firewall -grub -networkmanager -plymouth -pulseaudio -sdk -systemd -thunderbolt)
Comment 4 Andreas Sturmlechner gentoo-dev 2022-10-04 18:08:33 UTC
I don't think we can do a lot about this, aside asking you to try and upgrade to latest stable Plasma 5.25.5.

Try to reproduce this on a testuser account without any widgets, etc. added; if it does not happen there, add more stuff as you have on your main user account and keep an eye on memory increase. Finally, search for an existing bug upstream or file a new one if the result is 0 and you can link it here for us to track.
Comment 5 far jump 2022-10-04 18:44:43 UTC
(In reply to Andreas Sturmlechner from comment #4)
> I don't think we can do a lot about this, aside asking you to try and
> upgrade to latest stable Plasma 5.25.5.

I will upgrade.

FYI we maintain a copy of gentoo stage3 and portage from 2018 (KDE plasma 4)  when I install that, everything software/hardware works perfectly w/o issue.
Comment 6 Andreas Sturmlechner gentoo-dev 2022-10-04 23:22:51 UTC
(In reply to far jump from comment #5)
> FYI we maintain a copy of gentoo stage3 and portage from 2018 (KDE plasma 4)
> when I install that, everything software/hardware works perfectly w/o issue.
Neither can I reproduce your problems with Plasma 5. Keep bug reports free of anecdotes please.
Comment 7 far jump 2022-10-05 00:17:15 UTC
(In reply to Andreas Sturmlechner from comment #6)
> (In reply to far jump from comment #5)
> > FYI we maintain a copy of gentoo stage3 and portage from 2018 (KDE plasma 4)
> > when I install that, everything software/hardware works perfectly w/o issue.
> Neither can I reproduce your problems with Plasma 5. Keep bug reports free
> of anecdotes please.

Not an extraneous anecdote, I was attempting to point out the unlikelihood that the problem was hardware
Comment 8 Andreas Sturmlechner gentoo-dev 2022-10-05 08:57:34 UTC
Not aware of any cases where hardware would cause memory increase, except of course for the drivers used and therefore different codepaths chosen in toolkits etc.
Comment 9 Andreas Sturmlechner gentoo-dev 2022-10-05 09:58:54 UTC
Also, when you report this upstream, add as much information as possible. You are describing a runtime problem, yet by only providing emerge --info we can only judge that yes, there are no insane build settings.

So, at least add versions involved (kinfocenter provides an easy copy-to-clipboard button), test X11 and Wayland behavior separately, tell approximately how the memory increase rate is etc.
Comment 10 Andreas Sturmlechner gentoo-dev 2022-10-05 10:33:20 UTC
...last but not least, is this a new phenomenon, did it work fine with a prior version of KDE Frameworks or Plasma (5)...
Comment 11 far jump 2023-01-11 16:50:21 UTC
was able to do emerge -DNu world
I noticed that it updated both nvidia-drivers, gentoo-sources and KDE plasma.  This seems to have resolved the issue.
Comment 12 far jump 2023-01-11 16:51:11 UTC
Created attachment 848229 [details]
emerge info