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

nvidiaUtil: code cleanup, fix recognizing the card #242

Merged
merged 1 commit into from
Jul 9, 2022

Conversation

polter-rnd
Copy link

@polter-rnd polter-rnd commented Jul 7, 2022

Since the card list is populated only in constructor, to update it we had to toggle "Nvidia" switch on->off->on.

The fix is to get the temperature along with the card name in one nvidia-smi call.

Also some code cleanup was made, removed old unused code.

Fixes #241

Since the card list is populated only in constructor, to update it we
had to toggle "Nvidia" switch `on`->`off`->`on`.

The fix is to get the temperature along with the card name in one
`nvidia-smi` call.

Also some code cleanup was made, removed old unused code.

Fixes UshakovVasilii#241

Signed-off-by: Pavel Artsishevsky <polter.rnd@gmail.com>
@UshakovVasilii UshakovVasilii merged commit dab42ff into UshakovVasilii:master Jul 9, 2022
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

Successfully merging this pull request may close these issues.

NVIDIA: when card was powered off on login, temperature is not shown when in use
2 participants