Skip to contentSkip to conversation

Multiple Xorg restarts leads to `Surface: can not attach plane_state` (raven ridge)

Bug 106285 [email protected] 1 participant 3 messages Apr 27, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=106285

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: [email protected]
Reporter: [email protected]

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=106276
using simple script:

```
#!/bin/sh
set -ex
while true; do
    set -x
    X&
    XPID=$!
    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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=106285

--- Comment #1 from ojab <[email protected]> ---

```
#!/bin/sh
set -ex
while true; do
    set -x
    X&
    sleep 1
    XPID=$!
    kill -9 ${XPID}
    sleep 0.1
done
```

reliably triggers this error in a minute or so.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106285

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #2 from Martin Peres <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel