Open sam-kirby opened 2 years ago
@sam-kirby I fiddled with this some more. It is working, but you need to manually change two settings. You need to change the general display from either braille to block or tty, and you need to change the cpu sensor from Auto to one of the other 13 choices.
So the bug takes two forms, it is the user interface truncating the temperature display in braille mode, and it selects the wrong sensor in Auto.
Describe the bug Package temperature on a Zen 2 CPU shows 0°C or 1°C with kernel 5.18. I'm not entirely sure where this is coming from. Coretemps are displayed correctly.
I believe this may be related to the following change to the k10temp driver: torvalds/linux@02a2484cf8d17a2acf3b9b151147bafaa55ad38c
The following patch to btop restores the expected behaviour on my system:
This fix is not optimal as on older CPUs Tctl is offset from the real temperature. Ideally, btop needs to check for Tdie and if it's not present then use Tctl.
To Reproduce Run btop on an affected CPU and show CPU package temperature.
Expected behavior Accurate package temperature is displayed.
Screenshots
Info (please complete the following information):
btop version: 1.2.6
x86_64
5.18.0-zen1-1-zen-custom
Additional context
GDB Backtrace
Not relevant