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

fix: CPU temperature on AMD machines #38

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

pschmitt
Copy link
Contributor

@pschmitt pschmitt commented Nov 4, 2023

Noticed that the CPU temps on my Lenovo X13 Gen1 were not reported correctly (state: unknown).

Here's the output of sensors on that machine:

amdgpu-pci-0600
Adapter: PCI adapter
vddgfx:      812.00 mV
vddnb:       612.00 mV
edge:         +44.0°C
PPT:           5.00 W

thinkpad-isa-0000
Adapter: ISA adapter
fan1:           0 RPM
fan2:           0 RPM
CPU:          +44.0°C
GPU:           +0.0°C
temp3:         +0.0°C
temp4:         +0.0°C
temp5:         +0.0°C
temp6:         +0.0°C
temp7:         +0.0°C
temp8:            N/A

nvme-pci-0100
Adapter: PCI adapter
Composite:    +32.9°C  (low  = -273.1°C, high = +83.8°C)
                       (crit = +84.8°C)
Sensor 1:     +32.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +29.9°C  (low  = -273.1°C, high = +65261.8°C)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +37.0°C

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +44.4°C

BAT0-acpi-0
Adapter: ACPI interface
in0:          11.53 V

Notice that there's no Package id line, but a CPU one.

@pschmitt pschmitt mentioned this pull request Nov 4, 2023
@tobias-kuendig tobias-kuendig merged commit 8e4727b into tobias-kuendig:main Nov 6, 2023
2 of 3 checks passed
@tobias-kuendig
Copy link
Owner

Thank you!

@pschmitt pschmitt deleted the amdcputemp branch November 6, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants