LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-30-2016, 09:12 AM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Cputemp showing wrong temp


I do not think Cputemp works with my AMD system.

It shows my temp at 34 degrees F.

I am using the kxtemp module.

My motherboard is a Gigabyte F2A68HM-H.
 
Old 06-30-2016, 10:10 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,667

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
The most reliable temperature monitoring figure is that which is declared on the BIOS. If your temp-reading application does not match on AMD machine, just reboot to the BIOS configuration and examine the temperature values there.

Or you should find an app that matches your architecture.

Hope that helps. Good luck.

m.m.
 
Old 06-30-2016, 11:10 AM   #3
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Cputemp and lm-sensors are the only apps that work in Slako Puppy.

Checking temp by using BIOS works, but is a clunky way.
 
Old 06-30-2016, 03:14 PM   #4
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Curious...

Does anyone using any distro and has an AMD board, have a program that shows the right CPU temps ?
 
Old 07-13-2016, 07:32 AM   #5
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Slackware, Devuan, Android
Posts: 131

Rep: Reputation: 243Reputation: 243Reputation: 243
It's been quite a few years since I messed with lm-sensors, but IIRC it wasn't too hard to get it to show the right data. The kernel module only provided raw data from whatever sensors it found, and not necessarily in the desired units. The software that actually used/displayed the data would have a config file *somewhere* with offsets and multipliers to convert to something readable.

I did set up an AMD box once (a spanking new Athlon 2200+ ), and the last part of setting up the sensors involved noting the values as they were displayed, then quickly rebooting and comparing them to the bios values to work out the necessary factors. Clunky, yes, but the factors were mostly small integers so it wasn't too hard to work out.
 
Old 07-14-2016, 03:43 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,904
Blog Entries: 10

Rep: Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038
Quote:
Originally Posted by Fixit7 View Post
Curious...

Does anyone using any distro and has an AMD board, have a program that shows the right CPU temps ?
i HAD an AMD mobo, and it ran debian wheezy (stable), jessie (stable) and most recently archlinux, and i never had any problems displaying cpu temps.
most recently, i used lm_sensors, with the command "sensors".

are you sure it's in fahrenheit? 34 would be a reasonable temp in celsius.

show some output.
 
Old 07-14-2016, 02:07 PM   #7
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I am running Ubuntu-Mate and it uses Psensor which uses lmsensor.

It is showing 34 degrees F.

BIOS shows cpu temp at about 120 degrees F.

I think it is using the wrong module.
 
Old 07-15-2016, 08:28 PM   #8
weirdwolf
Member
 
Registered: Jun 2007
Location: 1 AU from a G2V star
Distribution: PCLinuxOS LXDE / Android
Posts: 229

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
I'm "fairly sure" it's not accurate. But right now my Conky shows -8C for cpu temp.
PCLinuxOS64, AMD A4-7300 APU with MSI board.

sensors-detect get me this--

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `to-be-written':
* ISA bus, address 0x295
Chip `Fintek F71868A Super IO Sensors' (confidence: 9)

Driver `k10temp' (autoloaded):
* Chip `AMD Family 15h thermal sensors' (confidence: 9)

Note: there is no driver for Fintek F71868A Super IO Sensors yet.
Check http://www.lm-sensors.org/wiki/Devices for updates.
 
Old 07-16-2016, 09:32 AM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,526

Rep: Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420Reputation: 3420
FWIW all temperature monitoring is clunky since the sources are varied and microscopic "zones'. At best, it is analogous to measuring your car's engine temperature with a sensor taped to the outside of your intake manifold whose data wire runs to a trailer housing the conversion logic circuits 100 feet behind your car. That said engineers take that into consideration and safe temp windows are reported based on that data, whether actually accurate or not. So it does work, after a fashion.

The BIOS is the least clunky since it was designed for that set of hardware, assuming decent contact of the actual sensor with the design surface, usually the underside, not the best location but as practical as it gets. Therefore th4e best solution is to use the BIOS info as a ballpark figure and assume that it is higher in some locations.

Obviously 34 F is erroneous unless you have cryo-cooling. Use the BIOS data and since all monitoring software has Offset adjustment, adjust to suit. This assumes you have determined and have the correct module setup. Check your mobo manual and verify that semsors-detect has loaded the appropriate module.

Last edited by enorbet; 07-16-2016 at 09:37 AM.
 
Old 07-16-2016, 10:28 AM   #10
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Interesting.

No big deal as I know it's running at a good temp.

Much lower than my laptops.
 
Old 07-16-2016, 04:59 PM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
If you run sensors on an AMD system you get about 3 or 4 temperatures none of which are "real". I've moaned about this before on countless occasions.
install lm-sensors as mentioned above, then run sensors-detect as root and run sensors and you'll see.
 
Old 07-16-2016, 06:11 PM   #12
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Yeah, one of those things we have to live with.

If I knew where the configuration file was, I good add a correction factor.

i.e. reported temp + 90 degrees = actual temp
 
Old 07-16-2016, 06:18 PM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Quote:
Originally Posted by Fixit7 View Post
Yeah, one of those things we have to live with.

If I knew where the configuration file was, I good add a correction factor.

i.e. reported temp + 90 degrees = actual temp
It's not even that -- at least one of the temperatures isn't relevant at all until it's above a certain threshold then it can, apparently, be used to tell that a system it overheating. But which of the three temperatures that it I've never found a reliable answer for.
Personally I've overclocked my processor as the temperatures don't look any higher that way and ignore the temperature. Since I've an AM3+ socket and an FX-8120 I may upgrade to an FX-8370 soon but after that I'm done with AMD. It may seem a petty reason but when their warranty says you must use the stock cooler or it's invalid and they can't give a straight answer on the maximum temperature but the one which they give is exceeded whenever the CPU does anything remotely taxing (this is with an after market cooler also) I'll not buy their products again.
Sorry for the rant, I just find it disgusting that a company doesn't provide adequate technical information.
 
Old 07-16-2016, 07:02 PM   #14
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
https://wiki.archlinux.org/index.php...rature_Offsets

Here are the config files I made.
But I made some mistake.

The files are supposed to add 47 degrees C to reported value.

(I think programmers spend less time with AMD software since most folks buy Intel.)

Quote:
# k10temp-pci-00c3
chip "k10temp-pci-00c3"
label temp1 temp1
compute temp2 @+47,@+47

# radeon-pci-0008
chip "radeon-pci-0008"
label temp1 temp1
compute temp2 @+47,@+47

andy@7:~$ sensors -f
radeon-pci-0008
Adapter: PCI adapter
temp1: +37.4F (crit = +248.0F, hyst = +194.0F)

k10temp-pci-00c3
Adapter: PCI adapter
temp1: +38.1F (high = +158.0F)
(crit = +176.0F, hyst = +174.2F)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1: N/A (crit = 65.19 W)

andy@7:~$ sensors -f
radeon-pci-0008
Adapter: PCI adapter
temp1: +37.4F (crit = +248.0F, hyst = +194.0F)

k10temp-pci-00c3
Adapter: PCI adapter
temp1: +37.4F (high = +158.0F)
(crit = +176.0F, hyst = +174.2F)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1: N/A (crit = 65.19 W)

andy@7:~$ sensors -u
radeon-pci-0008
Adapter: PCI adapter
temp1:
temp1_input: 3.000
temp1_crit: 120.000
temp1_crit_hyst: 90.000

k10temp-pci-00c3
Adapter: PCI adapter
temp1:
temp1_input: 3.125
temp1_max: 70.000
temp1_crit: 80.000
temp1_crit_hyst: 79.000

fam15h_power-pci-00c4
Adapter: PCI adapter

Last edited by Fixit7; 07-16-2016 at 07:03 PM.
 
Old 07-16-2016, 07:07 PM   #15
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Isn't that for Intel though? AMD sensors don't report actual temperatures but some number you're supposed to compare to some specifications they don't give.
For example, my three system temperatures are 21C, 37C and 33C (roughly 70, 99 and 91 F) but under load the first will rocket up to similar to the others but one will stay almost the same for a while then go up.
 
  


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
LXer: cputemp 1.0 Released For Linux Thermal Monitoring LXer Syndicated Linux News 0 09-03-2012 11:30 AM
rsync showing wrong output system11 Linux - Server 3 02-17-2011 06:38 AM
Hardware Monitor Applet showing incorrect temp and fan speed IMNOboist Linux - Desktop 1 02-04-2011 08:04 AM
Nmap showing wrong information sysrez Linux - Networking 2 10-17-2010 12:36 AM
df showing wrong output samac Slackware 9 12-08-2004 02:38 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:47 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