Skip to contentSkip to conversation

New: amdgpu.dc=1 breaks power management on RX480

Bug 206347 [email protected] 2 participants 8 messages Jan 29, 2020 – Sep 27, 2023

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=206347

            Bug ID: 206347
           Summary: amdgpu.dc=1 breaks power management on RX480
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.4.14
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I've been using an AMD RX480 with amdgpu ever since it was supported (i.e. since ~4.8 I think). Somehow I almost got used to the fact that, when idling, it uses 15-20 Watt more than in Windows. Recently I investigated again and found that it simply never reduces the GPU clock below 1278Mhz.

I found this related bug report on freedesktop.org:
https://gitlab.freedesktop.org/drm/amd/issues/817

And this comment on Phoronix...
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/1046724-rx-580-idles-at-1300mhz-core-clock?p=1047617#post1047617

... which gave the crucial hint of setting amdgpu.dc=0

It is only with this setting that my GPU clock will be reduced to 300 MHz on idle as it should. My system runs perfectly fine, performance is good, and system idle power consumption is down to ~70W from the ~90W I had before. So I don't understand why we're wasting 20W by default on all those chips. Maybe there is something that should be fixed or it should default to off?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 206347] amdgpu.dc=1 breaks power management on RX480 and others

https://bugzilla.kernel.org/show_bug.cgi?id=206347

Victor Mataré ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|amdgpu.dc=1 breaks power    |amdgpu.dc=1 breaks power
                   |management on RX480         |management on RX480 and
                   |                            |others
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 206347] amdgpu.dc=1 breaks power management on RX480 and others

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206347

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher ([email protected]) ---
Most boards clock down when idle. What displays are you using? Please attach your dmesg output and xorg log (if using X).

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 206347] amdgpu.dc=1 breaks power management on RX480 and others

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206347

--- Comment #2 from Alex Deucher ([email protected]) ---
dc is enabled by default because it supports a lot more display features and the non-DC code (audio, DP MST, advanced HDMI features, etc.). On most boards it also clocks down fine.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 206347] amdgpu.dc=1 breaks power management on RX480 and others

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206347

--- Comment #3 from Victor Mataré ([email protected]) --- Created attachment 287029
--> https://bugzilla.kernel.org/attachment.cgi?id=287029&action=edit
dmesg

dmesg from a longer session with at least one suspend/resume cycle. Those GPU faults at the end were triggered by playing Civilization 6, but I noticed nothing of them. The game runs fine, i.e. no crashes, glitches or stutters.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 206347] amdgpu.dc=1 breaks power management on RX480 and others

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206347

--- Comment #4 from Victor Mataré ([email protected]) --- Created attachment 287031
--> https://bugzilla.kernel.org/attachment.cgi?id=287031&action=edit
Xorg.0.log

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 206347] amdgpu.dc=1 breaks power management on RX480 and others

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206347

--- Comment #5 from Victor Mataré ([email protected]) ---
I'm using a single 60Hz 4K display, connected via DisplayPort. KDE Desktop with OpenGL backend.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 206347] amdgpu.dc=1 breaks power management on RX480 and others

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206347

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #6 from Artem S. Tashkinov ([email protected]) --- Is this reproducible with 6.5.5 or 6.1.55?

If it is, please report here: https://gitlab.freedesktop.org/drm/amd/-/issues

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.