You are not logged in.

#1 2017-04-21 04:28:54

thelongdivider
Member
Registered: 2013-11-09
Posts: 52

Ryzen Temperature Monitoring

lm_sensors doesn't detect Ryzen's temperature sensors.  I installed the it87-dkms-git package from the aur but it didn't fix the state of lm.  Does anyone have any suggestions for getting these temperatures reported at the moment?  For reference I have the MSI x370 carbon motherboard, and a 1700.

Offline

#2 2017-04-21 05:32:54

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Ryzen Temperature Monitoring

Just to confirm, you actually loaded the module too?

Offline

#3 2017-04-21 13:24:18

thelongdivider
Member
Registered: 2013-11-09
Posts: 52

Re: Ryzen Temperature Monitoring

Yes, it is loaded under /etc/modules-load/*

Offline

#4 2017-04-21 16:25:15

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Ryzen Temperature Monitoring

I googled around a bit, and the it87 module is apparently not for you. Your board uses a different family of chips, managed by this project here: https://github.com/groeck/nct6775

This nct6775 module is in the normal kernel. It does not support your particular chip. Check out this thread here for what's going on: https://github.com/groeck/nct6775/issues/49

There's posts somewhere in that thread that describe how to force the nct6775 module to try to interact with that particular chip you (probably) have on your board and things should then work.

Offline

#5 2017-04-21 19:24:33

thelongdivider
Member
Registered: 2013-11-09
Posts: 52

Re: Ryzen Temperature Monitoring

Ropid wrote:

I googled around a bit, and the it87 module is apparently not for you. Your board uses a different family of chips, managed by this project here: https://github.com/groeck/nct6775

This nct6775 module is in the normal kernel. It does not support your particular chip. Check out this thread here for what's going on: https://github.com/groeck/nct6775/issues/49

There's posts somewhere in that thread that describe how to force the nct6775 module to try to interact with that particular chip you (probably) have on your board and things should then work.

Ok, thank you.  I'll try it and write back!

Edit: Still no luck.  Even with the manual ID inputs, I still get the message:

"Sorry, no sensors were detected."

Last edited by thelongdivider (2017-04-21 19:32:06)

Offline

#6 2017-04-22 02:39:26

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Ryzen Temperature Monitoring

Did you try running "sudo sensors-detect" after loading the module? (I don't really understand what it does, but maybe it's needed.)

Last edited by Ropid (2017-04-22 02:44:02)

Offline

#7 2017-04-22 10:10:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Ryzen Temperature Monitoring

https://aur.archlinux.org/packages/nct677x-git/ will install the git module in the correct location to use it over the older version in the kernel package.  Have you built it and rebooted and still met with failure to detect?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2017-04-25 02:42:56

thelongdivider
Member
Registered: 2013-11-09
Posts: 52

Re: Ryzen Temperature Monitoring

Still no sensors detected with any of these suggestions.

Offline

#9 2017-04-25 08:52:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Ryzen Temperature Monitoring

Then either that is not the correct sensor for your hardware or it is simply not yet supported.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2017-04-25 09:22:09

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Re: Ryzen Temperature Monitoring

I've been able to get Ryzen temperature readings through lm_sensors by manually compiling and installing the it87 module from git. This is what works for me (YMMV):

$ sudo pacman -S linux-headers # you might have this already
$ git clone git://github.com/groeck/it87.git
$ cd it87
## Edit the Makefile and change KERNEL_BUILD to point towards ${KERNEL_MODULES}/build instead of /usr/src/linux-headers-${TARGET}. It should already be there but commented out by default.
$ make
$ sudo cp /proc/kallsyms /boot/System.map-`uname -r`;
$ sudo make install
$ sudo modprobe it87

Note that you have to repeat this process every time there's a kernel update, so it's most definitely not an optimal solution.

Offline

#11 2017-04-25 10:56:13

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: Ryzen Temperature Monitoring

Great, but it87 is not the driver for nuvoton super IOs.

OP, find this damn nuvoton chip on the motherboard and see what's the exact model number printed on it (likely NCT6xxxsomething) so you know what of the stuff you find on the 'net applies to you and what doesn't.

Also, rmmod all stock and custom-compiled modules you tried, modprobe them again and then run dmesg and paste any messages from these drivers that you will find in the last few lines of dmesg. Maybe it's just some stupid ACPI conflict.

And BTW, did AMD kill the k10temp sensor in Ryzen?

Offline

#12 2017-04-26 16:26:29

thelongdivider
Member
Registered: 2013-11-09
Posts: 52

Re: Ryzen Temperature Monitoring

mich41 wrote:

Great, but it87 is not the driver for nuvoton super IOs.

OP, find this damn nuvoton chip on the motherboard and see what's the exact model number printed on it (likely NCT6xxxsomething) so you know what of the stuff you find on the 'net applies to you and what doesn't.

Also, rmmod all stock and custom-compiled modules you tried, modprobe them again and then run dmesg and paste any messages from these drivers that you will find in the last few lines of dmesg. Maybe it's just some stupid ACPI conflict.

And BTW, did AMD kill the k10temp sensor in Ryzen?

The chip, according to the MSI spreadsheet, is the Nuvoton NCT6795D-M.

Offline

#13 2017-04-26 23:18:46

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Ryzen Temperature Monitoring

thelongdivider wrote:

The chip, according to the MSI spreadsheet, is the Nuvoton NCT6795D-M.

Did you try what the people in that nct6775 github issue talk about? I mean this here, with the nct677x-git package installed:

I force ID like nct 6793D
modprobe nct6775 force_id=0xd120

Last edited by Ropid (2017-04-26 23:20:07)

Offline

#14 2017-04-26 23:49:46

thelongdivider
Member
Registered: 2013-11-09
Posts: 52

Re: Ryzen Temperature Monitoring

Ropid wrote:
thelongdivider wrote:

The chip, according to the MSI spreadsheet, is the Nuvoton NCT6795D-M.

Did you try what the people in that nct6775 github issue talk about? I mean this here, with the nct677x-git package installed:

I force ID like nct 6793D
modprobe nct6775 force_id=0xd120

Yes.  I tried that immediately.  I will likely just wait until 4.11 to see if the issue is fixed.

Offline

#15 2017-04-27 00:11:34

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Ryzen Temperature Monitoring

Why wait?  Rc8 is good enough... no new features.  Try Linux-mainline in the aur.  I doubt it will help though...


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#16 2017-04-27 02:56:59

thelongdivider
Member
Registered: 2013-11-09
Posts: 52

Re: Ryzen Temperature Monitoring

graysky wrote:

Why wait?  Rc8 is good enough... no new features.  Try Linux-mainline in the aur.  I doubt it will help though...

Because it isn't necessary enough for me to install all the nvidia-DKMS drivers, bootloader, etc.  Just something that is easily read in UEFI and impossible to detect in OS, regardless of the fans spinning up when it is put under load.

Offline

Board footer

Powered by FluxBB