From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (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 8522520A5DD for ; Thu, 29 May 2025 07:18:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748503085; cv=none; b=eIkDwDadpa94c/buZdAS8wCpi/bCUKVhzYV32/omyobQcP+2gKGJmg0ikCjs0kGZZ0tgFe6CK6LUoVIYJ3zugH6F8Irjd3wxZItqFMTqggB1WZDi1uWpOE9qou1rhMsli7SEPeM9hq1Ve3BALg+CuqGB+Lx8oWqrcP95XTwsj1k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748503085; c=relaxed/simple; bh=bKlPyDaMNNw0FtpRrLqaNJw4qH2xJfsS9nFyo8/9gis=; h=Subject:To:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=LufdvSUwuApaPU5zsWvKZi+F+K/MApKgQv7zjtvDLRyMNxVFDL+kpVLQZ2ZavV7/kCbvCne1v3FeaTEKPt3EO+1XspSXvxllYBndOiHxkS8e+eaLnnCi0zQ9i/cN8YeFa+lKgYe6Pl4IEfwMAyy6smWyAGEvlKONYdNW39SmCKk= 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=BXaeWNAz; arc=none smtp.client-ip=80.241.56.172 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="BXaeWNAz" Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (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-202.mailbox.org (Postfix) with ESMTPS id 4b7HlC1kGhz9spD; Thu, 29 May 2025 09:17:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1748503079; 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=5TNI63yEtX2h9eGBl1LACOywrxOG+85gIbeFkxWFF40=; b=BXaeWNAz4I2WenjXHlCANJPwbDAwqbz25woBFF4VOoOyMZ60jOhwFNjHvr9sotF0T3CmfR 4Rw+J34I47QROwpW6PbR+OrsaOZtaK6WPcoOcQBp0deVM07zYiUPjJzmfgyzC8REiUivPp yDqLn90JKTBQHMi8VpaUFvlTRiSriodrdsc4K88lao3thwZ6ObaEMfZFH8ZzuZw99UkYsj tiOdGZXOraZWZprAD1rq5FZraIKMqsZmUQT8cdWNYY86Duu4omACfaH1ssLdDA5/Axi5UR xqjdEU5bHtdr25irO4HJDRzOlFp/mmbeEetOaor5T45Q26BsvFXKsbaatrK74Q== Subject: Re: 6.12.30: black screen after waking up from hibernate; bisected To: "Deucher, Alexander" , "stable@vger.kernel.org" References: <884d3e56-1052-0ca0-2740-f597ba7031c1@mailbox.org> From: Rainer Fiebig Autocrypt: addr=jrf@mailbox.org; prefer-encrypt=mutual; keydata= mQINBFohwNMBEADSyoSeizfx3D4yl2vTXfNamkLDCuXDN+7P5/UbB+Kj/d4RTbA/w0fqu3S3 Kdc/mff99ypi59ryf8VAwd3XM19beUrDZVTU1/3VHn/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/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: Date: Thu, 29 May 2025 09:17:55 +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-META: o6gi7zpbzju7j5yy6p3mudzgdhtjs6pu X-MBO-RS-ID: a6c7dc61da242270b76 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. Rainer