From: Rainer Fiebig <jrf@mailbox.org>
To: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: 6.12.30: black screen after waking up from hibernate; bisected
Date: Thu, 29 May 2025 09:17:55 +0200 [thread overview]
Message-ID: <bcd38e08-d1c4-ee9b-e96e-ef369bfe280d@mailbox.org> (raw)
In-Reply-To: <BL1PR12MB5144454EC2C17C206CC68992F767A@BL1PR12MB5144.namprd12.prod.outlook.com>
Am 28.05.25 um 23:09 schrieb Deucher, Alexander:
> [Public]
>
>> -----Original Message-----
>> From: Rainer Fiebig <jrf@mailbox.org>
>> Sent: Friday, May 23, 2025 3:54 PM
>> To: stable@vger.kernel.org; Deucher, Alexander <Alexander.Deucher@amd.com>
>> Subject: 6.12.30: black screen after waking up from hibernate; bisected
>>
>> 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.
>>
>
> Fixed in:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7e7cb7a13c81073d38a10fa7b450d23712281ec4
> and on it's way to stable.
Great, thanks! I had already reverted your commit in an experimental
branch and that solved the problem - so either your commit was bad or
something that it somehow depended on.
The problem that now reverted commit 68bfdc8dc0a1a tried to solve is
indeed irritating/confusing and hopefully you'll find an other way to
solve it. The whole procedure is suboptimal insofar as there is no
feedback as to what is going on and whether the process has finally
concluded and it is safe to switch off the box.
My - perhaps naive - suggestion would be to provide at least some
feedback by leaving the monitor _on_ until the image has been written to
disk and the box can be switched off.
Rainer
next prev parent reply other threads:[~2025-05-29 7:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2025-05-29 11:02 ` Rainer Fiebig
2025-05-29 13:07 ` Limonciello, Mario
2025-05-29 20:57 ` Rainer Fiebig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bcd38e08-d1c4-ee9b-e96e-ef369bfe280d@mailbox.org \
--to=jrf@mailbox.org \
--cc=Alexander.Deucher@amd.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox