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

No GPU temps (Nvidia) after updating to 0.10 #1554

Closed
1 task done
t-kowalewski opened this issue Aug 10, 2024 · 8 comments · Fixed by #1559
Closed
1 task done

No GPU temps (Nvidia) after updating to 0.10 #1554

t-kowalewski opened this issue Aug 10, 2024 · 8 comments · Fixed by #1559
Labels
technically-not-a-bug Something that technically isn't a bug, but may be surprising/worth changing.

Comments

@t-kowalewski
Copy link

Checklist

What operating system and version are you using?

EndeavourOS - 6.6.44-3 LTS

What architecture are you using?

x86_64/AMD64

What terminal(s) are you running bottom on that are experiencing the problem?

Konsole 24.05.2

What filesystem(s) are you using?

ext4

What version of bottom are you running?

0.10.2

How did you install bottom?

official Arch repo

Describe the issue

bottom stopped displaying GPU temperature after updating it from version 0.9.6
Used GPU - mobile Nvidia GTX 660m
bottom

What is the expected behaviour?

bottom showing GPU temperature in according section

What is the actual behaviour?

bottom doesn't display GPU temps

How can we reproduce this?

Run bottom on an Arch-based system with discrete mobile GPU from Nvidia

Additional information

No response

@t-kowalewski t-kowalewski added the bug Something isn't working the way that is expected. label Aug 10, 2024
@ClementTsang
Copy link
Owner

ClementTsang commented Aug 11, 2024

Hmm, I can't easily troubleshoot this (no Nvidia GPU) but I'll take a look. My AMD card shows temperatures fine.

@ClementTsang
Copy link
Owner

ClementTsang commented Aug 11, 2024

One thing that would be great if you check for me first - if you expand the temperature table (e) does it show up on the list? Also:

mobile

Hm, if you make the dGPU do some work, does it show up? Just curious as there is some code to purposely avoid checking temperatures of asleep devices to avoid constantly waking them up - in that case, it will just be given a temperature of "N/A", though it should still be on the list.

@t-kowalewski
Copy link
Author

Thanks for the reply. No, unfortunately extended view doesn't show it either.
btm
Granted, it's a pretty old GPU running on legacy drivers, but the sensor still outputs the information as expected. Just not in bottom :/
nvidia-smi

@ClementTsang
Copy link
Owner

Hm, weird. I did bump nvml-wrapper in between updates so it's possible something changed between versions, I'll see if I can figure it out. Thanks for the extra info.

@ClementTsang
Copy link
Owner

ClementTsang commented Aug 11, 2024

Also, was it properly showing a temperature reading in 0.9.6 (e.g. not just "N/A" or something empty)? And if it's not too much trouble, could you show it? Thanks.

@t-kowalewski
Copy link
Author

Downgraded to 0.9.7 and GPU temp is back. Thanks again for looking into this.
btm_old

@shurizzle
Copy link
Contributor

The "issue" (apparently, it’s intended behavior) was introduced by commit e4a6e75 (issue #1276). By default, all GPU information is disabled, so you need to enable it using the enable_gpu flag. Perhaps it would be better to enable it by default?

@ClementTsang
Copy link
Owner

ClementTsang commented Aug 13, 2024

🤦 yeah that would do it, I forgot we had a change that bundled that all together. I had thought we had changed it to enable GPU info by default, but I guess that slipped through the cracks and I misremembered. I'll look into changing that.

Thanks for figuring out the problem!

@ClementTsang ClementTsang added technically-not-a-bug Something that technically isn't a bug, but may be surprising/worth changing. and removed bug Something isn't working the way that is expected. labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technically-not-a-bug Something that technically isn't a bug, but may be surprising/worth changing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants