question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cpuTemperature not working

See original GitHub issue

Describe the bug si.cpuTemperature() does not properly show temps

To Reproduce Steps to reproduce the behavior: si.cpuTemperature(data => { console.log(data)})

Current Output If applicable, add output to help explain your problem. { main: -1, cores: [], max: -1}

Expected behavior A clear and concise description of what you expected to happen. show actual temps

Environment (please complete the following information):

  • systeminformation package version: ^4.26.1
  • OS: Ubuntu 20.04 LTS
  • Hardware: mobo: B450 AORUS M cpu: AMD Ryzen 7 1800X Eight-Core Processor 3.6GHz

Additional context I tried installing sudo apt-get install lm-sensors when I sensors, the output is:

k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +25.0°C  (high = +70.0°C)
Tctl:         +45.0°C  

I’m not sure what the issue is because I have 4 other computers that I used the same exact methods and all of them are having no issues except this one.

Edit: Also forgot to mention every computer is using a different mobo/cpu

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sebhildebrandtcommented, May 21, 2020

@KentLeong Thank you for discovering and reporting! I had a similar problem three weeks ago and I thought it is fixed (unfortunately we see that there is still a problem on AMD boards)

Can you provide the output of

cat /sys/class/hwmon/hwmon1/temp*_la*;echo "---";cat /sys/class/hwmon/hwmon1/temp*_i*'

So if this does not return any values, can you also provide the content of the following directory:

cd  /sys/class/hwmon/hwmon1/
ls -lsa

Thank you in advance! The output sensors you already posted, so I think, there is a way for a fix 😉

0reactions
komorebi-sancommented, May 28, 2020

@sebhildebrandt Thank you so much! I have updated to the latest version (4.26.5) and it works now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is my cpu temp sensor broken? - Tom's Hardware Forum
If the CPU fan does not track the CPU fan curve, the first thing I'd check is that the CPU fan is actually...
Read more >
How to Cool Down a High CPU Temperature
1. Clean Out Dust · 2. Reseat Your Heatsink · 3. Invest in a New Heatsink/CPU Cooler · 4. Reapply Thermal Paste ·...
Read more >
CPU & Motherboard temperature not showing in apps
However it detected the CPU, just doesn't display temperatures. Same with Speccy, but speccy sees temperature of motherboard.
Read more >
How to Lower High CPU Temperature in Windows 10 & 11?
What to do if the CPU temperature gets high · Use the Power Troubleshooter and check for issues · Perform a Clean Boot...
Read more >
CPU temps Not showing on any software and CPU usage not ...
Check in BIOS if CPU temp and rad fan rpm are reporting data. If yes, update your NZXT cam software to latest. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found