Announcement

Collapse
No announcement yet.

Linux 6.6 AMDGPU Driver To Expose Current & Average Power For Capable GPUs

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

  • Linux 6.6 AMDGPU Driver To Expose Current & Average Power For Capable GPUs

    Phoronix: Linux 6.6 AMDGPU Driver To Expose Current & Average Power For Capable GPUs

    On Friday AMD sent out another pull request of AMDGPU/AMDKFD driver changes for the upcoming Linux 6.6 merge window. With the Linux 6.5 release due out likely in one week and the cut-off having passed for new "feature" code for DRM-Next, this latest AMDGPU pull request was centered around bug-fixes but also with a few minor additions...

    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
    Niiiice! Currently there's a PPT sensor reading, but it's just an estimate. Getting an accurate consumption reading is simply awesome.

    Comment


    • #3
      Originally posted by Gusar View Post
      Niiiice! Currently there's a PPT sensor reading, but it's just an estimate. Getting an accurate consumption reading is simply awesome.
      Yours truly has asked for this change. I hoped it would be backported to stable as well, maybe it will be.

      A Linux hater they say. Sometimes I just wanna kill myself hearing that.
      Last edited by avis; 21 August 2023, 12:37 PM.

      Comment


      • #4
        I still don't get why hmwon can't expose it for CPUs too. There is rapl, but sensors don't access it.

        Comment


        • #5
          Originally posted by shmerl View Post
          I still don't get why hmwon can't expose it for CPUs too. There is rapl, but sensors don't access it.
          The information about the CPU is available from the GPU driver, it's just not clear on how to expose that in hwmon since they are CPU attributes.

          Comment


          • #6
            Originally posted by agd5f View Post

            The information about the CPU is available from the GPU driver, it's just not clear on how to expose that in hwmon since they are CPU attributes.
            Oh, that's in case it's an APU? Though new AMD desktop CPUs are all APUs now.

            Comment


            • #7
              Originally posted by shmerl View Post

              Oh, that's in case it's an APU? Though new AMD desktop CPUs are all APUs now.
              Yes, we export more or less the entire state (CPU and GPU) via sysfs (https://docs.kernel.org/gpu/amdgpu/t...ml#gpu-metrics) and you can use umr (https://gitlab.freedesktop.org/tomstdenis/umr) to decode it.

              Comment


              • #8
                Originally posted by agd5f View Post

                Yes, we export more or less the entire state (CPU and GPU) via sysfs (https://docs.kernel.org/gpu/amdgpu/t...ml#gpu-metrics) and you can use umr (https://gitlab.freedesktop.org/tomstdenis/umr) to decode it.
                That's cool. It would be nice to plumb at least CPU power reading to sensors, so it can be easily plugged into monitor tools like KDE system monitor. GPU power reading is already there.

                Comment


                • #9
                  Vega56 will be supported?

                  Comment


                  • #10
                    Originally posted by xcom View Post
                    Vega56 will be supported?
                    vega10 only supports current power via the SMU. That said, you could do your own averaging if you want the average power.

                    Comment

                    Working...
                    X