It looks like the driver needs a xdamage event to redraw the screen after suspend : if I have two windows opened, then suspend/resume, I get a black screen with only the mouse cursor. Than a simple Alt+Tab draws the screen.
How to debug the X event that is waited by the driver?
Please attach /var/log/Xorg.0.log and the output of dmesg captured after suspend/resume.
Created attachment 118517 [details]
Xorg.log after 2 suspends : first ok, second only mouse cursor is visible
After second suspend, all is ok after Alt-Tab the bring back a reduced window.
Created attachment 118518 [details]
dmesg after 2 suspends : first ok, second black screen except mouse cursor
Same comment as for Xorg.log
(In reply to Michel Dänzer from comment #1)
> Please attach /var/log/Xorg.0.log and the output of dmesg captured after
So did I. I noticed that with Firefox and Konsole opened, the screen is ok after resmued. Reducing both has triggered the bug on second suspend.
-- 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/638.