Linux kernel -stable discussions
 help / color / mirror / Atom feed
* 6.12.30: black screen after waking up from hibernate; bisected
@ 2025-05-23 19:54 Rainer Fiebig
  2025-05-28 21:09 ` Deucher, Alexander
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer Fiebig @ 2025-05-23 19:54 UTC (permalink / raw)
  To: stable@vger.kernel.org, Alex Deucher

With kernel 6.12.30 waking up from hibernate fails in a Ryzen 3 5600G
system with the latest BIOS. At the end of the wake-up procedure the
screen goes black instead of showing the log-in screen and the system
becomes unresponsive.  A hard reset is necessary.

Seeing messages like the following in the system log, I suspected an
amdgpu problem:

May 23 19:09:30 LUX kernel: [16885.524496] amdgpu 0000:30:00.0: [drm]
*ERROR* flip_done timed out
May 23 19:09:30 LUX kernel: [16885.524501] amdgpu 0000:30:00.0: [drm]
*ERROR* [CRTC:73:crtc-0] commit wait timed out

I don't know whether those messages and the problem are really related
but I bisected in 'drivers/gpu/drm/amd' anyway and the result was:

> git bisect bad
25e07c8403f4daad35cffc18d96e32a80a2a3222 is the first bad commit
commit 25e07c8403f4daad35cffc18d96e32a80a2a3222 (HEAD)
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Thu May 1 13:46:46 2025 -0400

    drm/amdgpu: fix pm notifier handling

    commit 4aaffc85751da5722e858e4333e8cf0aa4b6c78f upstream.

    Set the s3/s0ix and s4 flags in the pm notifier so that we can skip
    the resource evictions properly in pm prepare based on whether
    we are suspending or hibernating.  Drop the eviction as processes
    are not frozen at this time, we we can end up getting stuck trying
    to evict VRAM while applications continue to submit work which
    causes the buffers to get pulled back into VRAM.

HTH.  Thanks.

Rainer

-- 
The truth always turns out to be simpler than you thought.
Richard Feynman

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

end of thread, other threads:[~2025-05-29 20:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23 19:54 6.12.30: black screen after waking up from hibernate; bisected Rainer Fiebig
2025-05-28 21:09 ` Deucher, Alexander
2025-05-29  7:17   ` Rainer Fiebig
2025-05-29 11:02     ` Rainer Fiebig
2025-05-29 13:07       ` Limonciello, Mario
2025-05-29 20:57         ` Rainer Fiebig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox