[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 at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 22 03:43:22 UTC 2018


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 at lists.freedesktop.org
          Reporter: igo95862 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180922/dc7864e3/attachment.html>


More information about the dri-devel mailing list