ocerman / zenmonitor

Zen monitor is monitoring software for AMD Zen-based CPUs.
MIT License
251 stars 28 forks source link

Core temperature doesn't show #10

Closed crantisz closed 4 years ago

crantisz commented 4 years ago

I have installed zenpower and zenmonitor, it shows Power and Frequency, but not temperature or fun speed:

Снимок экрана от 2019-11-21 00-18-05

I have Ubuntu 19.10, kernel 5.3 AMD Ryzen 3900x Gigabyte x570 UD

crantisz commented 4 years ago

Looks like I have 5.3.0, 5.3.4 needed?

ocerman commented 4 years ago

@crantisz hello, The output is lacking temperature and voltages because it seems like zenmonitor app could not find zenpowers output.

To get zenpower driver working properly it is recommended for zen2 cpus to have kernel 5.3.4+, with older kernels may or may not be working properly.

Can you to post lsmod and sensors output?

crantisz commented 4 years ago
$ lsmod
Module                  Size  Used by
snd_usb_audio         241664  3
snd_usbmidi_lib        36864  1 snd_usb_audio
edac_mce_amd           32768  0
nls_iso8859_1          16384  1
snd_hda_codec_hdmi     61440  1
nvidia_uvm            913408  0
nvidia_drm             49152  10
kvm                   651264  0
nvidia_modeset       1122304  19 nvidia_drm
irqbypass              16384  1 kvm
nvidia              19517440  941 nvidia_uvm,nvidia_modeset
snd_hda_codec_realtek   118784  1
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel          49152  9
snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
crct10dif_pclmul       16384  1
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_ctxfi             114688  5
crc32_pclmul           16384  0
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
ghash_clmulni_intel    16384  0
uvcvideo               98304  1
snd_pcm               106496  9 snd_ctxfi,snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_seq_midi           20480  0
videobuf2_vmalloc      20480  1 uvcvideo
snd_seq_midi_event     16384  1 snd_seq_midi
aesni_intel           372736  0
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
snd_rawmidi            36864  2 snd_seq_midi,snd_usbmidi_lib
videobuf2_common       53248  2 videobuf2_v4l2,uvcvideo
aes_x86_64             20480  1 aesni_intel
input_leds             16384  0
videodev              208896  4 videobuf2_v4l2,uvcvideo,videobuf2_common
crypto_simd            16384  1 aesni_intel
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
mc                     53248  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
wmi_bmof               16384  0
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
glue_helper            16384  1 aesni_intel
zenpower               16384  0
drm_kms_helper        184320  1 nvidia_drm
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  3 snd_seq,snd_pcm
drm                   491520  13 drm_kms_helper,nvidia_drm
ipmi_devintf           20480  0
ipmi_msghandler       102400  2 ipmi_devintf,nvidia
fb_sys_fops            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
snd                    86016  44 snd_hda_codec_generic,snd_ctxfi,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
ccp                    94208  0
soundcore              16384  1 snd
mac_hid                16384  0
sch_fq_codel           20480  2
msr                    16384  0
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
hid_generic            16384  0
usbhid                 57344  0
hid                   131072  2 usbhid,hid_generic
i2c_piix4              28672  0
ahci                   40960  5
r8169                  81920  0
libahci                32768  1 ahci
realtek                20480  1
wmi                    32768  1 wmi_bmof
$ sensors
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)
temp2:        +16.8°C  (crit = +20.8°C)

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:    +0.95 V  
SVI2_SoC:     +1.01 V  
Tdie:         +39.0°C  (high = +70.0°C)
Tctl:         +39.0°C  
Tccd1:        +31.5°C  
Tccd2:        +34.0°C  
SVI2_P_Core:   3.13 W  
SVI2_P_SoC:    8.94 W  
SVI2_C_Core:  +3.29 A  
SVI2_C_SoC:   +8.83 A  
crantisz commented 4 years ago

Looks like it shows temperature now. Maybe, reboot or blacklist k10temp helps. Now monitor looks like this: Снимок экрана от 2019-11-26 23-32-20 Power shows from time to time

ocerman commented 4 years ago

@crantisz yeah, some people reported before that a restart was needed (i will add it into readme). Core/Package power is read from MSR driver and superadmin permissions is usually needed (so without running sudo, the core/package powers are missing)

hydrian commented 4 years ago

Yea. I think it was the reboot. I'm running the 18.04 HWE (Linux Mint) kernel which is currently 5.0.0-37-generic with no problem.