mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: bugzilla-daemon@kernel.org, dri-devel@lists.freedesktop.org,
	Michael Mair-Keimberger <mmk+bugs@levelnine.at>
Cc: "Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>,
	Pan@debian.me, Xinhui <Xinhui.Pan@amd.com>,
	"Linux AMDGPU" <amd-gfx@lists.freedesktop.org>,
	"Linux Regressions" <regressions@lists.linux.dev>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: [Bug 217892] New: [amdgpu]: system freezes when trying to turn back on monitor
Date: Sat, 9 Sep 2023 18:00:49 +0700	[thread overview]
Message-ID: <ZPxQYWLJQl7x2qAc@debian.me> (raw)
In-Reply-To: <bug-217892-2300@https.bugzilla.kernel.org/>

[-- Attachment #1: Type: text/plain, Size: 2482 bytes --]

On Sat, Sep 09, 2023 at 10:19:36AM +0000, bugzilla-daemon@kernel.org wrote:
> Hi,
> 
> My setup is a dual monitor 4K/144Hz with running sway on it. Both monitors are
> connected via DP to a Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon 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. 
> 
> 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. 
> > bindsym $mod+Shift+F12 output DP-2 toggle
> 
> Now, turning the monitor of works as expected. However, turning it back on 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 works
> again, the second screen goes off again.
> At that point i usually have to reboot the system to get the second monitor
> back.
> 
> 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_done or
> flip_done timed out
> 
> This is also something which can be reproduces quite easily. However sometimes
> it works almost without problems. (in that case, the monitor comes back but the
> desktop on the main monitor looks distorted/corruped - maximizing a application
> fixes that)
> 
> This also seems to be a regression. With kernel 6.2 and 6.3 this worked as
> expected.
> 
> 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
> 
> 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 kernel
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

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

           reply	other threads:[~2023-09-09 11:01 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <bug-217892-2300@https.bugzilla.kernel.org/>]

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=ZPxQYWLJQl7x2qAc@debian.me \
    --to=bagasdotme@gmail.com \
    --cc=Pan@debian.me \
    --cc=Xinhui.Pan@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=bugzilla-daemon@kernel.org \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmk+bugs@levelnine.at \
    --cc=regressions@lists.linux.dev \
    /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

all inboxes | Powered by JetHome®