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

AMDGPU Power reporting #164

Open
schaerfo opened this issue Aug 2, 2020 · 3 comments
Open

AMDGPU Power reporting #164

schaerfo opened this issue Aug 2, 2020 · 3 comments

Comments

@schaerfo
Copy link
Collaborator

schaerfo commented Aug 2, 2020

I would like to add reporting of GPU power from the AMDGPU driver [1] in the power section of s-tui, would you be interested in that?
However, since the driver reports power directly in Watts (instead of the energy consumed from which the power can be calculated by differentiation), some refactoring would be required.

[1] https://www.kernel.org/doc/html/latest/gpu/amdgpu.html#hwmon-interfaces

@amanusk
Copy link
Owner

amanusk commented Sep 12, 2020

I've been thinking about adding GPU support in general, but I don't want to create a mix of CPU and GPU stats.

I have implemented the basic functionality for Nvidia GPUs here: https://github.com/amanusk/s-tui/tree/nv-tui

Would be awesome to have a similar implementation for multiple AMD GPUs.

My dilemma is whether to have this as a separate project or simply to switch between GPU/CPU via a config. Would love to hear inputs

@schaerfo
Copy link
Collaborator Author

I think it would be most useful to be able to monitor CPU and GPU simultaneously, perhaps in separate s-tui instances. Would that be possible/convenient with a configuration option? I can also imagine to select between CPU and GPU modes at startup with a command line option.

@robertobarreiro
Copy link

AMD gpu fans and temps can be added, it would be great to do the same with power.

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

No branches or pull requests

3 participants