Skip to contentSkip to conversation

New: Nasty gpu powersave regression Navi14

Bug 210683 [email protected] 1 participant 15 messages Dec 14, 2020 – Jan 16, 2021

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 210683
           Summary: Nasty gpu powersave regression Navi14
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.10-rc7
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Regression compared to kernel 5.19, the gpu idles constantly from 5W-6W to 15W-16W after upgrading to kernel 5.10rc7 resulting in higher temps at idle

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 210683] Nasty gpu powersave regression Navi14

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

siyia ([email protected]) changed:

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

           Hardware|All                         |x86-64
         Regression|No                          |Yes
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 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

siyia ([email protected]) changed:

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

            Summary|Nasty gpu powersave         |Nasty amdgpu powersave
                   |regression Navi14           |regression Navi14
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 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

--- Comment #1 from siyia ([email protected]) ---
Just tested kernel 5.10 stable and idle powersave is still broken on the gpu compared to kernel 5.9

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 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

--- Comment #2 from siyia ([email protected]) ---
vddgfx also plays between 6.00mv-700mv compared to a steady 6.00 mv in kernel 5.9 at idle

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 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

siyia ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Kernel Version|5.10-rc7 |5.10

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 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

Alex Deucher ([email protected]) changed:

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

--- Comment #3 from Alex Deucher ([email protected]) --- Please attach your dmesg output. Can you bisect?

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 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

David Mak ([email protected]) changed:

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

--- Comment #4 from David Mak ([email protected]) --- Created attachment 294239
--> https://bugzilla.kernel.org/attachment.cgi?id=294239&action=edit
dmesg outputs for 5.9.14 and 5.10.1.

I can reproduce the issue on the RX 6800 (Navi 21 XL).

I use Radeontop to inspect the memory/GPU clock of my GPU.

When using Linux 5.9.14:
- In both KDE Plasma and tty2, Memory Clock hovers at around 100MHz.
- GPU Power reported by lm_sensors is around 5-7W.

When using Linux 5.10.1:
- In tty2, Memory Clock hovers at around 100MHz and GPU Power reported by lm_sensors is around 5-7W.
- In KDE Plasma, Memory Clock is usually around 1GHz (100%), although it can be down to ~470MHz, and GPU Power reported by lm_sensors is around 30W.
- Disconnecting one of my two monitors does not change the memory clock.

I am trying to bisect the commit, but many revisions seem to give a blank screen or the amdgpu module is not loaded. (I suspect I am not building the kernel properly)

Tested linux-firmware versions: 20201120.bc9cd0b, 20201218.646f159

Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

--- Comment #5 from David Mak ([email protected]) --- Created attachment 294289
--> https://bugzilla.kernel.org/attachment.cgi?id=294289&action=edit
git bisect for Navi 21.

Not sure if I am doing is properly, but I performed a git bisect between 5.9 and 5.10 on drivers/gpu/drm/amd.

Note that none of the supposedly "good" commits actually fixed the issue. I just mark them as "good" because those commits either cannot modeset to my monitor's resolution, or the kernel fails to write certain registers to my GPU and causes my display lose signal and go to standby. So technically the "first bad commit" is just the first commit that I can boot into SDDM/KDE and can also reproduce the issue.

Please let me know if there are anything else I can help with. I have a spare Vega 64 (Vega 10) card lying around, but it has its own memory clock issues as far as I remember =/

Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

--- Comment #6 from [email protected] ---
This seems to affect APUs as well. I can reproduce the issue on Raven (3500U).

Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

Andreas Prittwitz ([email protected]) changed:

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

--- Comment #7 from Andreas Prittwitz ([email protected]) --- I can confirm this with an RX 5700 XT.

GPU-power and temperatures with running fans @1100 rpm:

with kernel 5.9.14 during idle = 10 -11 W, temps around 32-35 deg C with kernel 5.10.1 and 5.10.2 during idle = 35 W, temps around 42-45 deg C

Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

--- Comment #8 from siyia ([email protected]) --- I've found a workaround here:
https://gitlab.freedesktop.org/drm/amd/-/issues/1407

read last 2 comments

Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

--- Comment #9 from Andreas Prittwitz ([email protected]) ---
I have done some addtional testing.
I am running an up to date openSUSE Tumleweed with KDE Plasma. My monitor is capable of running at 60, 100, 120 and 144 Hz refresh rate.

For some reason unknown to me it was set to 60 Hz after the last update. With this setting it idled at 35 W instead of the usual 11 W. Also the memory/GPU frequencies come down to what they used to and where they should be.

After setting it back to 144 Hz, wattage at idle came back down to 11 W. Setting it back to 60 Hz refresh rate lets the wattage come back up to 35 W. This is reproducible any time.

Setting it to 100 and 120 Hz resepectively lets the graphics card also idle at 11W.

It seems, at least on my system, that this bug only affects me, when the monitor is set to 60 Hz refresh rate.

Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

--- Comment #10 from Andreas Prittwitz ([email protected]) ---
I have done some addtional testing.
I am running an up to date openSUSE Tumleweed with KDE Plasma. My monitor is capable of running at 60, 100, 120 and 144 Hz refresh rate.

For some reason unknown to me it was set to 60 Hz after the last update. With this setting it idled at 35 W instead of the usual 11 W.

After setting it back to 144 Hz, wattage at idle came back down to 11 W. Also the memory/GPU frequencies come down to what they used to and where they should be.

Setting it back to 60 Hz refresh rate lets the wattage come back up to 35 W. This is reproducible any time.

Setting it to 100 and 120 Hz resepectively lets the graphics card also idle at 11W.

It seems, at least on my system, that this bug only affects me, when the monitor is set to 60 Hz refresh rate.

Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw

[Bug 210683] Nasty amdgpu powersave regression Navi14

In reply to [email protected]

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

siyia ([email protected]) changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE
Signature · 8 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.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel