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

[Sensors@claudiux] Add support for nvidia-smi #6078

Closed
MikeSesketcharba opened this issue Jun 13, 2024 · 4 comments
Closed

[Sensors@claudiux] Add support for nvidia-smi #6078

MikeSesketcharba opened this issue Jun 13, 2024 · 4 comments

Comments

@MikeSesketcharba
Copy link

Applet name and maintainer

Sensors@claudiux @claudiux

What would you like to see?

Hi! lm-sensors does not detect the temperature of my Nvidia GPU, but nvidia-smi does. If nvidia-smi could be implemented into the sensors applet, this applet would be excellent. Thanks!

@MikeSesketcharba MikeSesketcharba changed the title Add support for nvidia-smi [Sensors@claudiux] Add support for nvidia-smi Jun 13, 2024
@claudiux
Copy link
Member

@MikeSesketcharba
https://developer.nvidia.com/system-management-interface
I'll see what I can do about that.

@MikeSesketcharba
Copy link
Author

MikeSesketcharba commented Jun 13, 2024 via email

@vajdao
Copy link
Contributor

vajdao commented Jul 19, 2024

@MikeSesketcharba https://developer.nvidia.com/system-management-interface I'll see what I can do about that.

For a temporary workaround I'd suggest implementing this somehow, so it reads the raw data from nvidia-smi:
nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader

Gives back numeric (without ˚C symbol, but it can be concatenated easily)

Just an idea though :)

JEleniel added a commit to JEleniel/cinnamon-spices-applets that referenced this issue Oct 11, 2024
Use the nvidia-smi tool (https://developer.nvidia.com/system-management-interface) to read GPU temperatures
References: [Sensors@claudiux] Add support for nvidia-smi linuxmint#6078
JEleniel added a commit to JEleniel/cinnamon-spices-applets that referenced this issue Oct 11, 2024
applet.reapSensors is already calling reap_nvidia_sensors so the additional loop is not required.
Applet author: @claudiux
References: linuxmint#6078
claudiux pushed a commit that referenced this issue Oct 11, 2024
* Sensors@claudiux: add support for Nvidia SMI temperatures
Use the nvidia-smi tool (https://developer.nvidia.com/system-management-interface) to read GPU temperatures
References: [Sensors@claudiux] Add support for nvidia-smi #6078

* Sensors@claudiux: Remove unnecessary coroutine
applet.reapSensors is already calling reap_nvidia_sensors so the additional loop is not required.
Applet author: @claudiux
References: #6078
@claudiux
Copy link
Member

Closed by #6482. Thank you @JEleniel.

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

No branches or pull requests

3 participants