From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [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. Date: Sat, 22 Sep 2018 03:43:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0438116216==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 200646E29F for ; Sat, 22 Sep 2018 03:43:23 +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 --===============0438116216== Content-Type: multipart/alternative; boundary="15375878020.D147305.26598" Content-Transfer-Encoding: 7bit --15375878020.D147305.26598 Date: Sat, 22 Sep 2018 03:43:22 +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=3D108015 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=3D0xffffffff 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 us= ing 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 aroun= d 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15375878020.D147305.26598 Date: Sat, 22 Sep 2018 03:43:22 +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 108015
Summary Enabling pp_od_clk_voltage causes the gpu to be locked to low= est power level until some value is written to pp_od_clk_voltage and then t= he 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=
=3D0xffffffff
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 us=
ing
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 aroun=
d 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.
= --15375878020.D147305.26598-- --===============0438116216== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0438116216==--