htop icon indicating copy to clipboard operation
htop copied to clipboard

Missing CPU temperature on AMD 7945HX

Open godardt opened this issue 2 years ago • 3 comments

Hello, I've compiled htop like this ./autogen.sh && ./configure --enable-sensors && make. But I don't get any temperature readings. lm-sensors is actually able to display them:

❯ sensors | egrep "fan|temp"
cpu_fan:     2900 RPM
temp1:        +54.0°C  (crit = +120.0°C)
temp2:        +55.0°C  (crit = +125.0°C)

Any idea what I am missing? I have the Zephyrus Duo GX650PY with an AMD 7945HX.

godardt avatar Jun 28 '23 06:06 godardt

Cf. #1176.

BenBE avatar Jun 28 '23 10:06 BenBE

I compiled @JohnsonGlenT fork and ran it on my laptop but it's still not working. Can I contribute in any way by running commands that would allow me to pinpoint the source of the issue?

godardt avatar Jun 29 '23 07:06 godardt

The best way is looking at the values read in LibSensors_getCPUTemperatures through a debugger and cross-checking that these values are properly attributed to the correct CPU cores/threads based on the underlying physical architecture.

BenBE avatar Jun 29 '23 08:06 BenBE