How check my temperature CPU?

Hi guys!

How check my temp. CPU (desktop PC)?
Ryzen 7 7800x3d.
I’m installed lm-sendor → config. i have:

hidpp_battery_0-hid-3-6
Adapter: HID adapter
in0:           3.96 V  

amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:      473.00 mV 
fan1:           0 RPM  (min =    0 RPM, max = 3600 RPM)
edge:         +31.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
junction:     +37.0°C  (crit = +110.0°C, hyst = -273.1°C)
                       (emerg = +115.0°C)
mem:          +41.0°C  (crit = +108.0°C, hyst = -273.1°C)
                       (emerg = +113.0°C)
PPT:          16.00 W  (cap = 303.00 W)

nvme-pci-0400
Adapter: PCI adapter
Composite:    +30.9°C  (low  =  -5.2°C, high = +82.8°C)
                       (crit = +84.8°C)
Sensor 1:     +30.9°C  (low  = -273.1°C, high = +65261.8°C)

amdgpu-pci-1200
Adapter: PCI adapter
vddgfx:        1.09 V  
vddnb:         1.30 V  
edge:         +36.0°C  
PPT:          30.18 W  

mt7921_phy0-pci-0f00
Adapter: PCI adapter
temp1:        +28.0°C

Where this CPU?

Did you configure it?

https://wiki.archlinux.org/title/Lm_sensors#Configuration

Please pay attention to the warning.

Yeah, I did everything by the quide lm-sensor

1 Like

Which mainboard are you using? And which version of BIOS firmware including sensor driver?

That depends on Kernel support.

B650 GAMING PLUS WIFI (MS-7E26)

image

Can you show what is the output: modprobe -c | grep temp ?

blacklist k10temp
alias cpu:type:x86,ven0000fam*mod*:feature:*01C0* coretemp
alias cpu:type:x86,ven0000fam*mod*:feature:*01C6* x86_pkg_temp_thermal
alias cpu:type:x86,ven0005fam0006mod000A:feature:* via_cputemp
alias cpu:type:x86,ven0005fam0006mod000D:feature:* via_cputemp
alias cpu:type:x86,ven0005fam0006mod000F:feature:* via_cputemp
alias cpu:type:x86,ven0005fam0007mod*:feature:* via_cputemp
alias i2c:ms8607_temppressure ms5637
alias i2c:sbtsi sbtsi_temp
alias of:N*T*Camd,sbtsi sbtsi_temp
alias of:N*T*Camd,sbtsiC* sbtsi_temp
alias of:N*T*Cbrcm,systemport bcmsysport
alias of:N*T*Cbrcm,systemportC* bcmsysport
alias of:N*T*Cbrcm,systemport_v1.00 bcmsysport
alias of:N*T*Cbrcm,systemport_v1.00C* bcmsysport
alias of:N*T*Cbrcm,systemportlite_v1.00 bcmsysport
alias of:N*T*Cbrcm,systemportlite_v1.00C* bcmsysport
alias of:N*T*Cmeas,ms8607_temppressure ms5637
alias of:N*T*Cmeas,ms8607_temppressureC* ms5637
alias of:N*T*Ctemperature_sense_rtd iio_rescale
alias of:N*T*Ctemperature_sense_rtdC* iio_rescale
alias of:N*T*Ctemperature_transducer iio_rescale
alias of:N*T*Ctemperature_transducerC* iio_rescale
alias of:N*T*Ctempo,tscs42A1 snd_soc_tscs42xx
alias of:N*T*Ctempo,tscs42A1C* snd_soc_tscs42xx
alias of:N*T*Ctempo,tscs42A2 snd_soc_tscs42xx
alias of:N*T*Ctempo,tscs42A2C* snd_soc_tscs42xx
alias of:N*T*Ctempo,tscs454 snd_soc_tscs454
alias of:N*T*Ctempo,tscs454C* snd_soc_tscs454
alias pci:v00001022d00001103sv*sd*bc*sc*i* k8temp
alias pci:v00001022d00001203sv*sd*bc*sc*i* k10temp
alias pci:v00001022d000012C3sv*sd*bc*sc*i* k10temp
alias pci:v00001022d000012FBsv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001303sv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001403sv*sd*bc*sc*i* k10temp
alias pci:v00001022d0000141Dsv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001443sv*sd*bc*sc*i* k10temp
alias pci:v00001022d0000144Bsv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001463sv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001493sv*sd*bc*sc*i* k10temp
alias pci:v00001022d000014B0sv*sd*bc*sc*i* k10temp
alias pci:v00001022d000014E3sv*sd*bc*sc*i* k10temp
alias pci:v00001022d000014F3sv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001533sv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001573sv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001583sv*sd*bc*sc*i* k10temp
alias pci:v00001022d000015B3sv*sd*bc*sc*i* k10temp
alias pci:v00001022d000015EBsv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001603sv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001653sv*sd*bc*sc*i* k10temp
alias pci:v00001022d0000166Dsv*sd*bc*sc*i* k10temp
alias pci:v00001022d0000167Csv*sd*bc*sc*i* k10temp
alias pci:v00001022d000016FBsv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001703sv*sd*bc*sc*i* k10temp
alias pci:v00001022d00001727sv*sd*bc*sc*i* k10temp
alias pci:v00001D94d00001463sv*sd*bc*sc*i* k10temp
alias pci:v00008086d00003438sv*sd*bc*sc*i* i5500_temp
alias platform:HID_SENSOR_200033 hid_sensor_temperature
alias platform:brcm_systemport bcmsysport
alias platform:drivetemp drivetemp
alias platform:iqs620at_temp iqs620at_temp
alias symbol:_snd_pcm_hw_param_setempty snd_pcm
alias symbol:cec_transmit_attempt_done_ts cec
alias symbol:ebt_register_template ebtables
alias symbol:ebt_unregister_template ebtables
alias symbol:ieee80211_beacon_get_template mac80211
alias symbol:ieee80211_beacon_get_template_ema_index mac80211
alias symbol:ieee80211_beacon_get_template_ema_list mac80211
alias symbol:ms_sensors_ht_read_temperature ms_sensors_i2c
alias symbol:ms_sensors_read_temp_and_pressure ms_sensors_i2c
alias symbol:mt76x2_get_temp_comp mt76x2_common
alias symbol:scsi_esp_template esp_scsi
alias symbol:si470x_viddev_template radio_si470x_common
alias symbol:snd_seq_set_queue_tempo snd_seq
alias symbol:svc_age_temp_xprts_now sunrpc
alias symbol:target_register_template target_core_mod
alias symbol:target_unregister_template target_core_mod
alias symbol:usb_stor_host_template_init usb_storage
alias symbol:xt_register_template x_tables
alias symbol:xt_unregister_template x_tables

You block AMD CPU temperature detection. AFAIK
Is there reason why you want to block it?

https://docs.kernel.org/hwmon/k10temp.html

No, I’m not blocking anything.
How do I unblock it?

Search where is this blacklist for example: sudo grep -r 'k10temp' /etc

sudo grep -r 'k10temp'
.psensor/log:[2024-02-13T20:36:03] [ERR] Key file does not have group “lmsensor k10temp-pci-00c3 Tctl”
.psensor/log:[2024-02-13T20:36:03] [ERR] Key file does not have group “lmsensor k10temp-pci-00c3 Tctl”
.psensor/log:[2024-02-13T20:36:03] [ERR] Key file does not have group “lmsensor k10temp-pci-00c3 Tccd1”
.psensor/log:[2024-02-13T20:36:03] [ERR] Key file does not have group “lmsensor k10temp-pci-00c3 Tccd1”
.psensor/psensor.cfg:[lmsensor k10temp-pci-00c3 Tctl]
.psensor/psensor.cfg:[lmsensor k10temp-pci-00c3 Tccd1]
.bash_history:\rmmod k10temp\
.bash_history:sudo rmmod k10temp
.bash_history:rmmod k10temp

and I’m check /etc/modprobe.d/firewalld-sysctls.conf

install nf_conntrack /usr/bin/modprobe --ignore-install nf_conntrack $CMDLINE_OPTS && /sbin/sysctl --quiet --pattern 'net[.]netfilter[.]nf_conntrack.*' --system

The bash history shows that you removed the kernel module k10temp :man_shrugging:

Hmm, that’s weird, I don’t remember deleting anything.

Now the question is, how do I install it back?

sudo modprobe k10temp then rebuild initramfs.

Could try glances, you might like it. :wink:

1 Like

i’ts interesting, and i;m not see Core temp in sensors:

On the lower left part of the window?

I;m install zenpower3-dkms.

end my sensor:

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +46.8°C  
Tccd1:        +36.8°C  

amdgpu-pci-1200
Adapter: PCI adapter
vddgfx:        1.14 V  
vddnb:         1.01 V  
edge:         +35.0°C  
PPT:          33.20 W  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +31.9°C  (low  =  -5.2°C, high = +82.8°C)
                       (crit = +84.8°C)
Sensor 1:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)

hidpp_battery_0-hid-3-6
Adapter: HID adapter
in0:           3.96 V  

mt7921_phy0-pci-0f00
Adapter: PCI adapter
temp1:        +40.0°C  

amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:      697.00 mV 
fan1:           0 RPM  (min =    0 RPM, max = 3600 RPM)
edge:         +34.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
junction:     +40.0°C  (crit = +110.0°C, hyst = -273.1°C)
                       (emerg = +115.0°C)
mem:          +44.0°C  (crit = +108.0°C, hyst = -273.1°C)
                       (emerg = +113.0°C)
PPT:          27.00 W  (cap = 303.00 W)

k10temp-pci-00c3 this my CPU?

okay, install install zenpower3-dkms, and show my CPU

image

Yes

You do not need to install this third-party program that uses the kernel module k10temp.

I am pretty sure, many programs read k10temp for example: native KDE widget can read it and shows CPU tempature.

1 Like