From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106285] Multiple Xorg restarts leads to `Surface: can not attach plane_state` (raven ridge) Date: Fri, 27 Apr 2018 17:36:26 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1178530647==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 35BDA6EABE for ; Fri, 27 Apr 2018 17:36:26 +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 --===============1178530647== Content-Type: multipart/alternative; boundary="15248505860.Bac77da65.7756" Content-Transfer-Encoding: 7bit --15248505860.Bac77da65.7756 Date: Fri, 27 Apr 2018 17:36:26 +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=3D106285 Bug ID: 106285 Summary: Multiple Xorg restarts leads to `Surface: can not attach plane_state` (raven ridge) Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: ojab@ojab.ru Raven ridge APU (2400g), no external GPU, linux-4.17-rc2, libdrm-2.4.91, mesa-18.1.0-rc1, xorg-server-1.19.6, xf86-video-amdgpu-18.0.1. So I've tried to reproduce https://bugs.freedesktop.org/show_bug.cgi?id=3D1= 06276 using simple script: ``` #!/bin/sh set -ex while true; do set -x X& XPID=3D$! sleep 1 kill ${XPID} sleep 1 done ``` and ended up with screen showing nothing (i. e. backlight enabled, but all image is black) in both console & X. dmesg is full of [Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Surface: can not attach plane_state 00000000a97ad24a! Maximum is: 4 [Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Surface: can not attach plane_state 00000000d38d9362! Maximum is: 4 [Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Surface: can not attach plane_state 00000000d38d9362! Maximum is: 4 [Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Surface: can not attach plane_state 00000000d38d9362! Maximum is: 4 [Fri Apr 27 16:18:01 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Surface: can not attach plane_state 00000000b7ff318d! Maximum is: 4 [Fri Apr 27 16:18:04 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Surface: can not attach plane_state 00000000b7ff318d! Maximum is: 4 --=20 You are receiving this mail because: You are the assignee for the bug.= --15248505860.Bac77da65.7756 Date: Fri, 27 Apr 2018 17:36:26 +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 106285
Summary Multiple Xorg restarts leads to `Surface: can not attach plan= e_state` (raven ridge)
Product DRI
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter ojab@ojab.ru

Raven ridge APU (2400g), no external GPU, linux-4.17-rc2, libd=
rm-2.4.91,
mesa-18.1.0-rc1, xorg-server-1.19.6, xf86-video-amdgpu-18.0.1.

So I've tried to reproduce https://bugs.freedesktop.org/show_bug.=
cgi?id=3D106276
using simple script:
```
#!/bin/sh
set -ex
while true; do
    set -x
    X&
    XPID=3D$!
    sleep 1
    kill ${XPID}
    sleep 1
done
```

and ended up with screen showing nothing (i. e. backlight enabled, but all
image is black) in both console & X. dmesg is full of
[Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR*
Surface: can not attach plane_state 00000000a97ad24a! Maximum is: 4
[Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR*
Surface: can not attach plane_state 00000000d38d9362! Maximum is: 4
[Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR*
Surface: can not attach plane_state 00000000d38d9362! Maximum is: 4
[Fri Apr 27 16:17:33 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR*
Surface: can not attach plane_state 00000000d38d9362! Maximum is: 4
[Fri Apr 27 16:18:01 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR*
Surface: can not attach plane_state 00000000b7ff318d! Maximum is: 4
[Fri Apr 27 16:18:04 2018] [drm:dc_add_plane_to_context [amdgpu]] *ERROR*
Surface: can not attach plane_state 00000000b7ff318d! Maximum is: 4


You are receiving this mail because:
  • You are the assignee for the bug.
= --15248505860.Bac77da65.7756-- --===============1178530647== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1178530647==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106285] Multiple Xorg restarts leads to `Surface: can not attach plane_state` (raven ridge) Date: Mon, 30 Apr 2018 14:34:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1884623954==" 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 BD7996E340 for ; Mon, 30 Apr 2018 14:34:23 +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 --===============1884623954== Content-Type: multipart/alternative; boundary="15250988630.AE989Fae3.31828" Content-Transfer-Encoding: 7bit --15250988630.AE989Fae3.31828 Date: Mon, 30 Apr 2018 14:34:23 +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=3D106285 --- Comment #1 from ojab --- ``` #!/bin/sh set -ex while true; do set -x X& sleep 1 XPID=3D$! kill -9 ${XPID} sleep 0.1 done ``` reliably triggers this error in a minute or so. --=20 You are receiving this mail because: You are the assignee for the bug.= --15250988630.AE989Fae3.31828 Date: Mon, 30 Apr 2018 14:34:23 +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 10628= 5 from ojab
```
#!/bin/sh
set -ex
while true; do
    set -x
    X&
    sleep 1
    XPID=3D$!
    kill -9 ${XPID}
    sleep 0.1
done
```
reliably triggers this error in a minute or so.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15250988630.AE989Fae3.31828-- --===============1884623954== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1884623954==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106285] Multiple Xorg restarts leads to `Surface: can not attach plane_state` (raven ridge) Date: Tue, 19 Nov 2019 08:36:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1686036333==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A90C6ED27 for ; Tue, 19 Nov 2019 08:36:24 +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 --===============1686036333== Content-Type: multipart/alternative; boundary="15741525840.Ea3dC.18922" Content-Transfer-Encoding: 7bit --15741525840.Ea3dC.18922 Date: Tue, 19 Nov 2019 08:36:24 +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=3D106285 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/357. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741525840.Ea3dC.18922 Date: Tue, 19 Nov 2019 08:36:24 +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 10628= 5
What Removed Added
Status NEW RESOLVED
Resolution --- MOVED

Commen= t # 2 on bug 10628= 5 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/357.


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