From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109006] Hotplugging DP1.2 monitor(s) causes machine to hang waiting for page flip Date: Tue, 11 Dec 2018 03:34:32 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1772825600==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0570F89E1D for ; Tue, 11 Dec 2018 03:34:33 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1772825600== Content-Type: multipart/alternative; boundary="15444992720.C9C647.13825" Content-Transfer-Encoding: 7bit --15444992720.C9C647.13825 Date: Tue, 11 Dec 2018 03:34:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D109006 Bug ID: 109006 Summary: Hotplugging DP1.2 monitor(s) causes machine to hang waiting for page flip Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: hime@is.fucking.moe Created attachment 142774 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142774&action=3Dedit dmesg: DRM call stack Greetings, I am using kernel 4.19.8, I have two 4K panels which have DP1.2 inputs as w= ell as an AMD RX560 GPU[1]. I am experiencing an issue where my machine softloc= ks when they are disconnected & subsequently reconnected. If the monitors are power-cycled ,or the DP cable is hotplugged, my kernel log slowly accumulat= es messages like "*ERROR* [PLANE:36:plane-0] flip_done timed out" meanwhile my graphical environment hangs, waiting for the pageflip which never successfu= lly happens. One of my monitors also happens be HDMI2.0 capable, and when conne= cted via HDMI that monitor *does not* lock up the machine in this way, so I beli= eve this issue to be DisplayPort specific. Attached is a dmesg from a recent session exhibiting such a softlock, the relevant portions are near the end. All my softlocks have `RIP: 0010:prepare_flip_isr+0x5f/0x70 [amdgpu]` in common. I will note that the driver does seem to at least partially initialize the monitors upon reconnection, as they do not display "no signal" nor enter sleep mode. [1]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] [1002:67ff] (rev cf) --=20 You are receiving this mail because: You are the assignee for the bug.= --15444992720.C9C647.13825 Date: Tue, 11 Dec 2018 03:34:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 109006
Summary Hotplugging DP1.2 monitor(s) causes machine to hang waiting f= or page flip
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter hime@is.fucking.moe

Created attachment 142774<=
/a> [details]
dmesg: DRM call stack

Greetings,

I am using kernel 4.19.8, I have two 4K panels which have DP1.2 inputs as w=
ell
as an AMD RX560 GPU[1]. I am experiencing an issue where my machine softloc=
ks
when they are disconnected & subsequently reconnected. If the monitors =
are
power-cycled ,or the DP cable is hotplugged, my kernel log slowly accumulat=
es
messages like "*ERROR* [PLANE:36:plane-0] flip_done timed out" me=
anwhile my
graphical environment hangs, waiting for the pageflip which never successfu=
lly
happens. One of my monitors also happens be HDMI2.0 capable, and when conne=
cted
via HDMI that monitor *does not* lock up the machine in this way, so I beli=
eve
this issue to be DisplayPort specific.

Attached is a dmesg from a recent session exhibiting such a softlock, the
relevant portions are near the end. All my softlocks have `RIP:
0010:prepare_flip_isr+0x5f/0x70 [amdgpu]` in common. I will note that the
driver does seem to at least partially initialize the monitors upon
reconnection, as they do not display "no signal" nor enter sleep =
mode.


[1]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX
560/560X] [1002:67ff] (rev cf)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15444992720.C9C647.13825-- --===============1772825600== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1772825600==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109006] Hotplugging DP1.2 monitor(s) causes machine to hang waiting for page flip Date: Tue, 11 Dec 2018 23:14:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0447483481==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B068D6E4D3 for ; Tue, 11 Dec 2018 23:14:52 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0447483481== Content-Type: multipart/alternative; boundary="15445700922.Ec696.7959" Content-Transfer-Encoding: 7bit --15445700922.Ec696.7959 Date: Tue, 11 Dec 2018 23:14:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D109006 --- Comment #1 from Robert Straw --- I was going to attempt to bisect this tonight: however on a lark I decided = to try 4.20-rc6 as it is nearing completion. I am pleased to report that I am *not* seeing this issue on 4.20-rc6. I suspect that the kernel commit a81a7= c9 which loads polaris11_k_mc.bin (which I got from here[1]) for my particular card may have fixed the issue. [1]: https://people.freedesktop.org/~agd5f/radeon_ucode/ --=20 You are receiving this mail because: You are the assignee for the bug.= --15445700922.Ec696.7959 Date: Tue, 11 Dec 2018 23:14:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10900= 6 from Robert Straw
I was going to attempt to bisect this tonight: however on a la=
rk I decided to
try 4.20-rc6 as it is nearing completion. I am pleased to report that I am
*not* seeing this issue on 4.20-rc6. I suspect that the kernel commit a81a7=
c9
which loads polaris11_k_mc.bin (which I got from here[1]) for my particular
card may have fixed the issue.

[1]: https:=
//people.freedesktop.org/~agd5f/radeon_ucode/


You are receiving this mail because:
  • You are the assignee for the bug.
= --15445700922.Ec696.7959-- --===============0447483481== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0447483481==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109006] Hotplugging DP1.2 monitor(s) causes machine to hang waiting for page flip Date: Tue, 19 Nov 2019 09:08:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0688619484==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id C24D66E94E for ; Tue, 19 Nov 2019 09:08:04 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0688619484== Content-Type: multipart/alternative; boundary="15741544840.A626d7.31529" Content-Transfer-Encoding: 7bit --15741544840.A626d7.31529 Date: Tue, 19 Nov 2019 09:08:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D109006 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED --- Comment #2 from Martin Peres --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/644. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741544840.A626d7.31529 Date: Tue, 19 Nov 2019 09:08:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated <= span class=3D"fn">Martin Peres changed bug 10900= 6
What Removed Added
Status NEW RESOLVED
Resolution --- MOVED

Commen= t # 2 on bug 10900= 6 from Martin Peres
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/644.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15741544840.A626d7.31529-- --===============0688619484== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0688619484==--