-
Notifications
You must be signed in to change notification settings - Fork 154
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
Support Nvidia tool to query GPU sensors. #93
Comments
If you want an implementation of this feature you need to provide sample output for those commands with a C locale set up. However I would only implement the display of hardware sensor related data. However, there is this fork of the extension: https://github.com/skamansam/gnome-shell-extension-nvsettings Maybe it fits you better. |
No it's also not being actively developed, and I'm not after the extra functionality that fork is or was trying to provide, as it's not really a requirement in linux... All I'm after is the fan speed and temp only. It would be nice to be able to set the temp to the NVidia card when required and also be able to keep an eye on the fan speed from time to time... The commands won't change (for the foreseeable future), so it should be reasonably straight forward to implement and maintain. How do I set a C locale so I can provide the exact command and output for each one? And would it be easier for you to just have a number supplied and you format the number with the Nvidia Name and Celsius or degree symbols, or is it easier to just get the output with that formatting already in place? |
Call the application with the LANG and LC_ALL environment variables set to C like $ LANG=C LC_ALL=C application --param1=foo --bar=2
I would prefer to have one application call to gather all sensor informations (temperature with a sensor label, fan speed with a label, gpu/memory voltage with a label, …) provided by the tool if this is possible. So a simple 'LANG=C LC_ALL=C nvidia-smi -q' should be sufficient. |
Here's the output http://pastebin.com/Mtr8NR2N However there are a lot of N\A's, but I know that information is normally available (in windows at least), I might see if there is an upgrade available for my drivers to see if that helps at all.... |
Tried a few different versions and no luck - but at any rate it shows the temp and what you need at least |
Hi,
Is there any way you can incorporate nvidiatemp@bacox extension into this extension? It appears to no longer in development.
For some reason lm_sensors (latest version) isn't showing the temp on the NVidia card...
The commands to list temp etc:
To output info with temp:
'nvidia-smi -q -d temperature'
To just output a number:
'nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader'
But it can also be used to query the product name, fan speed, etc
The text was updated successfully, but these errors were encountered: