Announcement

Collapse
No announcement yet.

Ryzen CPUs On Linux Finally See CCD Temperatures, Current + Voltage Reporting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ryzen CPUs On Linux Finally See CCD Temperatures, Current + Voltage Reporting

    Phoronix: Ryzen CPUs On Linux Finally See CCD Temperatures, Current + Voltage Reporting

    One of the few frustrations with the AMD Ryzen CPU support on Linux to date has been besides the often delayed support for CPU temperature reporting has been the mainline kernel not supporting voltage readings and other extra sensors. But that is finally changing with the "k10temp" driver being extended to include current and voltage reporting plus CCD temperature reporting on Zen 2 processors...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Why doesn't AMD provide all this before CPUs are even out?

    Comment


    • #3
      Ryzen Master for Linux is coming?

      Comment


      • #4
        Can't wait for this to get merged!

        Comment


        • #5
          Code:
          modprobe: ERROR: could not insert 'zenpower': Operation not permitted
          I guess Secure Boot is not happy about self-compiled modules...

          Comment


          • #6
            I am using the 'zenpower' module to get the proper values:

            Code:
            # sensors
              acpitz-acpi-0
              Adapter: ACPI interface
              temp1: +16.8°C (crit = +20.8°C)
              
              zenpower-pci-00c3
              Adapter: PCI adapter
              SVI2_Core: +1.09 V
              SVI2_SoC: +1.32 V
              Tdie: +56.0°C (high = +70.0°C)
              Tctl: +56.0°C
              SVI2_P_Core: 16.96 W
              SVI2_P_SoC: 18.47 W
              SVI2_C_Core: +15.59 A
              SVI2_C_SoC: +14.07 A
            Zenpower is Linux kernel driver for reading temperature, voltage(SVI2), current(SVI2) and power(SVI2) for AMD Zen family CPUs. - ocerman/zenpower

            Comment


            • #7
              Originally posted by Spam View Post
              I am using the 'zenpower' module to get the proper values:
              The author said he has no interest in upstreaming, so zenpower is a dead end.

              Comment


              • #8
                For some reasons the patches don't apply cleanly even to 5.5-rc6 kernel, so I've applied the remaining bits manually.

                Here's a patched file which works with kernels 5.4 and 5.5:

                Code:
                sha256sum k10temp.c
                1d0183a67e7503ebaa6cffcd2e76b73f64bc9ee497f73635229b544813de9e9b  k10temp.c
                Here's my output (Ryzen 7 3700X):
                Code:
                # sensors
                k10temp-pci-00c3
                Adapter: PCI adapter
                Vcore:        +0.91 V
                Vsoc:         +1.09 V
                Tdie:         +35.0°C  (high = +70.0°C)
                Tctl:         +35.0°C
                Tccd1:        +35.0°C
                Icore:        +3.95 A
                Isoc:         +7.95 A
                Here's under load (7z b):
                Code:
                Vcore:        +1.30 V
                Vsoc:         +1.09 V
                Tdie:         +63.4°C  (high = +70.0°C)
                Tctl:         +63.4°C
                Tccd1:        +64.0°C
                Icore:       +27.01 A
                Isoc:         +8.24 A
                Last edited by birdie; 16 January 2020, 04:48 PM.

                Comment


                • #9
                  Originally posted by shmerl View Post

                  The author said he has no interest in upstreaming, so zenpower is a dead end.
                  Yea. But will k10temp be backported?

                  Comment


                  • #10
                    will the ever develop a cpu-z for linux operating systems?

                    Comment

                    Working...
                    X