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

Missing temperature reports on Intel Alder Lake Processor cores #1048

Open
pjungkamp opened this issue Jun 29, 2022 · 2 comments · May be fixed by #1352 or #1269
Open

Missing temperature reports on Intel Alder Lake Processor cores #1048

pjungkamp opened this issue Jun 29, 2022 · 2 comments · May be fixed by #1352 or #1269
Labels
bug 🐛 Something isn't working Linux 🐧 Linux related issues
Milestone

Comments

@pjungkamp
Copy link

pjungkamp commented Jun 29, 2022

I have a Lenovo Yoga 9 14IAP7 with an Intel Core i5-1240P.

htop only shows temperatures for the 0, 4, 8 & 12 cores.
image

The temperatures tempX from sensors -u coretemp-isa-0000 seem to correspond to the cpu id rather than the processor of a core in /proc/cpuinfo.

Is this a new quirk of Alder Lake chips (e.g. due tho the big-little design)?

@BenBE
Copy link
Member

BenBE commented Jun 29, 2022

See #806 and #856

htop relies on libsensors to provide reasonable values.
Unfortunately libsensors is not reasonable enough …

@BenBE BenBE added bug 🐛 Something isn't working Linux 🐧 Linux related issues labels Jun 29, 2022
@dstahlke
Copy link

dstahlke commented Aug 26, 2022

The issue might be that sensors indexes by core id, and these have a strange mapping to processors. For some reason core id increments by 4, with two processors per core (hyperthreading). That's for P-cores. For E-cores there is one core id per processor. These match between sensors and cpuinfo. Should htop be tying sensor values to cpuinfo core id?

Here is an abbreviated demonstration:

$ sensors
Core 0:        +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +42.0°C  (high = +100.0°C, crit = +100.0°C)
... etc ...

$ grep 'core id' /proc/cpuinfo
core id         : 0
core id         : 0
core id         : 4
core id         : 4
core id         : 8
core id         : 8

@BenBE BenBE added this to the 3.3.0 milestone Feb 4, 2023
leahneukirchen added a commit to leahneukirchen/htop that referenced this issue Dec 25, 2023
leahneukirchen added a commit to leahneukirchen/htop that referenced this issue Dec 25, 2023
@BenBE BenBE modified the milestones: 3.3.0, 3.4.0 Dec 26, 2023
leahneukirchen added a commit to leahneukirchen/htop that referenced this issue Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working Linux 🐧 Linux related issues
Projects
None yet
3 participants