Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD GPU Power usage is 0 #3

Open
shawarden opened this issue Jul 31, 2023 · 1 comment
Open

AMD GPU Power usage is 0 #3

shawarden opened this issue Jul 31, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@shawarden
Copy link

Awesome work even with AMD gpus, which is depressingly rare.

Unfortunately it doesn't pick up power usage on (some?/my) AMD cards though, and while rocm-smi does not seem to provide that information, it is readily available on linux at /sys/class/drm/card?/device/hwmon/hwmon?/power?_average with .../power?_cap being the normal upper limit and .../power?_cap_max being the OC upper limit.

Presumably it would be there for Nvidia cards as well, but I can't test that.

@shawarden shawarden added the enhancement New feature or request label Jul 31, 2023
@romner-set
Copy link
Owner

I'm pretty sure this is an issue with ROCm SMI, I could only test with an iGPU but I can reproduce the issue. Either way there's plans to use the kernel DRM subsystem for Intel GPUs and as a general fallback, so this'll be fixed in the future if RSMI doesn't address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants