dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.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	[thread overview]
Message-ID: <bug-108942-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3118 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108942

            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=142715&action=edit
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, the
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 doesn't
explain the unrealistic number reported in amdgpu_pm_info.

I btw. also noticed that power saving of Vega works much better than of Polaris
on Linux. With Polaris, the clocks get up real quickly for even the slightest
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.

[-- Attachment #1.2: Type: text/html, Size: 4529 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-12-04 14:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 14:04 bugzilla-daemon [this message]
2018-12-04 14:05 ` [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
2018-12-13  9:03 ` bugzilla-daemon
2018-12-13  9:05 ` bugzilla-daemon
2018-12-13  9:09 ` bugzilla-daemon
2019-10-20 11:29 ` bugzilla-daemon
2019-11-19  9:07 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108942-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox