Print Page | Close Window

Monitor temperatures on ASRock X300 with Ubuntu

Printed From: ASRock.com
Category: Technical Support
Forum Name: AMD Motherboards
Forum Description: Question about ASRock AMD motherboards
URL: https://forum.asrock.com/forum_posts.asp?TID=44463
Printed Date: 28 Sep 2024 at 3:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Monitor temperatures on ASRock X300 with Ubuntu
Posted By: Bruce2704
Subject: Monitor temperatures on ASRock X300 with Ubuntu
Date 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



Replies:
Posted By: Xaltar
Date 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.

-------------


Posted By: M440
Date Posted: 21 Jun 2024 at 1:53am
https://gitlab.com/leogx9r/ryzen_smu" rel="nofollow - https://gitlab.com/leogx9r/ryzen_smu



-------------
asrock b650m/hdv.m2, ryzen 7700x@85watt


Posted By: Bruce2704
Date 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


Posted By: Bruce2704
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net