LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-14-2019, 01:33 PM   #1
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
AMD RX00, lm-sensors, gkrellm and others unable to read temperature.


It seems that I cannot see my CPU temperAtures using any of the utilities I know. Has anyone been able to display the temperature of a Ryzen 3800, preferably in conky?
Sorry, wasn't sure whether this was "hardware" or not.
 
Old 10-15-2019, 04:17 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
The Ryzen 38XX chips monitor clock frequency, SoC temp, and Applied Voltage to keep the thing within sane bounds. I was watching some video (linked from AMD's site) on youtube yesterday about it. Are you overclocking it? If not, I wouldn't sweat. It won't blow up. If you are overclocking it, you're on your own…
 
Old 10-15-2019, 12:41 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
No, I'm not overclocking it but I do want to get the performance I paid for from both my CPU and cooler. I am not seeing the "full 4.4" when running stress testst so, rather than assuming all is OK I would like to confirm what is happening.
If I bodget my cooler and thermal paste install and I'm losing potential performance I would like to know about it. I did spend money on an unlocked chip and a stupidly-big cooler to lose performance due to something I can change.
 
Old 10-15-2019, 02:09 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
You're not, without overclocking. You're getting the safe 'this will never blow up, but we're still faster than Intel' level of performance.

Again, based on my quick scan of Ryzen chips, Linux drivers aren't written yet and may never be. I seem to recall some way of getting 2 cores on one thread if you're not multi threaded enough. If you go overclocking, you remove some/all of the safety margin that AMD built in, and your warranty is void. You should look up the chips - they're really sophisticated, and inventive (and I'm a hardware guy). AMD dumb down the explanations - you don't have to digest techno babble or gobbledygook. Look for video links on AMD's site.
 
Old 10-16-2019, 12:49 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by business_kid View Post
You're not, without overclocking. You're getting the safe 'this will never blow up, but we're still faster than Intel' level of performance.

Again, based on my quick scan of Ryzen chips, Linux drivers aren't written yet and may never be. I seem to recall some way of getting 2 cores on one thread if you're not multi threaded enough. If you go overclocking, you remove some/all of the safety margin that AMD built in, and your warranty is void. You should look up the chips - they're really sophisticated, and inventive (and I'm a hardware guy). AMD dumb down the explanations - you don't have to digest techno babble or gobbledygook. Look for video links on AMD's site.
So what you are trying to say is that I wasted the money I spent for mny cooler because there is no way it could perform as well as the included cooler?
AMD themselves state 4.4GHz, I am not seeing 4.4GHz, I use a better cooler than standard. Therefore AMD were lying? There's no chance my thermal paste's not covering the IHS, no chance the cooler's not attached correctly? AMD just plain lied?
Sorry, the rest of the reply about drivers and 2 cores on one thread makes no sense.
In short, I don't think you understand my question or reasons for asking it.
 
Old 10-17-2019, 02:56 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
coming back to the topic...
What output do you get from 'sensors-detetct'?
Have you tested some of the other binaries of the lm_sensors package?
Which version of lm_sensors?
 
Old 10-17-2019, 04:17 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by 273 View Post
So what you are trying to say is that I wasted the money I spent for mny cooler because there is no way it could perform as well as the included cooler?
AMD themselves state 4.4GHz, I am not seeing 4.4GHz, I use a better cooler than standard. Therefore AMD were lying? There's no chance my thermal paste's not covering the IHS, no chance the cooler's not attached correctly? AMD just plain lied?
Sorry, the rest of the reply about drivers and 2 cores on one thread makes no sense.
In short, I don't think you understand my question or reasons for asking it.
I don't think I'm saying that. I'm saying heat is monitored, and the applied voltage & cpu frequency. So if you add extra cooling, the chip will use it, and your frequency or voltage should rise accordingly.

So sensor monitoring via the linux kernel is unnecessary, as the microcode or something very low level watches it, and will do a better job. Intel never bothered doing this. If the chip overheats, it's a chip fault. And more cooling gives more potential output.
 
Old 10-17-2019, 08:45 AM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,966
Blog Entries: 32

Rep: Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464
273,

You probably need to modify your grub file as per:
https://askubuntu.com/questions/1164...n-x570-chipset

Earlier discussion:
https://github.com/lm-sensors/lm-sensors/issues/134
 
1 members found this post helpful.
Old 10-21-2019, 12:11 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by ondoho View Post
coming back to the topic...
What output do you get from 'sensors-detetct'?
Have you tested some of the other binaries of the lm_sensors package?
Which version of lm_sensors?
I'll have to check my version when Io get home but I'm using the default in Sid. Sensors-detect just isn't seeing anything beyong my GPU - not even CPU fan speed is detected.
 
Old 10-21-2019, 12:17 PM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by business_kid View Post
I don't think I'm saying that. I'm saying heat is monitored, and the applied voltage & cpu frequency. So if you add extra cooling, the chip will use it, and your frequency or voltage should rise accordingly.

So sensor monitoring via the linux kernel is unnecessary, as the microcode or something very low level watches it, and will do a better job. Intel never bothered doing this. If the chip overheats, it's a chip fault. And more cooling gives more potential output.
sorry, I was a bit rude but my point is that, for example, my graphics card will overclock itself dependent upon cooling and I hope my CPU will also. I have a third-party "best in class" type CPU cooler so oif my CPU is hitting it's thermal throttle I'd rather it didn't.
To put it in perspective I overclocked my old FX-8370 to a turbo of 4.6 and never saw a temperature over 65C with sustained 100%, all cores with mprime. I don't want to find my CPU if let down by a bodged thermal paste application, for example. i'm not a speed freak but would like to knopw my CPU is cool and working as well as it can.
 
Old 10-21-2019, 12:21 PM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by beachboy2 View Post
273,

You probably need to modify your grub file as per:
https://askubuntu.com/questions/1164...n-x570-chipset

Earlier discussion:
https://github.com/lm-sensors/lm-sensors/issues/134
aha, thanks, not seen these in my googling. Reminded me to mention I'm running an X470 motherboard.
 
Old 10-21-2019, 03:27 PM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by 273 View Post
sorry, I was a bit rude but my point is that, for example, my graphics card will overclock itself dependent upon cooling and I hope my CPU will also. I have a third-party "best in class" type CPU cooler so oif my CPU is hitting it's thermal throttle I'd rather it didn't.
To put it in perspective I overclocked my old FX-8370 to a turbo of 4.6 and never saw a temperature over 65C with sustained 100%, all cores with mprime. I don't want to find my CPU if let down by a bodged thermal paste application, for example. i'm not a speed freak but would like to know my CPU is cool and working as well as it can.
No offence taken. I often explain myself poorly. It's a case of "I know what I'm talking about…" Wars start that way - WW1 for instance

The cooling has to be so spot on that IIRC AMD has some proprietary cooler (not requiring thermal paste) on the job, and thermal paste is relegated to auxiliary coolers. It's not like with like when you compare different cpu temps either. The wafer gets hot and has to be cooled. Everything from the wafer to the air blown through the heatsink is one long chain of thermal resistances. The way AMD are doing it, the sensor can be on the wafer, and hopefully fairly central in each wafer. Temperature sensor designs exist employing silicon junctions as the sensing element. You're right to be concerned about maximising cooling, as that will increase efficiency of cooling, and cpu output. Let me know if you find it possible to overpower it.
 
Old 10-22-2019, 11:48 AM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Though I do have the AMD supplied cooler (with past pre-applied) I'm using a Noctua NH-D15 with Noctua's own paste (reputedly very good).
More recently I have seen cores go to over 4.5GHz (which I know is the "single-core turbo" minimum) and all cores over 4.4 so I'm no longer worried about undercooling but still eager top know how well my thermal solution is working (thermal paste aplication etc. Being a concern) if nothing else just to know it's as cool as possible so less stressed. Heck, I may even try a light overclock should I find all going well.
 
Old 10-24-2019, 05:39 AM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Handy thing then is to watch the clock frequency. You'll hardly get a look at the voltage, because it will be internal. But if it starts throttling back frequency, you'll know there's heat trouble. If you have one of those infrared thermometers, you might get readings out of that. But it would be a case of comparison - hotter/cooler. You won't get absolutes. What matters is the wafer, and AMD have a handle on that.

Another trick I found useful back in the days I was doing stuff was measuring the current on the positive line. This, again, is comparative. The trick was to put a positive probe nearer the supply, and a negative probe near the chip, and measure in millivolts. Every inch of track has a finite although very small resistance. I had/have a fancy meter that measured with a resolution of 0.1mV. Basically, in your case, the bigger the reading, the better. If it's doing, say, 15mV normally over the section of track you can access,and it drops to 10mV, that means it's throttled back frequency or turned off some cores. If it rises to 50mv, you probably have issues! You want to avoid going direct from the power supply, as loads of other chips, disks & things confuse the situation. Find track to the cpu.

They're probably doing this the optimal way - measuring voltage drop across a junction on the wafer. The higher the temperature, the lower the voltage drop. You can profile that, eliminate non-linearity, and act accordingly.
 
Old 10-27-2019, 04:48 AM   #15
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Well, it seem that somebody has been working on this and the CPU temperature now seems to appear in sensors as "Tdie", though there's another reading "Tctl" which shows exactly the same temperature so I wonder whether things are still being worked upon. "cpu_fan" is not working yet but I'm happy to mark this thread closed as it seems to be a work in progress and I can see the temperature.
More worryingly the temperatures is getting over 70C under heavy load so I'm glad I did find the temperature as I may have to reseat my cooler. There's no wonder my multi-core boost speed isn't very impressive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need guidance to install lm-sensors and gkrellm in CentOS 6.5 michael.r Linux - Newbie 10 05-20-2014 06:15 AM
[SOLVED] Can Somebody Explain: lm-sensors and sensors-detect... WeBMartians Linux - Newbie 3 03-15-2012 11:19 PM
Did anyone ever try to read the two temperature sensors on Intel 945GME chipset rojak Linux - Hardware 0 11-27-2009 10:05 AM
need help with lm-sensors and sensors-applet in gnome fakie_flip Linux - Hardware 5 07-15-2007 02:00 PM
Gkrellm and presario 6000 series "no sensors found!" slackist Linux - Software 2 04-19-2004 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration