All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
@ 2018-09-22  3:43 bugzilla-daemon
  2018-09-22  9:33 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-22  3:43 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 108015
           Summary: Enabling pp_od_clk_voltage causes the gpu to be locked
                    to lowest power level until some value is written to
                    pp_od_clk_voltage and then the pp_od_clk_voltage is
                    reset.
           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: igo95862@yandex.ru

After enabling the overclocking by adding amdgpu.ppfeaturemask=0xffffffff
kernel boot parameter I noticed that my GPU works very slow. I noticed by
reading /sys/kernel/debug/dri/1/amdgpu_pm_info that the card fails to go to
higher power states.

Here are the screenshots and the way I found to temporarily fix it. I am using
Witcher 3 on Steam Proton 3.7.6 as a performance measurement:

https://i.imgur.com/HI6iakk.jpg
1). Initial state. The game is running around 15-20 frames. The
pp_od_clk_voltage table seems correct but the power consumption stays around 15
Watts and the clock is stuck at 300 MHz


https://i.imgur.com/LInHonF.jpg
2). Trying to reset it straight away is not helping.


https://i.imgur.com/klkGSoA.jpg
3). Writing a value in to that is already on the table of pp_od_clk_voltage is
also not helping.


https://i.imgur.com/BH8ZwIr.jpg
4). Setting a value slightly different than will actually allow the GPU to
change its power state to a higher level. However, it is still not fully
powered as it would be  without overclocking enabled. The frame rate is only
20-30 and the power is around 80 Watts.


https://i.imgur.com/x1Mipja.jpg
5). Resetting the values now will fully enable the card. Frame rate goes to 100
frames per second and power consumption to 100 Watts.

Here are more information that might be useful:

GPU: Sapphire AMD RX480 Nitro
Kernel: 4.18 ZEN

Thank you for your work on the AMDGPU driver.

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
@ 2018-09-22  9:33 ` bugzilla-daemon
  2018-09-25 15:49 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-22  9:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from igo95862@yandex.ru ---
I just discovered that "echo 'c' > pp_od_clk_voltage" needs to be run twice
before it takes effect. I will retest my sequence tomorrow.

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
  2018-09-22  9:33 ` bugzilla-daemon
@ 2018-09-25 15:49 ` bugzilla-daemon
  2018-09-25 15:49 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-25 15:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from igo95862@yandex.ru ---
After doing some more tests, it seems like changing the clock frequency only
takes 1 commit but voltage 2.

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
  2018-09-22  9:33 ` bugzilla-daemon
  2018-09-25 15:49 ` bugzilla-daemon
@ 2018-09-25 15:49 ` bugzilla-daemon
  2018-09-25 15:49 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-25 15:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from igo95862@yandex.ru ---
Created attachment 141735
  --> https://bugs.freedesktop.org/attachment.cgi?id=141735&action=edit
Screenshot 1

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-09-25 15:49 ` bugzilla-daemon
@ 2018-09-25 15:49 ` bugzilla-daemon
  2018-09-25 15:50 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-25 15:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from igo95862@yandex.ru ---
Created attachment 141736
  --> https://bugs.freedesktop.org/attachment.cgi?id=141736&action=edit
Screenshot 2

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-09-25 15:49 ` bugzilla-daemon
@ 2018-09-25 15:50 ` bugzilla-daemon
  2018-09-25 15:50 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-25 15:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from igo95862@yandex.ru ---
Created attachment 141737
  --> https://bugs.freedesktop.org/attachment.cgi?id=141737&action=edit
Screenshot 3

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-09-25 15:50 ` bugzilla-daemon
@ 2018-09-25 15:50 ` bugzilla-daemon
  2018-09-25 15:50 ` bugzilla-daemon
  2019-01-18 22:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-25 15:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from igo95862@yandex.ru ---
Created attachment 141738
  --> https://bugs.freedesktop.org/attachment.cgi?id=141738&action=edit
Screenshot 4

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-09-25 15:50 ` bugzilla-daemon
@ 2018-09-25 15:50 ` bugzilla-daemon
  2019-01-18 22:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-09-25 15:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from igo95862@yandex.ru ---
Created attachment 141739
  --> https://bugs.freedesktop.org/attachment.cgi?id=141739&action=edit
Screenshot 5

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

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

* [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset.
  2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-09-25 15:50 ` bugzilla-daemon
@ 2019-01-18 22:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2019-01-18 22:55 UTC (permalink / raw)
  To: dri-devel


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

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

igo95862@yandex.ru changed:

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

--- Comment #8 from igo95862@yandex.ru ---
Seems to be fixed on the recent kernels.

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

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

end of thread, other threads:[~2019-01-18 22:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-22  3:43 [Bug 108015] Enabling pp_od_clk_voltage causes the gpu to be locked to lowest power level until some value is written to pp_od_clk_voltage and then the pp_od_clk_voltage is reset bugzilla-daemon
2018-09-22  9:33 ` bugzilla-daemon
2018-09-25 15:49 ` bugzilla-daemon
2018-09-25 15:49 ` bugzilla-daemon
2018-09-25 15:49 ` bugzilla-daemon
2018-09-25 15:50 ` bugzilla-daemon
2018-09-25 15:50 ` bugzilla-daemon
2018-09-25 15:50 ` bugzilla-daemon
2019-01-18 22:55 ` 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.