From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DBE814E2F2 for ; Thu, 29 May 2025 11:02:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748516552; cv=none; b=E3L24XKitea9XjpdLZd3wpUvMij9ozzQVRTQ0HQxsZaCy9A13tML41PTcL0tQxR8hSe5NhjLkAKBRbeg/YVDyCrn5jEB+37T98yNFvM7XYonA+xo45IBjqpmH9j2Hz5bbWEUIJuy2nfckSi2XrMuxcdP3ZJcHEdNZAreivbVPNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748516552; c=relaxed/simple; bh=AyXOW2WwGM0Ei6sJWgFbTwePPMP/pJnMKzXMBmwhM/Q=; h=Subject:From:To:References:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=S2v2p5ipsusXtTAM2ZLxU2fdQU2lI89B00REJ4OBD1tLZFkn5TIEMmfObrDWwTSGxKyVecK16CdQr18xHm+tZLmpbuBc4kMinUzVBvLC7p3ujjQijJdVbn5/rQwaaqb+fWbbEC+1ylRHi8a6nw0JN59XlSQl02c9EbWGaXBGCFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=hOI9IoP7; arc=none smtp.client-ip=80.241.56.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="hOI9IoP7" Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4b7Nk20CNRz9v0B; Thu, 29 May 2025 13:02:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1748516538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=GgpaHnXF1RHnmQRBTbNu5BVxJo3ipyf4jfOTldEr5ME=; b=hOI9IoP7YOZJv8kau6GOTCkO2/S8YeTugIk9NWlIfQ0jlmpAVSHPllyl5YdIzXZQh5ezfS EpFJz33llAe6LrkoUNyXNhHVOuadpyqypv+4xeks027ZIw29Wv7ikohebUNiNsh0NHSGHP Afm0wL7kjMKsCPzTLNyi6019mPowiCxbvm5wk6XrAtVwkOzDWEc4ALoZ+haKDhxioNpfqf 4z9yDS9vR1fEGKY8Cqn9XiWw9+isTD8X7cZvDoxm9vrQjXSncokW+Uz5Wq9lCRbjZqjcEf ya50IU66M7C9PS4oML2HC3IAK6QmQDwMHGGkpWXsamk5avf7fVP487RGO1NgSg== Subject: Re: 6.12.30: black screen after waking up from hibernate; bisected From: Rainer Fiebig To: "Deucher, Alexander" , "stable@vger.kernel.org" , mario.limonciello@amd.com References: <884d3e56-1052-0ca0-2740-f597ba7031c1@mailbox.org> Autocrypt: addr=jrf@mailbox.org; prefer-encrypt=mutual; keydata= mQINBFohwNMBEADSyoSeizfx3D4yl2vTXfNamkLDCuXDN+7P5/UbB+Kj/d4RTbA/w0fqu3S3 Kdc/mff99ypi59ry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1JVPY8VIsjq/47 R1tBTKoiANQ/M+MAEQEAAYkCPAQYAQgAJgIbDBYhBOsseT4wTbhgdqiVxvDh9yYlivj1BQJh WuePBQkae8fdAAoJEPDh9yYlivj1GmsP/AwKF5WPyg3M1e7YPAYc3vsp2RQccnIjQ62MYxbz VWFs32GT0FyeIBzzT5aaVNyWzumNSyp51LC29AeqL/LXel9bUCzg3v0g5UutXAh9XYnWvgD6 12U4WlFUPmSVKz7B1kf9fwFfOUyRnT1Ayf91GDW9vTP2yWboXqelQdawa1Wl7G+C+unyuu3q OoPkNu65g6ZanO66ycXz6BDOlfCP7WPhcdyi85PuaJhXGbOysKS/m+tptS7XStqp+9Hvj1pj 3pajr5Nktufg3+QLQTj7iUowMnHdClY5d5c34gayzXHIZw9pSM4u4NStEGUTHk9JVRNd09A0 J3PzCngz9isv6Cdi7dZH4ivjOqXnD3Wq6Dwmu2RaBciQx8fuM58o6VBQ2cQa00QRT96UPWph G5BEGryzI0IxAmQtNDwneJx+jscGmMWvm4PkTViBnRcJtlJVO0lR5tWjscVG4TgBIo1M5qmi t0GfVUkS4E8AhVNtPG1Z5vl7JkfX3irc4ld58j1STfhLuos5l4X+7lRncpbYCsuk9rz1Bjh8 r/bUbqMkpj7m27JXi7cHIOtZ4up9O0O8WFdPpLRmy6GS67czo5dpV3CowY9LtZ0+0JmnUd59 kutl2mu4Qd3cGFbZB4J8J3p+wtsx7bujP38lQvmqpyGTUtyoGO9nOL0X5Xi95CAqapnE Message-ID: <2d23038c-1dfd-678e-d0eb-2a474e84dd1f@mailbox.org> Date: Thu, 29 May 2025 13:02:13 +0200 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-MBO-RS-ID: 3228a072a80dc8795b4 X-MBO-RS-META: baebnenmnxert9ox84fyt4w3yfxz4tfq Am 29.05.25 um 09:17 schrieb Rainer Fiebig: > Am 28.05.25 um 23:09 schrieb Deucher, Alexander: >> [Public] >> >>> -----Original Message----- >>> From: Rainer Fiebig >>> Sent: Friday, May 23, 2025 3:54 PM >>> To: stable@vger.kernel.org; Deucher, Alexander >>> 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 >>> 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. To clarify a bit what I mean: if possible, the display should stay "on" _all the while_ from initiating hibernate until the image has been written to disk and shutdown is complete, so that the user can tell from the status of the monitor's power-LED whether it's safe to switch the computer off. Neither an "off-on, off-on..." nor an "off" during that phase is helpful. Rainer