ASRock.com Homepage
Forum Home Forum Home > Technical Support > AMD Motherboards
  New Posts New Posts RSS Feed - Monitor temperatures on ASRock X300 with Ubuntu
  FAQ FAQ  Forum Search Search  Events   Register Register  Login Login

Monitor temperatures on ASRock X300 with Ubuntu

 Post Reply Post Reply
Author
Message Reverse Sort Order
Bruce2704 View Drop Down
Newbie
Newbie


Joined: 20 Jun 2024
Location: South Africa
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruce2704 Quote  Post ReplyReply Direct Link To This Post Topic: Monitor temperatures on ASRock X300 with Ubuntu
    Posted: 21 Jun 2024 at 2:08am
Thank you, M440, that looks like a useful utility. I'll try it out.
ASRock X300 with AMD Ryzen 5600G and Ubuntu 22.04
Back to Top
Bruce2704 View Drop Down
Newbie
Newbie


Joined: 20 Jun 2024
Location: South Africa
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruce2704 Quote  Post ReplyReply Direct Link To This Post Posted: 21 Jun 2024 at 2:07am
Thank you, Xaltar, that confirms some of my suspicions and also gives me something concrete to work on. I'll try to install a Windows VM so that I can compare the Linux readings with the readings from the "official" monitor.
ASRock X300 with AMD Ryzen 5600G and Ubuntu 22.04
Back to Top
M440 View Drop Down
Senior Member
Senior Member


Joined: 12 Jul 2023
Status: Offline
Points: 3115
Post Options Post Options   Thanks (0) Thanks(0)   Quote M440 Quote  Post ReplyReply Direct Link To This Post Posted: 21 Jun 2024 at 1:53am
https://gitlab.com/leogx9r/ryzen_smu



Edited by M440 - 21 Jun 2024 at 1:54am
asrock b650m/hdv.m2, ryzen 7700x@85watt
Back to Top
Xaltar View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 16 May 2015
Location: Europe
Status: Offline
Points: 24623
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xaltar Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 2024 at 11:21pm
nct6775/temp2   Temperature     43.00°C
nct6775/temp3   Temperature     30.00°C
nct6775/temp7   Temperature     49.50°C
nct6775/temp13 Temperature     49.50°C
k10temp/temp1   Temperature     50.25°C
amdgpu/temp1    Temperature     34.00°C

These are likely correct. Hazarding a guess here:
nct6775/temp2 = coolest core
nct6775/temp7 = hottest core
nct6775/temp13= tdie (CPU temp)
k10temp/temp1 = tctl (temp reading used to dictate fan speed control)
nct6775/temp3 = PCH (chipset)
amdgpu/temp1 = iGPU temp

BIOS temp monitoring, at least for the CPU, is pointless. The CPU temp in BIOS is
always high given there is absolutely no optimization in the BIOS and it will
run on a single core @max clocks and voltage the entire time resulting in an overly
high reading. This has been the case with UEFI pretty much since the beginning.
It's hard to fit CPU optimizations into such a tiny ROM capacity.

I would recommend using windows and ASRock's own tool or Ryzen master to get
a baseline of the essential temps then go back to your linux distro/app and compare
the readouts. I suspect the 100C+ readings are inaccurate/incorrectly read by the
linux app.

On my linux machines I typically use Gnome's "System Monitor". Even here though
I tend to get misread sensors and alarming readouts on some systems, hence my
recommendation of using ASRock's own tool in windows as it will read the correct
values from the correct sensors. If those line up with your readouts here then
you can safely ignore all the rest.

The sensors on the board and CPU are used for more than just temp readings.
Back to Top
Bruce2704 View Drop Down
Newbie
Newbie


Joined: 20 Jun 2024
Location: South Africa
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruce2704 Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 2024 at 9:58pm
I am running Ubuntu 22.04 (with Proxmox) on an ASRock X300 with a Ryzen 5600G APU. I would like to monitor the CPU (and other relevant) temperatures, preferably using a Bash script which runs periodically using a cron job. Using the sensors utility I can get some sort of indication of the temperatures; it looks like this:

k10temp        : AMD Family 10h+ CPU core temperature monitor
nct6775/temp1   Temperature     122.00°C
nct6775/temp2   Temperature     43.00°C
nct6775/temp3   Temperature     30.00°C
nct6775/temp4   Temperature     112.00°C
nct6775/temp5   Temperature     113.00°C
nct6775/temp6   Temperature     113.00°C
nct6775/temp7   Temperature     49.50°C
nct6775/temp8   Temperature     0.00°C
nct6775/temp9   Temperature     0.00°C
nct6775/temp10 Temperature     0.00°C
nct6775/temp11 Temperature     0.00°C
nct6775/temp12 Temperature     0.00°C
nct6775/temp13 Temperature     49.50°C
nct6775/temp15 Temperature     3892314.00°C
nct6775/temp16 Temperature     3892314.00°C
nct6775/temp17 Temperature     3892314.00°C
nct6775/temp18 Temperature     3892314.00°C
nct6775/temp19 Temperature     3892314.00°C
nct6775/temp20 Temperature     3892314.00°C
k10temp/temp1   Temperature     50.25°C
amdgpu/temp1    Temperature     34.00°C

Some of those figures are obviously incorrect (3892314.00°C !) and others, if correct, are a concern (above 100 °C).

Which of these can I safely ignore, and for the rest, how do I correlate the codes here with the cpu and motherboard?

Is there perhaps another utility that I should be using to monitor the CPU temperature? (I know that I can get the temperature from the BIOS, but for various reasons that doesn't suit my purpose. (Firstly, it requires shutting down the server, which defeats the purpose of a server, and secondly, it doesn't give me the temperatures under operating conditions.)

Thank you for your assistance!
ASRock X300 with AMD Ryzen 5600G and Ubuntu 22.04
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.