Announcement

Collapse
No announcement yet.

Linux 5.4 Brings Working Temperature Reporting For AMD Ryzen 3000 Series CPUs

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

  • Linux 5.4 Brings Working Temperature Reporting For AMD Ryzen 3000 Series CPUs

    Phoronix: Linux 5.4 Brings Working Temperature Reporting For AMD Ryzen 3000 Series CPUs

    One of the early pull requests for the just-opened Linux 5.4 kernel merge window is the hardware monitoring "hwmon" subsystem changes. This time around the notable change is CPU temperature reporting for Ryzen 3000 series processors...

    http://www.phoronix.com/scan.php?pag...-Zen-2-Thermal

  • #2
    They really dropped the ball on this one. I don't remember Intel being this bad on those things. Lets hope the distros backport this on their kernels, since it looks trivial to do.
    Last edited by [email protected]; 09-16-2019, 08:53 AM. Reason: its a conspiracy!!!

    Comment


    • #3
      Originally posted by [email protected] View Post
      They really dropped the ball on this one. I don't remember Intel being this bad on those things. Lets hope the distros backport this on their kernels, since it looks trivial to do.
      Afaik AMD never cared much about thermal sensors. It was always done by "the community" (aka the hwmon kernel subsystem maintainer, don't remember the name). This time he is either fed up or was doing more important stuff.

      Comment


      • #4
        Will this also mean working voltage/power reporting? zenpower is ok for temperature, the voltages are obviously wrong though..

        Comment


        • #5
          Originally posted by Termy View Post
          Will this also mean working voltage/power reporting? zenpower is ok for temperature, the voltages are obviously wrong though..
          No, there is no mainline support yet for any voltage/power reporting for any Zen CPUs on Linux.
          Michael Larabel
          http://www.michaellarabel.com/

          Comment


          • #6
            Originally posted by Michael View Post

            No, there is no mainline support yet for any voltage/power reporting for any Zen CPUs on Linux.
            There is accurate voltage reporting:
            Code:
            $ sensors
            nct6795-isa-0a20
            Adapter: ISA adapter
            Vcore:                  +1.41 V  (min =  +0.00 V, max =  +1.74 V)
            And there is accurate power reporting (last two columns):
            Code:
            $ turbostat
            Node    Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IRQ     POLL%   C1%     C2%     CorWatt PkgWatt
            -       -       -       26      0.74    3555    3600    17594   0.00    4.10    95.17   1.53    28.82
            -1      0       0       18      0.50    3616    3600    1485    0.00    4.78    94.74   0.12    28.82
            -1      0       8       7       0.22    3476    3600    319     0.00    1.39    98.40
            -1      1       1       19      0.60    3183    3600    1279    0.00    3.55    95.80   0.11
            -1      1       9       7       0.20    3498    3600    343     0.00    0.70    99.11
            -1      2       2       15      0.49    3093    3600    502     0.00    0.51    98.88   0.07
            ...

            Comment


            • #7
              Originally posted by Michael View Post

              No, there is no mainline support yet for any voltage/power reporting for any Zen CPUs on Linux.
              Typo:

              Originally posted by phoronix View Post
              other hudles in the past.

              Comment


              • #8
                For those who missed it Michael's article at "https://www.phoronix.com/scan.php?pa...10temp-Patches" has links to patches that have enabled temperature and fan RPM reporting on 5.3x kernels, including the final release from yesterday, on my x570/R7 3700X system.

                Comment


                • #9
                  Hi

                  I have built a new machine with
                  • CPU: Ryzen 3700X,
                  • Motherboard: Gigabyte X570 Aorus Ultra,
                  • GPU: Sapphire Radeon RX 5700
                  • Boot drive: Gigabute Aorus NVMe Gen4 SSD 1TB
                  • OS: OpenSuse Tumbleweed
                  as the key components.

                  My last home build lasted nearly 10 years, so I'm a little rusty!

                  I can't get LM-Sensors to return anything sensible, and it doesn't always even return the same. At the moment Tumbleweed is using Kernel 5.3, so I appreciate that I won't get the things discussed in this article, but I don't recognise what I am getting. After running sensors-detect - I think correctly - I get
                  sensors output as below. I am not bothered by the voltages, I'm unlikely to do anything to tax them. However I would like to monitor temperatures and fan speeds and there is clearly some garbage in there. Am I using the correct software (lm-sensors) or is there anything better? How can I interpret the data with confidence, when it includes -55C and no range?

                  Sorry if anyone thinks I have hi-jacked a forum - please just point me in the right direction

                  JW














                  iwlwifi-virtual-0
                  Adapter: Virtual device
                  temp1: +32.0°C

                  it8792-isa-0a60
                  Adapter: ISA adapter
                  in0: +1.80 V (min = +0.00 V, max = +2.78 V)
                  in1: +0.67 V (min = +0.00 V, max = +2.78 V)
                  in2: +0.98 V (min = +0.00 V, max = +2.78 V)
                  +3.3V: +1.68 V (min = +0.00 V, max = +2.78 V)
                  in4: +1.80 V (min = +0.00 V, max = +2.78 V)
                  in5: +1.18 V (min = +0.00 V, max = +2.78 V)
                  in6: +2.78 V (min = +0.00 V, max = +2.78 V) ALARM
                  3VSB: +1.67 V (min = +0.00 V, max = +2.78 V)
                  Vbat: +1.59 V
                  fan1: 0 RPM (min = 0 RPM)
                  fan2: 0 RPM (min = 0 RPM)
                  fan3: 0 RPM (min = 0 RPM)
                  temp1: +34.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
                  temp2: -55.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
                  temp3: +32.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
                  intrusion0: ALARM

                  acpitz-acpi-0
                  Adapter: ACPI interface
                  temp1: +16.8°C (crit = +20.8°C)

                  Comment

                  Working...
                  X