All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info
@ 2018-12-04 14:04 bugzilla-daemon
  2018-12-04 14:05 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-12-04 14:04 UTC (permalink / raw)
  To: dri-devel


[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info
  2018-12-04 14:04 [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
@ 2018-12-04 14:05 ` bugzilla-daemon
  2018-12-13  9:03 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-12-04 14:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from tempel.julian@gmail.com ---
Created attachment 142716
  --> https://bugs.freedesktop.org/attachment.cgi?id=142716&action=edit
dmesg log

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1228 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info
  2018-12-04 14:04 [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
  2018-12-04 14:05 ` bugzilla-daemon
@ 2018-12-13  9:03 ` bugzilla-daemon
  2018-12-13  9:05 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-12-13  9:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Rigo Reddig <rigo.reddig@gmail.com> ---
I can confirm observing the same behavior as Julian reports.

However I have also noticed power information reporting wrongly at the opposite
extreme (Much higher idle power than reported) when two monitors are attached
that force excessively high idle clock states.

https://bugs.freedesktop.org/show_bug.cgi?id=108941#c1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1536 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info
  2018-12-04 14:04 [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
  2018-12-04 14:05 ` bugzilla-daemon
  2018-12-13  9:03 ` bugzilla-daemon
@ 2018-12-13  9:05 ` bugzilla-daemon
  2018-12-13  9:09 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-12-13  9:05 UTC (permalink / raw)
  To: dri-devel


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

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

Rigo Reddig <rigo.reddig@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |x86-64 (AMD64)
                 CC|                            |rigo.reddig@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1301 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info
  2018-12-04 14:04 [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-12-13  9:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Rigo Reddig <rigo.reddig@gmail.com> ---
=======================================================================
Dual monitors: (Power is much higher than reported by 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:
        2000 MHz (MCLK)
        419 MHz (SCLK)
        600 MHz (PSTATE_SCLK)
        1000 MHz (PSTATE_MCLK)
        950 mV (VDDGFX)
        31.252 W (average GPU)

GPU Temperature: 44 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled

=======================================================================
Single Monitor: (Power is much lower than reported by 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)
        28.102 W (average GPU)

GPU Temperature: 30 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4645 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info
  2018-12-04 14:04 [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-12-13  9:09 ` bugzilla-daemon
@ 2019-10-20 11:29 ` bugzilla-daemon
  2019-11-19  9:07 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-10-20 11:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from tempel.julian@gmail.com ---
I wonder why this is still an issue (linux 5.3.4, showing 30W with lowest
clocks and voltages) if it already worked with Polaris 11 some years ago.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info
  2018-12-04 14:04 [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-10-20 11:29 ` bugzilla-daemon
@ 2019-11-19  9:07 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:07 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #5 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/629.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-19  9:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 14:04 [Bug 108942] idle power consumption of Polaris 20 GPU reported too high in amdgpu_pm_info bugzilla-daemon
2018-12-04 14:05 ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.