Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[AMDGPU] RX580 idle power usage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1181

PostPosted: Thu Apr 16, 2020 7:08 pm    Post subject: [AMDGPU] RX580 idle power usage Reply with quote

Hi.

Running RX580 with AMDGPU (currently kernel 5.6.3, tried 5.4, 5.5) driver under Gentoo gives me 28 to 42W (reported in 'sensors' output) in idle (one monitor, HDMI, 4K). Fan speed is ~780rpm.
Switching amdgpu.dc kernel parameter to 0 or 1 does not make any change.

Same card idles in Windows 10 at 6W and fan is stopped most of the time.

Is there something that can be done about this?

Thx.
_________________
gentoo user
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4537
Location: Dallas area

PostPosted: Thu Apr 16, 2020 10:03 pm    Post subject: Reply with quote

power_dpm_force_performance_level is probably set to auto, I changed my 560 from auto to low and it went from ~15 watts to half that.

As far as I know the fan isn't allowed to quit (something in the driver I imagine) the lowest mine goes is ~700 range
_________________
PRIME x570-pro, 3700x, RX 550 & 560
Acer E5-575 (laptop), i3-7100u - i965
---both---
5.5.18 zen kernel, gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1181

PostPosted: Sat Apr 18, 2020 12:18 pm    Post subject: Reply with quote

Thx for the tip.

Unfortunately, changing "auto" to "low" did not make any difference in my case. :(
_________________
gentoo user
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4537
Location: Dallas area

PostPosted: Wed Apr 22, 2020 1:44 pm    Post subject: Reply with quote

Ok, I've played with it a little bit more, was able to make the fans stop, once, but I haven't made that the default.

Part of it (for me) was the asus bios was passing a "performance" state to the kernel, and when the kernel goes performance it shuts off powersaving.
It appears to work, it just doesn't do anything.

so I set this PCIEASPM_POWERSAVE as the default in the kernel, instead of PCIEASPM_DEFAULT

That let me start modifying values for things like the radeon.

When you do lspci -vvv |less and look for LnkCtl: under Capabilities: you'll find a line like
Code:
        LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-


Before I changed the above PCIEASPM* stuff it showed "ASPM Disabled"

Something else to play with.

Edit to add: when the fan stopped, I noticed something weird.
The fan speed was being reported as xxx rpm when it should have said something like 0 rpm, it just never changed (usual rpm change every sec or so)
so I got a flashlight and looked at the fan on the card and sure enough it was stopped, only affected the temp by a small amount.
But it only ran for a small amount of time.
_________________
PRIME x570-pro, 3700x, RX 550 & 560
Acer E5-575 (laptop), i3-7100u - i965
---both---
5.5.18 zen kernel, gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum