Bugzilla – Bug 1180404
high idle power consumption of amd gpu 5700xt with kernel 5.10.1
Last modified: 2021-01-21 13:06:16 UTC
On opensuse tumbleweed with kernel 5.10.1, the idle power consumption of my AMD graphic card (5700xt navi 10) increased from 8W to 29W over previous kernel versions. This is annoying as the graphic card periodically starts and stops the fan to deal with the increased temperature while simply displaying the desktop. I only have one monitor attached (1920x1200@60Hz) but the VRAM clock is now set to 850MHz all the time, while it was as 100MHz with earlier kernels. Is there any way to revert to the old behaviour? With 5.10.1-1-default: cat /sys/kernel/debug/dri/0/amdgpu_pm_info GFX Clocks and Power: 875 MHz (MCLK) 800 MHz (SCLK) 1300 MHz (PSTATE_SCLK) 625 MHz (PSTATE_MCLK) 725 mV (VDDGFX) 29.0 W (average GPU) GPU Temperature: 52 C GPU Load: 0 % MEM Load: 0 % SMC Feature Mask: 0x00000623a3ddaffb VCN: Disabled Clock Gating Flags Mask: 0x38099f05 Graphics Medium Grain Clock Gating: On Graphics Medium Grain memory Light Sleep: Off Graphics Coarse Grain Clock Gating: On Graphics Coarse Grain memory Light Sleep: Off Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: Off Graphics Run List Controller Light Sleep: Off 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: On System Direct Memory Access Medium Grain Clock Gating: On Bus Interface Medium Grain Clock Gating: On Bus Interface Light Sleep: On Unified Video Decoder Medium Grain Clock Gating: Off Video Compression Engine Medium Grain Clock Gating: Off 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: Off Data Fabric Medium Grain Clock Gating: Off Address Translation Hub Medium Grain Clock Gating: On Address Translation Hub Light Sleep: On With 5.9.14-1-default: cat /sys/kernel/debug/dri/0/amdgpu_pm_info Clock Gating Flags Mask: 0x38099f05 Graphics Medium Grain Clock Gating: On Graphics Medium Grain memory Light Sleep: Off Graphics Coarse Grain Clock Gating: On Graphics Coarse Grain memory Light Sleep: Off Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: Off Graphics Run List Controller Light Sleep: Off 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: On System Direct Memory Access Medium Grain Clock Gating: On Bus Interface Medium Grain Clock Gating: On Bus Interface Light Sleep: On Unified Video Decoder Medium Grain Clock Gating: Off Video Compression Engine Medium Grain Clock Gating: Off 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: Off Data Fabric Medium Grain Clock Gating: Off Address Translation Hub Medium Grain Clock Gating: On Address Translation Hub Light Sleep: On GFX Clocks and Power: 100 MHz (MCLK) 800 MHz (SCLK) 1300 MHz (PSTATE_SCLK) 625 MHz (PSTATE_MCLK) 750 mV (VDDGFX) 8.0 W (average GPU) GPU Temperature: 35 C GPU Load: 0 % MEM Load: 0 % SMC Feature Mask: 0x00000623a3ddaffb VCN: Disabled
Care to report this to upstream bug tracker, e.g. gitlab.freedesktop.org Issues?
I found the following issue that matches my problem in the upstream bugtracker: https://gitlab.freedesktop.org/drm/amd/-/issues/1407
Bisected to: a861736dae64 drm/amd/display: Fixed Intermittent blue screen on OLED panel
Thanks. Let's wait a bit for the reaction from the upstream. If nothing happens, I'm going to revert the commit on Kernel:stable.
Since there has been no visible reaction from the upstream, I pushed the revert of the culprit commit (a861736dae64 "drm/amd/display: Fixed Intermittent blue screen on OLED panel") for stable branch as a tentative fix for now. I'll keep this bug opened, though, until the upstream fixes it properly and we backport it.
For reference, the revert has been merged in Linus tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4eec66c014e9a406d8d453de958f6791d05427e4
The revert is now part of the stable tree and released in 5.10.9: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=989a0f6791ff55344cba164498225707045f6b1a
Thanks for the update. Since the official revert landed in the stable, let's close now.