orblazer / plasma-applet-resources-monitor

Plasmoid for monitoring CPU, memory, network traffic, GPUs and disks IO.
https://www.pling.com/p/2143899/
GNU General Public License v3.0
57 stars 6 forks source link

[BUG] When enabling gpu no status update is shown #52

Closed only-su closed 1 year ago

only-su commented 1 year ago

Current Behavior

I'm trying to see my gpu status on the system tray. I downloaded the widget and enabled it. CPU and ram loaded automatically and are perfect. I entered configuration and enabled GPU, its graph is being displayed now but no info is updated onto it, it's just a still graph, not even temperature loads anything.

Expected Behavior

When enabling GPU it should show GPU info and update the graph.

Steps To Reproduce

  1. enable gpu

Screenshots

image

Logs

-- No entries --

Versions

- Widget:2.9.0
- KDE Plasma:5.27.4-1
- KDE Framework:5.105.0-1

Additional context

I have a dedicated radeon rx580 amd gpu

asif-ansari commented 1 year ago

same issue

Versions

- Widget:2.10.0
- KDE Plasma:5.27.4
- KDE Framework:5.105.0

GPU

GeForce RTX 3070 Mobile

Screenshot_20230529_135504

orblazer commented 1 year ago

Hello, Could you try to add sensors GPU > GPU 1 > GPU 1 Usage and GPU > GPU 1 > GPU 1 Video Memory Used in "System Monitor" application.

And if you have data, could you check the logs with journalctl /usr/bin/plasmashell -e or running in isolated environment with plasmawindowed org.kde.resourcesMonitor-fork.

asif-ansari commented 1 year ago

OK, so the problem seems to be because I only have GPU 2 under sensors? Screenshot_20230531_142331

And it correctly displays all the values Screenshot_20230531_142558

asif-ansari commented 1 year ago

In GpuGraph.qml I changed gpu/gpu0 to gpu/gpu1 and it is working now Screenshot_20230531_143650

orblazer commented 1 year ago

Ok, i have thought that could be an issue to use an hardcoded gpu index, i go to work on it and fix it for next release. Thanks for reporting.