You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks good. I could never find an API that shows GPU usage, but I guess I wasn't looking hard enough. If you want to implement this, that would be great.
Sadly no. We (maintainers) don't have AMD hardware and can't really test or develop this feature. If you could implement the feature, providing you have the hardware, that would be amazing.
I'm not a contributor, nor do I know how to as I've only ever managed my own git repos, but you can just replace line 32 of scripts/gpu_usage.sh with...
usage="$(cat /sys/class/drm/card?/device/gpu_busy_percent | sed -z -e 's/\n/%\//g' -e 's/\/$//g')"
...and it will report the gpu usage for any one or more amd or intel gpu(s)
Describe the bug
The status plugin for GPU usage doesn't process AMD and intel GPUs
To Reproduce
Steps to reproduce the behavior:
gpu-usage
to@dracula-plugins
Expected behavior
It should report any GPU usage.
System
Possible fix:
Change
gpu_usage.sh
line 32 from......to something along the lines of...
...which can handle one or more GPUs of any type?
Same fixes can be used for
gpu_ram_info.sh
:...and
gpu_power.sh
:The text was updated successfully, but these errors were encountered: