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==--