From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info Date: Tue, 04 Dec 2018 14:04:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0460557547==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B251E89356 for ; Tue, 4 Dec 2018 14:04:57 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0460557547== Content-Type: multipart/alternative; boundary="15439322970.CE46e.14493" Content-Transfer-Encoding: 7bit --15439322970.CE46e.14493 Date: Tue, 4 Dec 2018 14:04:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108942 Bug ID: 108942 Summary: idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: tempel.julian@gmail.com Created attachment 142715 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142715&action=3Dedit xorg log It looks like this: /sys/kernel/debug/dri/0/amdgpu_pm_info Clock Gating Flags Mask: 0x3fbcf Graphics Medium Grain Clock Gating: On Graphics Medium Grain memory Light Sleep: On Graphics Coarse Grain Clock Gating: On Graphics Coarse Grain memory Light Sleep: On Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: On Graphics Run List Controller Light Sleep: On Graphics 3D Coarse Grain Clock Gating: Off Graphics 3D Coarse Grain memory Light Sleep: Off Memory Controller Light Sleep: On Memory Controller Medium Grain Clock Gating: On System Direct Memory Access Light Sleep: Off System Direct Memory Access Medium Grain Clock Gating: On Bus Interface Medium Grain Clock Gating: Off Bus Interface Light Sleep: On Unified Video Decoder Medium Grain Clock Gating: On Video Compression Engine Medium Grain Clock Gating: On Host Data Path Light Sleep: On Host Data Path Medium Grain Clock Gating: On Digital Right Management Medium Grain Clock Gating: Off Digital Right Management Light Sleep: Off Rom Medium Grain Clock Gating: On Data Fabric Medium Grain Clock Gating: Off GFX Clocks and Power: 300 MHz (MCLK) 300 MHz (SCLK) 600 MHz (PSTATE_SCLK) 1000 MHz (PSTATE_MCLK) 750 mV (VDDGFX) 29.159 W (average GPU) GPU Temperature: 28 C GPU Load: 0 % But: Physical wattmeter measures 38W for the whole system. So apparently, t= he reported power usage in amdgpu_pm_info must be wrong for idle. Power consumption of the whole system is a bit lower on Windows (30W). So probably GPU power saving doesn't work as good as on Windows, but this does= n't explain the unrealistic number reported in amdgpu_pm_info. I btw. also noticed that power saving of Vega works much better than of Pol= aris on Linux. With Polaris, the clocks get up real quickly for even the slighte= st amount of GPU load. Vega saves much more power and doesn't stutter, despite= of the higher savings. I had a RX 560 before the RX 580, and I think its idle power consumption was correctly reported with something like 3W (not 30) or so. latest 4.21-wip kernel --=20 You are receiving this mail because: You are the assignee for the bug.= --15439322970.CE46e.14493 Date: Tue, 4 Dec 2018 14:04:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 108942
Summary idle power consumption of Polaris 20 GPU reported too high in= amdgpu_pm_info
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter tempel.julian@gmail.com

Created attachment 142715 [detai=
ls]
xorg log

It looks like this:

/sys/kernel/debug/dri/0/amdgpu_pm_info

Clock Gating Flags Mask: 0x3fbcf
        Graphics Medium Grain Clock Gating: On
        Graphics Medium Grain memory Light Sleep: On
        Graphics Coarse Grain Clock Gating: On
        Graphics Coarse Grain memory Light Sleep: On
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: On
        Graphics Run List Controller Light Sleep: On
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: On
        Memory Controller Medium Grain Clock Gating: On
        System Direct Memory Access Light Sleep: Off
        System Direct Memory Access Medium Grain Clock Gating: On
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: On
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: On
        Host Data Path Medium Grain Clock Gating: On
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: On
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        300 MHz (MCLK)
        300 MHz (SCLK)
        600 MHz (PSTATE_SCLK)
        1000 MHz (PSTATE_MCLK)
        750 mV (VDDGFX)
        29.159 W (average GPU)

GPU Temperature: 28 C
GPU Load: 0 %

But: Physical wattmeter measures 38W for the whole system. So apparently, t=
he
reported power usage in amdgpu_pm_info must be wrong for idle.

Power consumption of the whole system is a bit lower on Windows (30W). So
probably GPU power saving doesn't work as good as on Windows, but this does=
n't
explain the unrealistic number reported in amdgpu_pm_info.

I btw. also noticed that power saving of Vega works much better than of Pol=
aris
on Linux. With Polaris, the clocks get up real quickly for even the slighte=
st
amount of GPU load. Vega saves much more power and doesn't stutter, despite=
 of
the higher savings.

I had a RX 560 before the RX 580, and I think its idle power consumption was
correctly reported with something like 3W (not 30) or so.

latest 4.21-wip kernel


You are receiving this mail because:
  • You are the assignee for the bug.
= --15439322970.CE46e.14493-- --===============0460557547== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0460557547==--