From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2EDAEEB587 for ; Sat, 9 Sep 2023 11:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344678AbjIILBA (ORCPT ); Sat, 9 Sep 2023 07:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjIILA7 (ORCPT ); Sat, 9 Sep 2023 07:00:59 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A1F7CE7 for ; Sat, 9 Sep 2023 04:00:55 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1c0c6d4d650so23966895ad.0 for ; Sat, 09 Sep 2023 04:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694257254; x=1694862054; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0MKE8EZz8+wkisaN/pk04lbVR7Q5FuzqtTxgn480aHE=; b=f3y+79fdZqqWH6AQ6V6mgi7eTRfSsrHjr1PP1/p6l2K+tXetm1SKbJwM2gPRUIaGbE GjnctiaY/r0ccFoLX98bfSJb+M+lwVgdH1lUQIxxdmU7vqPcj+WO2qTbuQj0bf7WXyjA nprSPtGj1bomnjE2/cwf3hIGgARReADTHV0U1d7n4ccQI7aOb1L6M5qJdZYp5Hj8GqGY 2A5uGoj6pL1Y3kt5J7JLXgMnRiPZ4QWzAE/HlEIxrwSSzgrbfNfqk4mGCsoT9XHSmuW2 8BadV7Z2ovyhEPftq01E53pMS+hBG3DaVX1e79Q1plQrcf/sNq3vkEIeUjgmIydvbc2i F+rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694257254; x=1694862054; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0MKE8EZz8+wkisaN/pk04lbVR7Q5FuzqtTxgn480aHE=; b=SBsIBXTQccGDLNSmOgldukYi9kAV9jz6XJMh5ZmWn5DNpOh4gdYCNkisgylCInq4+G TvIX3RRNVYYKn8khr3fKo2EU0DIbQ/HOeyWQ0euHyEHqjiUF7j69IqR/rMeQI2Wp5SCn bWef7UjFcnwa3oXNvf3asoK7FhJ221Ero90c3oclfdlULXi4rHJeiQ3XjigXlsA4nqFT uUHME+ox4sphzYGgXA2KUXWN+tXVCYdQv0OHCFEpjvQeDnAWufshKSWIkcmkIfKjKq3B H5j8VpCglgvwOHC1IN/szQgvPkSPPQVLsHF1xm7aHp0WzCNujmBOreclD9Ug5bEA5eH0 oAVA== X-Gm-Message-State: AOJu0YymuZBTpd7w3Pj0qf9Aq2uFsQUg8WhsQGlqi0D226DoWlB4qepw 3e+eax/K0OOyMnjcSNeslQE= X-Google-Smtp-Source: AGHT+IHjR9ImlRNAJDU14CsSwYU+UYCaHpx9AY/5PxIX5+9RLyupEWZUwucf1ozgfoBZISKR1BTvIg== X-Received: by 2002:a17:902:ea0a:b0:1bf:4a1f:2b57 with SMTP id s10-20020a170902ea0a00b001bf4a1f2b57mr6365856plg.13.1694257254474; Sat, 09 Sep 2023 04:00:54 -0700 (PDT) Received: from debian.me ([103.124.138.83]) by smtp.gmail.com with ESMTPSA id 17-20020a170902c11100b001b8a1a25e6asm3028909pli.128.2023.09.09.04.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 04:00:53 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 39C208A6E187; Sat, 9 Sep 2023 18:00:49 +0700 (WIB) Date: Sat, 9 Sep 2023 18:00:49 +0700 From: Bagas Sanjaya To: bugzilla-daemon@kernel.org, dri-devel@lists.freedesktop.org, Michael Mair-Keimberger Cc: Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , Pan@debian.me, Xinhui , Linux AMDGPU , Linux Regressions , Linux Kernel Mailing List Subject: Re: [Bug 217892] New: [amdgpu]: system freezes when trying to turn back on monitor Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pfTqKnr0Pj4UuA1x" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pfTqKnr0Pj4UuA1x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 09, 2023 at 10:19:36AM +0000, bugzilla-daemon@kernel.org wrote: > Hi, >=20 > My setup is a dual monitor 4K/144Hz with running sway on it. Both monitor= s are > connected via DP to a Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Rad= eon RX > 7900 XT/7900 XTX]. Usually if i don't change monitor settings everything = works > as expected. The monitors do also wake up flawlessly after system idling.= =20 >=20 > However, sometimes i turn off the second monitor (for example for playing > games). For that i made a shortcut in sway which looks like this.=20 > > bindsym $mod+Shift+F12 output DP-2 toggle >=20 > Now, turning the monitor of works as expected. However, turning it back o= n i > encounter following erros/problems: > Main Workspace (Desktop) freezes, second monitor tries to get turned on. = (The > monitor led goes up) > After some time (couple of seconds, around 10-15sec) the main desktop wor= ks > again, the second screen goes off again. > At that point i usually have to reboot the system to get the second monit= or > back. >=20 > In dmesg is see following entries: > [ 8623.325357] [drm] enabling link 1 failed: 15 > [ 8623.382238] [drm] REG_WAIT timeout 10us * 5000 tries - > enc32_stream_encoder_dp_unblank line:348 > [ 8623.437493] [drm] REG_WAIT timeout 10us * 5000 tries - > enc32_stream_encoder_dp_unblank line:357 > [ 8638.435963] [drm:amdgpu_dm_atomic_check] *ERROR* [CRTC:81:crtc-3] hw_d= one or > flip_done timed out >=20 > This is also something which can be reproduces quite easily. However some= times > it works almost without problems. (in that case, the monitor comes back b= ut the > desktop on the main monitor looks distorted/corruped - maximizing a appli= cation > fixes that) >=20 > This also seems to be a regression. With kernel 6.2 and 6.3 this worked as > expected. >=20 > I'm using following kernel: > Linux x2 6.5.2-gentoo #1 SMP PREEMPT_DYNAMIC Sat Sep 9 00:29:42 CEST 2023 > x86_64 AMD Ryzen 9 7950X3D 16-Core Processor AuthenticAMD GNU/Linux >=20 > As soon as there is a linux-6.6 kernel available in gentoo i'll try that = one > too. You may try compiling your own kernel instead of having to wait for the ker= nel package to be updated. See Documentation/admin-guide/quickly-build-trimmed-linux.rst for full instructions. In any case, please also report to freedesktop tracker [1]. Thanks. [1]: https://gitlab.freedesktop.org/drm/amd/-/issues --=20 An old man doll... just what I always wanted! - Clara --pfTqKnr0Pj4UuA1x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZPxQXQAKCRD2uYlJVVFO o7KZAQDWMADIGvvTcahTyNGWKOyAYdfWQGERAaGcM4K0W5ionQD+KHDoQB1jBzbF QbCHiwM1qujrWM3QbnITdlz1lWH8kAs= =wMBf -----END PGP SIGNATURE----- --pfTqKnr0Pj4UuA1x--