All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 213823] New: Broken power management for amdgpu
@ 2021-07-22 20:03 bugzilla-daemon
  2021-07-22 20:04 ` [Bug 213823] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-07-22 20:03 UTC (permalink / raw)
  To: dri-devel

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

            Bug ID: 213823
           Summary: Broken power management for amdgpu
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.13.4
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: bruno.n.pagani@gmail.com
        Regression: No

Created attachment 298003
  --> https://bugzilla.kernel.org/attachment.cgi?id=298003&action=edit
amdgpu dmesg output on 5.12

After upgrading to kernel 5.13.4 (from 5.12.15, on Arch Linux), I’ve realized
my AMD dGPU was not powering off anymore resulting in increased power
consumption, heat and noise (because of the fan trying to dissipate the heat).

I’ve compared kernel dmesg on both kernels, and I’ve found related differences:

@@ -1,4 +1,6 @@
 [drm] amdgpu kernel modesetting enabled.
+amdgpu: CRAT table not found
+amdgpu: Virtual CRAT table created for CPU
 amdgpu: Topology: Add CPU node
 fb0: switching to amdgpudrmfb from EFI VGA
 amdgpu 0000:01:00.0: enabling device (0006 -> 0007)
@@ -14,7 +16,10 @@ amdgpu 0000:01:00.0: amdgpu: GART: 256M 0x000000FF00000000 -
0x000000FF0FFFFFFF
 [drm] amdgpu: 4096M of VRAM memory ready
 [drm] amdgpu: 4096M of GTT memory ready.
 amdgpu: hwmgr_sw_init smu backed is vegam_smu
+kfd kfd: amdgpu: Allocated 3969056 bytes on gart
+amdgpu: Virtual CRAT table created for GPU
 amdgpu: Topology: Add dGPU node [0x694f:0x1002]
+kfd kfd: amdgpu: added device 1002:694f
 amdgpu 0000:01:00.0: amdgpu: SE 4, SH per SE 1, CU per SH 6, active_cu_number
20
-amdgpu 0000:01:00.0: amdgpu: Using ATPX for runtime pm
-[drm] Initialized amdgpu 3.40.0 20150101 for 0000:01:00.0 on minor 1
+amdgpu 0000:01:00.0: amdgpu: Using BOCO for runtime pm
+[drm] Initialized amdgpu 3.41.0 20150101 for 0000:01:00.0 on minor 1

I’ve attached both excerpt matching the diff above.

FWIW, this is a Dell Precision 5530 2-in-1 with a Kaby Lake-G CPU, which has an
Intel HD 630 iGPU as well as an AMD Polaris 22 MGL XL [Radeon Pro WX Vega M GL]
dGPU.

Please tell me if there is anything else that I can provide in order to fix
this.

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
@ 2021-07-22 20:04 ` bugzilla-daemon
  2021-07-22 20:04 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-07-22 20:04 UTC (permalink / raw)
  To: dri-devel

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

Bruno Pagani (bruno.n.pagani@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bruno.n.pagani@gmail.com

--- Comment #1 from Bruno Pagani (bruno.n.pagani@gmail.com) ---
Created attachment 298005
  --> https://bugzilla.kernel.org/attachment.cgi?id=298005&action=edit
amdgpu dmesg output on 5.13

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
  2021-07-22 20:04 ` [Bug 213823] " bugzilla-daemon
@ 2021-07-22 20:04 ` bugzilla-daemon
  2021-07-22 20:16 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-07-22 20:04 UTC (permalink / raw)
  To: dri-devel

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

Bruno Pagani (bruno.n.pagani@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Regression|No                          |Yes

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
  2021-07-22 20:04 ` [Bug 213823] " bugzilla-daemon
  2021-07-22 20:04 ` bugzilla-daemon
@ 2021-07-22 20:16 ` bugzilla-daemon
  2021-07-22 22:06 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-07-22 20:16 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher (alexdeucher@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #2 from Alex Deucher (alexdeucher@gmail.com) ---
Please attach your full dmesg outputs.  Can you bisect?

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
                   ` (2 preceding siblings ...)
  2021-07-22 20:16 ` bugzilla-daemon
@ 2021-07-22 22:06 ` bugzilla-daemon
  2021-07-22 22:06 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-07-22 22:06 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Bruno Pagani (bruno.n.pagani@gmail.com) ---
Created attachment 298009
  --> https://bugzilla.kernel.org/attachment.cgi?id=298009&action=edit
dmesg 5.12

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
                   ` (3 preceding siblings ...)
  2021-07-22 22:06 ` bugzilla-daemon
@ 2021-07-22 22:06 ` bugzilla-daemon
  2021-07-22 22:14 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-07-22 22:06 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Bruno Pagani (bruno.n.pagani@gmail.com) ---
Created attachment 298011
  --> https://bugzilla.kernel.org/attachment.cgi?id=298011&action=edit
dmesg 5.13

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
                   ` (4 preceding siblings ...)
  2021-07-22 22:06 ` bugzilla-daemon
@ 2021-07-22 22:14 ` bugzilla-daemon
  2021-11-14 14:03 ` bugzilla-daemon
  2022-10-02 17:42 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-07-22 22:14 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Bruno Pagani (bruno.n.pagani@gmail.com) ---
(In reply to Alex Deucher from comment #2)
> Please attach your full dmesg outputs.  Can you bisect?

Done. Unfortunately no: I’ve never done so before, so while I expect to be
technically able to do it, I guess it will take some time for me to setup (I
have never compiled a kernel myself either), and time is something I
definitively lack of currently (several deadlines to meet each week until the
end of August).

Since I can live with a 5.12 kernel (or even 5.10 LTS), I’m fine with it having
to wait until I have time to setup bisecting if need be though.

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
                   ` (5 preceding siblings ...)
  2021-07-22 22:14 ` bugzilla-daemon
@ 2021-11-14 14:03 ` bugzilla-daemon
  2022-10-02 17:42 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2021-11-14 14:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Bruno Pagani (bruno.n.pagani@gmail.com) ---
So while I still don’t have time to setup bisecting, I’m now affected even on
LTS kernel. Also, I’ve been in touch with other users having a similar laptop
(the XPS version instead of the Precision, but still KabyLake-G), and they
don’t seem affected. Thus I’m not sure anymore this is a kernel issue (and
whether BOCO vs ATPX is relevant). Where should I seek for guidance in
understanding why my dGPU stays stuck in D0 instead of going into D3? Is this
or https://gitlab.freedesktop.org/drm/amd and appropriate place?

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 213823] Broken power management for amdgpu
  2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
                   ` (6 preceding siblings ...)
  2021-11-14 14:03 ` bugzilla-daemon
@ 2022-10-02 17:42 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2022-10-02 17:42 UTC (permalink / raw)
  To: dri-devel

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

Bruno Pagani (bruno.n.pagani@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

--- Comment #7 from Bruno Pagani (bruno.n.pagani@gmail.com) ---
Closing this old bug, this seems gone now on newer kernels.

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-02 17:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 20:03 [Bug 213823] New: Broken power management for amdgpu bugzilla-daemon
2021-07-22 20:04 ` [Bug 213823] " bugzilla-daemon
2021-07-22 20:04 ` bugzilla-daemon
2021-07-22 20:16 ` bugzilla-daemon
2021-07-22 22:06 ` bugzilla-daemon
2021-07-22 22:06 ` bugzilla-daemon
2021-07-22 22:14 ` bugzilla-daemon
2021-11-14 14:03 ` bugzilla-daemon
2022-10-02 17:42 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.