Bug 448611 - Widgets sometimes show no data even when ksystemstats is running
Summary: Widgets sometimes show no data even when ksystemstats is running
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (other bugs)
Version First Reported In: 5.23.5
Platform: Slackware Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 447497 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-16 17:32 UTC by Dmitri Koulikoff
Modified: 2025-11-16 03:48 UTC (History)
5 users (show)

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


Attachments
tray (9.88 KB, image/png)
2022-01-16 17:32 UTC, Dmitri Koulikoff
Details
attachment-9167-0.html (1.12 KB, text/html)
2022-01-27 17:19 UTC, Hassan Mahfuj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Koulikoff 2022-01-16 17:32:49 UTC
Created attachment 145556 [details]
tray

SUMMARY

For several versions it does not work any more. 

STEPS TO REPRODUCE
1.  Place plugin in the tray
2. Click on the icon

OBSERVED RESULT

The icon must show the load. After a click a widow with the details must be opened.

EXPECTED RESULT

The icon is blank. Nothing is opened.

SOFTWARE/OS VERSIONS
Operating System: Slackware 15.0-rc3
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3
Kernel Version: 5.15.15 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-20 21:00:38 UTC
What doesn't work? I can't tell from the screenshot what's broken. Can you please write steps to reproduce?

https://community.kde.org/Get_Involved/Issue_Reporting#Steps_to_Reproduce
Comment 2 Dmitri Koulikoff 2022-01-21 08:34:45 UTC
(In reply to Nate Graham from comment #1)
> What doesn't work? I can't tell from the screenshot what's broken. Can you
> please write steps to reproduce?
> 
> https://community.kde.org/Get_Involved/Issue_Reporting#Steps_to_Reproduce

Nothing, no load is shown, you see, the both bars are completely blank, and when I click on them no window is opened.
Comment 3 Dmitri Koulikoff 2022-01-21 08:37:29 UTC
And, yes, removing and restoring the widget does not help.
Comment 4 Nate Graham 2022-01-21 16:01:26 UTC
Is the `ksystemstats` daemon not running? If you manually launch it, does it start working?
Comment 5 Dmitri Koulikoff 2022-01-21 16:25:41 UTC
(In reply to Nate Graham from comment #4)
> Is the `ksystemstats` daemon not running? If you manually launch it, does it
> start working?


$ ksystemstats
Loaded plugin "ksystemstats_plugin_cpu" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_cpu.so"
Could not retrieve information for NVidia GPU 0
Found unsupported GPU: /sys/devices/pci0000:00/0000:00:02.0
Loaded plugin "ksystemstats_plugin_gpu" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_gpu.so"
Loaded plugin "ksystemstats_plugin_disk" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_disk.so"
Loaded plugin "ksystemstats_plugin_osinfo" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_osinfo.so"
Loaded plugin "ksystemstats_plugin_memory" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_memory.so"
Loaded plugin "ksystemstats_plugin_network" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_network.so"
Loaded plugin "ksystemstats_plugin_power" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_power.so"
Loaded plugin "ksystemstats_plugin_lmsensors" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_lmsensors.so"
Could not contact hostnamed, got:  "The name org.freedesktop.hostname1 was not provided by any .service files"
^C
Comment 6 Nate Graham 2022-01-21 16:51:28 UTC
OK, but now that it's running, do your system monitor widgets start working?

If not, do they start working if you also restart plasmashell with `plasmashell --replace`?
Comment 7 Dmitri Koulikoff 2022-01-21 18:03:57 UTC
(In reply to Nate Graham from comment #6)
> OK, but now that it's running, do your system monitor widgets start working?
> 
> If not, do they start working if you also restart plasmashell with
> `plasmashell --replace`?

Sorry, I do not understand. Should not `ksystemstats` start automatically if widget is installed at KDE start? In previous versions of plasma all worked perfectly. What's happened?
Comment 8 Nate Graham 2022-01-21 18:15:28 UTC
It should. Evidently that didn't happen. That's a bug.

I'm trying to find out if the widgets begin to work as expected when you start the `ksystemstats` process normally. If they don't, then that would be a second bug.
Comment 9 Dmitri Koulikoff 2022-01-21 18:55:03 UTC
(In reply to Nate Graham from comment #8)
> It should. Evidently that didn't happen. That's a bug.
> 
> I'm trying to find out if the widgets begin to work as expected when you
> start the `ksystemstats` process normally. If they don't, then that would be
> a second bug.

As you can see in my https://bugs.kde.org/show_bug.cgi?id=448611#c6 ksystemstats is not running now as I killed it at the end.
pgrep shows no such a process.

I will try later to start ksystemstats manually and restart plasmashell.

But when and how must ksystemstats normally?
Comment 10 Nate Graham 2022-01-21 19:03:32 UTC
ksystemstats is supposed to automatically launch when needed because a System Monitor widget asks for it. Evidently that's not happening here. We need to figure out why.
Comment 11 Dmitri Koulikoff 2022-01-21 19:41:30 UTC
(In reply to Nate Graham from comment #10)
> ksystemstats is supposed to automatically launch when needed because a
> System Monitor widget asks for it. Evidently that's not happening here. We
> need to figure out why.

Perfect!
Comment 12 Dmitri Koulikoff 2022-01-22 07:15:15 UTC
(In reply to Nate Graham from comment #6)
> OK, but now that it's running, do your system monitor widgets start working?
> 
> If not, do they start working if you also restart plasmashell with
> `plasmashell --replace`?

No, it does not help. When I place mouseon the icon on the tray a popup appears with only text "System load"
Comment 13 Nate Graham 2022-01-24 20:49:31 UTC
I can reproduce the issue.
Comment 14 Nate Graham 2022-01-24 20:49:36 UTC
*** Bug 447497 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2022-01-27 16:07:19 UTC
Never mind, I was mistaking this for a different issue, and I cannot reproduce it.
Comment 16 Hassan Mahfuj 2022-01-27 17:19:47 UTC
Created attachment 145997 [details]
attachment-9167-0.html

Are you tried on Raspberry Pi 4 Model B?

A few years ago i first install KDE Plasma on my pi, then everything worked
fine. I don't remember the version of KDE. (I used another operating system
in the middle.) But few months ago when i re-installed it then come with
this problem.

On Thu, Jan 27, 2022, 10:07 PM Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=448611
>
> --- Comment #15 from Nate Graham <nate@kde.org> ---
> Never mind, I was mistaking this for a different issue, and I cannot
> reproduce
> it.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 17 Murz 2022-04-16 10:14:57 UTC
I've got the same problem with empty System Load Viewer widget on KDE 5.24.4, and here is the output of `ksystemstats`:
```
$ ksystemstats
Found unsupported GPU: /sys/devices/pci0000:00/0000:00:02.0
Loaded plugin "ksystemstats_plugin_gpu" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_gpu.so"
Loaded plugin "ksystemstats_plugin_network" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_network.so"
Loaded plugin "ksystemstats_plugin_memory" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_memory.so"
Loaded plugin "ksystemstats_plugin_cpu" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_cpu.so"
Loaded plugin "ksystemstats_plugin_disk" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_disk.so"
Loaded plugin "ksystemstats_plugin_lmsensors" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_lmsensors.so"
Loaded plugin "ksystemstats_plugin_osinfo" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_osinfo.so"
Loaded plugin "ksystemstats_plugin_power" from file "/usr/lib/x86_64-linux-gnu/qt5/plugins/ksystemstats/ksystemstats_plugin_power.so"
```
My system info is:
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-25-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 30.9 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Comment 18 Murz 2022-04-16 10:51:01 UTC
Also GUI System Monitor KDE app works well and shows CPU, Memory and other stats without any problems.
I have found that in Ubuntu 22.04 ksysguard is replaced by ksystemstats and even some merge request about this here
https://gitlab.com/hkanjal/kdeplasma-addons/-/merge_requests/2
So maybe systemloadviewer still uses old library that is missing?
Comment 19 Nate Graham 2025-10-17 19:10:22 UTC
Thank you for the bug report, and I'm sorry we weren't able to figure it out yet. A lot has changed since it was reported; can I ask you to see if this is still an issue with Plasma 6.4 or later? Thanks a lot!
Comment 20 Bug Janitor Service 2025-11-01 03:47:52 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 21 Bug Janitor Service 2025-11-16 03:48:14 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.