All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
@ 2018-04-28 21:23 bugzilla-daemon
  2018-04-28 21:23 ` bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-04-28 21:23 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 106303
           Summary: amdgpu on RX 560: memory and core clocks not lowered
                    on idle
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: bugs.freedesktop.org@pm.port0.org

Created attachment 139206
  --> https://bugs.freedesktop.org/attachment.cgi?id=139206&action=edit
amdgpu_pm_info with 4.15 kernel

There is a problem with amdgpu power management.
With kernels 4.15.X MCLK is always stays at max value.
With kernels 4.16.X MCLK/SCLK both stays at max.

At idle desktop GPU draws about 4W more, according to
/sys/kernel/debug/dri/0/amdgpu_pm_info

Kernels from Ubuntu PPA
http://kernel.ubuntu.com/~kernel-ppa/mainline/

DRM/Mesa libs from Oibaf PPA
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

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

[-- Attachment #1.2: Type: text/html, Size: 2750 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
@ 2018-04-28 21:23 ` bugzilla-daemon
  2018-04-28 21:24 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-04-28 21:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Mike <bugs.freedesktop.org@pm.port0.org> ---
Created attachment 139207
  --> https://bugs.freedesktop.org/attachment.cgi?id=139207&action=edit
amdgpu_pm_info with 4.16 kernel

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

[-- Attachment #1.2: Type: text/html, Size: 1297 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
  2018-04-28 21:23 ` bugzilla-daemon
@ 2018-04-28 21:24 ` bugzilla-daemon
  2018-04-28 21:27 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-04-28 21:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Mike <bugs.freedesktop.org@pm.port0.org> ---
Created attachment 139208
  --> https://bugs.freedesktop.org/attachment.cgi?id=139208&action=edit
syslog (non0\-kernel stuff removed)

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

[-- Attachment #1.2: Type: text/html, Size: 1309 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
  2018-04-28 21:23 ` bugzilla-daemon
  2018-04-28 21:24 ` bugzilla-daemon
@ 2018-04-28 21:27 ` bugzilla-daemon
  2018-05-08 22:00 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-04-28 21:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Mike <bugs.freedesktop.org@pm.port0.org> ---
Also noted, that
/sys/class/drm/card0/device/pp_num_states is limited to:
states: 2
0 boot
1 performance

And power_dpm_state is always 'performance' regarless of values echoed to
power_dpm_force_performance_level (tried 'low', 'auto', 'balanced' and 'boot').

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

[-- Attachment #1.2: Type: text/html, Size: 1278 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-04-28 21:27 ` bugzilla-daemon
@ 2018-05-08 22:00 ` bugzilla-daemon
  2018-05-09 15:47 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-08 22:00 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
Can you bisect?  Are you using multiple monitors?

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

[-- Attachment #1.2: Type: text/html, Size: 1053 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-05-08 22:00 ` bugzilla-daemon
@ 2018-05-09 15:47 ` bugzilla-daemon
  2018-06-17 14:11 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-09 15:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Mike <bugs.freedesktop.org@pm.port0.org> ---
>Can you bisect?
No, I'm using pre-compiled kernels.
However, it's clearly happens in-between 4.15.8 and 4.16.{0 .. 2}.
Reproduces stably.

>Are you using multiple monitors?
No, single monitor via DisplayPort (2560x1440x144).

PS. I'm also use amdgpu.dc=1

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

[-- Attachment #1.2: Type: text/html, Size: 1337 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-05-09 15:47 ` bugzilla-daemon
@ 2018-06-17 14:11 ` bugzilla-daemon
  2018-06-18  8:50 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-17 14:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Julian <jsbansen@gmail.com> ---
Can confirm. I'm using a Rx 560 on kernel 4.16 and my clock rate is stuck on
1230MHz permanently.

I'm also using a single 2560x1440x144 monitor

This is directly related to DC. If I run with amdgpu.dc=0 the issue disappears.
If I run with amdgpu.dc=1 it shows up. I can't say if it also happened on 4.15
or earlier.

I did notice that dmesg shows about a dozen powerplay errors:

[   94.582083] amdgpu: [powerplay] 
                failed to send message 146 ret is 255 
[   94.582091] amdgpu: [powerplay] 
                failed to send pre message 147 ret is 255 
[   95.895976] amdgpu: [powerplay] 
                failed to send message 145 ret is 255

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

[-- Attachment #1.2: Type: text/html, Size: 1658 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-06-17 14:11 ` bugzilla-daemon
@ 2018-06-18  8:50 ` bugzilla-daemon
  2018-10-30 15:56 ` bugzilla-daemon
  2019-11-19  8:37 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-18  8:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Mike <bugs.freedesktop.org@pm.port0.org> ---
Power usage partially improved with kernel 4.17.2
Both MCLK and SCLK now lowered to full idle - when monitor is turned OFF.

Also MCLK seems to go idle (300MHz) periodically under low load (2D and
browsing).
However, SCLK is still run at top values when monitor is ON, regardless of GPU
load (it is about 1-2% according to radeontop utility).

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

[-- Attachment #1.2: Type: text/html, Size: 1360 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-06-18  8:50 ` bugzilla-daemon
@ 2018-10-30 15:56 ` bugzilla-daemon
  2019-11-19  8:37 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-30 15:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Julian <jsbansen@gmail.com> ---
This appears to be fixed for me on 4.18.16. My 570's shader clock now properly
goes down to 300MHz on idle, like it does using amdgpu.dc=0.

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

[-- Attachment #1.2: Type: text/html, Size: 1126 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] 10+ messages in thread

* [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle
  2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-10-30 15:56 ` bugzilla-daemon
@ 2019-11-19  8:37 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:37 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #9 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/367.

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

[-- Attachment #1.2: Type: text/html, Size: 2404 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] 10+ messages in thread

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-28 21:23 [Bug 106303] amdgpu on RX 560: memory and core clocks not lowered on idle bugzilla-daemon
2018-04-28 21:23 ` bugzilla-daemon
2018-04-28 21:24 ` bugzilla-daemon
2018-04-28 21:27 ` bugzilla-daemon
2018-05-08 22:00 ` bugzilla-daemon
2018-05-09 15:47 ` bugzilla-daemon
2018-06-17 14:11 ` bugzilla-daemon
2018-06-18  8:50 ` bugzilla-daemon
2018-10-30 15:56 ` bugzilla-daemon
2019-11-19  8:37 ` 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.