Bug 433153 - system monitor: list of applications is always empty
Summary: system monitor: list of applications is always empty
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 433177 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-18 11:01 UTC by Vadym Krevs
Modified: 2021-10-21 16:48 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Output of systemd-cgls (8.01 KB, text/plain)
2021-02-19 10:15 UTC, Vadym Krevs
Details
Output of env (4.37 KB, text/plain)
2021-02-19 12:59 UTC, Vadym Krevs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2021-02-18 11:01:01 UTC
SUMMARY
Updated to latest plasma 5.21.0 rpms from openSUSE build service on two PCs both running openSUSE 15.2. 

On both, the new System Monitor application (not KSysGuard) does not display anything in the "Applications" list - neither in the Overview section nor in the dedicated Applications section.

STEPS TO REPRODUCE
1. Open System Monitor
2. Click Applications, or
3. Click Overview->Applications

OBSERVED RESULT
Application list is empty

EXPECTED RESULT
Application list is not empty


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.0 
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-02-18 15:12:43 UTC
Is the ksystemstats daemon running?
Comment 2 Vadym Krevs 2021-02-18 17:05:03 UTC
It seems to.

$ ps -ef | grep ksystemstats | grep vadymk
vadymk   31952 12439  0 17:02 ?        00:00:00 /usr/bin/ksystemstats
vadymk   31968  4562  0 17:02 ?        00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncheriUxKpU.1.slave-socket local:/run/user/1000/ksystemstatsqFbRBK.1.slave-socket
vadymk   31969  4562  0 17:02 ?        00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncheriUxKpU.1.slave-socket local:/run/user/1000/ksystemstatsVCUZCG.2.slave-socket
vadymk   31970  4562  0 17:02 ?        00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncheriUxKpU.1.slave-socket local:/run/user/1000/ksystemstatsKfYTKY.3.slave-socket
vadymk   31971  4562  0 17:02 ?        00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncheriUxKpU.1.slave-socket local:/run/user/1000/ksystemstatsNRvBVM.4.slave-socket
vadymk   31972  4562  0 17:02 ?        00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncheriUxKpU.1.slave-socket local:/run/user/1000/ksystemstatscDqvJc.5.slave-socket
vadymk   32048  4840  0 17:02 pts/13   00:00:00 grep --color=auto ksystemstats
Comment 3 David Redondo 2021-02-19 08:09:08 UTC
*** Bug 433177 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2021-02-19 09:51:07 UTC
Can you include the output of "systemd-cgls"
Comment 5 Vadym Krevs 2021-02-19 10:15:32 UTC
Created attachment 135895 [details]
Output of systemd-cgls
Comment 6 David Edmundson 2021-02-19 10:46:02 UTC
Interesting. That doesn't show any apps grouped together.

Can I see:

Output of "env"

Does "qdbus org.freedesktop.systemd1   " return a wall of text or an error?
Comment 7 Vadym Krevs 2021-02-19 12:59:57 UTC
Created attachment 135902 [details]
Output of env
Comment 8 Vadym Krevs 2021-02-19 13:02:00 UTC
The output of "qdbus org.freedesktop.systemd1" could be described as a wall of text :-) No error.

$ qdbus org.freedesktop.systemd1  | wc -l
347
Comment 9 Ángel Fernández Sánchez 2021-10-17 16:21:17 UTC
Here is the instructions to install ksystemstats

Enable the repository:
# sudo add-apt-repository ppa:kubuntu-ppa/backports
Update the package index:
# sudo apt-get update
Install ksystemstats deb package:
# sudo apt-get install ksystemstats

More info.
https://ubuntu.pkgs.org/21.04/kubuntu-backports-amd64/ksystemstats_5.22.5-0ubuntu1~ubuntu21.04~ppa1_amd64.deb.html
Comment 10 David Edmundson 2021-10-21 13:43:17 UTC
ksystemstats is not the issue here, the applications aren't being put into cgroups when launched.

Can you run

QT_LOGGING_RULES=kf.kio.gui.debug=1 krunner --replace

then launch an application from krunner and paste the output.
Comment 11 Vadym Krevs 2021-10-21 16:48:24 UTC
Umm, I have since upgraded to openSUSE 15.3 earlier this summer and latest plasma 5.23.1 from OBS. This was still an issue prior to upgrade to plasma 5.23.1 - but the upgrade to 5.23.1 fixed it.

I can see Google Chrome, System Monitor, Konsole, Kate, KTorrent and /usr/bin/korgac in the Name column.