Announcement

Collapse
No announcement yet.

The AMD Ryzen Thermal / Power Linux Reporting Improvements Working Well - V2 Up For Testing

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

  • ThoreauHD
    replied
    I think somrbody needs to do a cumulative post of the state of linux driver support on reddit's /r/AMD. Lisa Su reads that. She doesn't read this.

    Leave a comment:


  • geearf
    replied
    Originally posted by birdie View Post
    Speaking of the zenpower driver - for my CPU it always showed absolutely incorrect power usage numbers. A simple multiplication of voltage and current doesn't work. Either there are hidden parameters or something else. My CPU eats up to 91W under load. 1.4 * 27 equals ~38W which is far from truth.
    Hmm, I just tried and on my system zenmonitor follows U=RI quite well for the SOC.

    Leave a comment:


  • birdie
    replied
    Here's a patched file (v2) for the lazy ;-)
    Code:
    sha256sum *
    0937189bd97e3ed6c90ad87172fa00980a3199769f81067a7e41e5440d2cbf40  k10temp.c
    For my Ryzen 7 3700X:

    Code:
    sensors
    k10temp-pci-00c3
    Adapter: PCI adapter
    Vcore:        +0.91 V
    Vsoc:         +1.09 V
    Tdie:         +34.5°C
    Tctl:         +34.5°C
    Tccd1:        +34.0°C
    Icore:        +4.61 A
    Isoc:         +7.65 A
    Speaking of the zenpower driver - for my CPU it always showed absolutely incorrect power usage numbers. A simple multiplication of voltage and current doesn't work. Either there are hidden parameters or something else. My CPU eats up to 91W under load. 1.4 * 27 equals ~38W which is far from truth.
    Last edited by birdie; 19 January 2020, 07:42 AM.

    Leave a comment:


  • remenic
    replied
    Originally posted by Ropid View Post
    A difference is, this k10temp driver only shows voltage and current readings while the zenpower driver also shows a reading for power usage.
    Which is probably just voltage * current, so you're not missing anything.

    Leave a comment:


  • rene
    replied
    Originally posted by geearf View Post

    Well I already use a bunch of non-upstream patches for my kernel anyway.
    Maybe I should have phrased it more like: Nothing for me to really look forward to then :/
    long term maintenance of the code. Out-of-tree drivers are the root of all evil. And bitrot.

    Leave a comment:


  • geearf
    replied
    Originally posted by rene View Post

    Other than proper upstream kernel integration and not betrothing out-of-tree stuff?
    Well I already use a bunch of non-upstream patches for my kernel anyway.
    Maybe I should have phrased it more like: Nothing for me to really look forward to then :/

    Leave a comment:


  • jrdoane
    replied
    This allows core complex tie temperature reporting
    Typo: I think you mean die.

    Leave a comment:


  • rene
    replied
    I can confirm it show something somewhat plausible on Ryzen 9 3950x: https://www.youtube.com/watch?v=SNwh9VgynK8

    Leave a comment:


  • rene
    replied
    Originally posted by geearf View Post

    Nothing to really look forward to then :/

    Thank you very much!
    Other than proper upstream kernel integration and not betrothing out-of-tree stuff?

    Leave a comment:


  • geearf
    replied
    Originally posted by Ropid View Post

    It basically is providing the same. The comments in the code say that the info about how to get the data out of the CPU hardware came from looking at zenpower's code.

    A difference is, this k10temp driver only shows voltage and current readings while the zenpower driver also shows a reading for power usage.

    I guess the power usage reading is left out because the hardware really only reports voltage and current. The zenpower driver calculates its power usage reading by multiplying the hardware's voltage and current readings.
    Nothing to really look forward to then :/

    Thank you very much!

    Leave a comment:

Working...
X