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

Cannot display the temperature for each CPU for Intel(R) Core(TM) i7-8750H #1522

Open
shehabso opened this issue Aug 15, 2024 · 5 comments
Open
Labels
question ❔ Further information is requested WSL 🪟 Windows subsystem for Linux

Comments

@shehabso
Copy link

Screenshot 2024-08-15 234422

@BenBE
Copy link
Member

BenBE commented Aug 15, 2024

Which version of htop? What's the output from lmsensors?

@BenBE BenBE added question ❔ Further information is requested Linux 🐧 Linux related issues labels Aug 15, 2024
@shehabso
Copy link
Author

htop 3.4.0-dev-3.3.0-172-g81432ba
the output :
root@DESKTOP-JI2G6CN:/sys/devices/system/cpu/cpu0/topology# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

@shehabso
Copy link
Author

shehabso commented Aug 16, 2024

Under WSL i used ubuntu
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

@shehabso
Copy link
Author

shehabso commented Aug 16, 2024

root@DESKTOP-JI2G6CN:/sys/devices/system/cpu/cpu0/topology# sudo apt install lm-sensors
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
lm-sensors is already the newest version (1:3.6.0-7ubuntu1).
The following packages were automatically installed and are no longer required:
alsa-topology-conf alsa-ucm-conf glib-networking glib-networking-common
glib-networking-services gstreamer1.0-plugins-base libasound2
libasound2-data libasound2-plugins libasyncns0 libauthen-sasl-perl
libcdparanoia0 libclone-perl libdata-dump-perl libencode-locale-perl
libfftw3-single3 libfile-basedir-perl libfile-desktopentry-perl
libfile-listing-perl libfile-mimeinfo-perl libflac8 libfont-afm-perl
libfontenc1 libgstreamer-plugins-base1.0-0 libgtkd-3-0 libhtml-form-perl
libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl
libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl
libio-html-perl libio-socket-ssl-perl libio-stringy-perl
libipc-system-simple-perl libjack-jackd2-0 libjson-glib-1.0-0
libjson-glib-1.0-common libllvm11 libltdl7 liblwp-mediatypes-perl
liblwp-protocol-https-perl libmailtools-perl libnet-dbus-perl
libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libogg0
libopus0 liborc-0.4-0 libphobos2-ldc-shared98 libproxy1v5 libpulse0
libpulsedsp libsamplerate0 libsnapd-glib1 libsndfile1 libsoup2.4-1
libsoup2.4-common libsoxr0 libspeexdsp1 libtdb1 libtheora0
libtie-ixhash-perl libtimedate-perl libtry-tiny-perl liburi-perl
libvisual-0.4-0 libvorbis0a libvorbisenc2 libvte-2.91-0
libvte-2.91-common libvted-3-0 libwebrtc-audio-processing1 libwrap0
libwww-perl libwww-robotrules-perl libx11-protocol-perl libxaw7 libxft2
libxkbfile1 libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl
libxmu6 libxt6 libxv1 libxxf86dga1 perl-openssl-defaults pulseaudio
pulseaudio-utils rtkit tilix tilix-common x11-utils x11-xserver-utils
xdg-utils
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
root@DESKTOP-JI2G6CN:/sys/devices/system/cpu/cpu0/topology# sudo sensors-detect
sensors-detect version 3.6.0
Kernel: 5.15.153.1-microsoft-standard-WSL2 x86_64
Processor: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (6/158/10)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
modprobe: FATAL: Module cpuid not found in directory /lib/modules/5.15.153.1-microsoft-standard-WSL2
Failed to load module cpuid.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 17h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Hygon Family 18h thermal sensors... No
Intel digital thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
/dev/port: No such file or directory

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no):
/dev/port: No such file or directory

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no):
/dev/port: No such file or directory

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no):
Sorry, no supported PCI bus adapters found.
modprobe: FATAL: Module i2c-dev not found in directory /lib/modules/5.15.153.1-microsoft-standard-WSL2
Failed to load module i2c-dev.

Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
https://hwmon.wiki.kernel.org/device_support_status for driver status.

@BenBE BenBE added WSL 🪟 Windows subsystem for Linux and removed Linux 🐧 Linux related issues labels Aug 16, 2024
@BenBE
Copy link
Member

BenBE commented Aug 16, 2024

There is little we can do on WSL (which is NOT Linux), because the necessary information is not provided to userland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❔ Further information is requested WSL 🪟 Windows subsystem for Linux
Projects
None yet
Development

No branches or pull requests

2 participants