nix-community / kde2nix

Provisional, experimental Plasma 6 (and friends) pre-release packaging [maintainer=@K900]
MIT License
66 stars 6 forks source link

System Monitor stats page is empty #6

Closed jansol closed 9 months ago

jansol commented 10 months ago

This line in the journal seems relevant.

plasma-systemmonitor[21359]: org.kde.ksysguard.plugin.network: Helper process terminated abnormally: "The process doesn't have permission to open the capture source"
K900 commented 10 months ago

Fixed, turns out ksystemstats is still required.

jansol commented 10 months ago

Hmm.... Memory, Network and Disk I/O look about right now but CPU shows almost 0% while rebuilding all of KDE and htop showing that all cores are pinned to 100%.

K900 commented 10 months ago

Weird. Works fine here.

jansol commented 10 months ago

It's funny, it seems to only affect nixos-rebuild build

jansol commented 10 months ago

image still happens, also with nix run (when it has to build the thing to be run first)

K900 commented 10 months ago

Could be https://invent.kde.org/plasma/ksystemstats/-/merge_requests/65 as suggested on Matrix. @jansol can you test with this applied?

jansol commented 9 months ago

What would be the easiest way to apply that to this flake? Just cloning the repo and adding the patch there?

EDIT: did just that and with the patch the CPU graph in System Monitor does indeed match the output of htop.

K900 commented 9 months ago

Thanks, picked the patch.