View previous topic :: View next topic |
Author |
Message |
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Oct 14, 2018 9:26 pm Post subject: [solved] amdgpu - broken power management in new kernels? |
|
|
Lately I'm seeing numbers like this, on an almost totally idle system:
/sys/kernel/debug/dri/0/amdgpu_pm_info: | Clock Gating Flags Mask: 0x37bcf
…
GFX Clocks and Power:
1500 MHz (MCLK)
1206 MHz (SCLK)
214 MHz (PSTATE_SCLK)
625 MHz (PSTATE_MCLK)
1000 mV (VDDGFX)
13.65 W (average GPU)
GPU Temperature: 52 C
GPU Load: 0 %
UVD: Disabled
VCE: Disabled |
13W/52°C is the sort of numbers I'd expect under load (compare to this previous post and this one). The idle numbers should be much lower. I'm not sure how to read the *CLK lines, but if the top two are current speed then that's not a good thing…
This is on kernel 4.18.11, I'm not yet sure when this first started but it was relatively recent. Anyone else seeing unusally high temps?
Last edited by Ant P. on Mon Oct 15, 2018 9:01 pm; edited 1 time in total |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Oct 14, 2018 10:18 pm Post subject: |
|
|
Don't have /sys/kernel/debug but seeing idle 99F with CPU at 75F with 4.17.19
Code: | $ sudo lspci|grep VGA
21:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
| This is a low power board running the radeon module.
What kernel config do I need to enable /sys/kernel/debug?
I can try both 4.17 and 4.18
I left 4.18 because the screen was updating strangely making a hash of nano. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Oct 14, 2018 10:53 pm Post subject: |
|
|
Tony0945 wrote: | What kernel config do I need to enable /sys/kernel/debug? |
I think enabling CONFIG_DEBUG_FS should be enough, the AMD stuff within doesn't seem to have a separate "off" switch.
I'm not sure if the radeon driver will show anywhere near as much info, or the same bug for that matter; on my other (circa 2011) R600 card all it has is this:
/sys/kernel/debug/dri/0/radeon_pm_info: | uvd vclk: 0 dclk: 0
power level 0 sclk: 27827 vddc: 900 |
|
|
Back to top |
|
|
xdarma l33t
Joined: 08 Dec 2003 Posts: 720 Location: tra veneto e friuli (italy)
|
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2181
|
Posted: Mon Oct 15, 2018 7:40 am Post subject: |
|
|
On a different but related subject, has anyone got hibernation working with AMDGPU? My hp laptop will suspend about 95% of the time, but not hibernate. _________________ Greybeard |
|
Back to top |
|
|
tholin Apprentice
Joined: 04 Oct 2008 Posts: 205
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Mon Oct 15, 2018 7:30 pm Post subject: |
|
|
Looks spot-on. Thanks, will try updating past 4.18.13 and see if that fixes it.
EDIT: yep, 4.18.14 works fine. Temps are sane once more. |
|
Back to top |
|
|
|