Unresponsive weston with flickering image after hibernation
Submitted by Siarhei
Assigned to Wayland bug list
Distribution: Arch Linux Hardware: AMD E-450 APU with Radeon 6320 HD Kernel: 4.7.2 Weston: 1.11.0
Description: After resuming from hibernation (systemctl hibernate), weston's image flickers but display mouse cursor or totally garbaged with random noise.
Quitck-Fix: Switch to another VT, then suspend and resume machine (systemctl suspend, not systemctl hibernate this time), switch back to weston's VT.
There is similar behaviour mentioned in another weston's issue: https://bugs.freedesktop.org/show_bug.cgi?id=95086#c1
Steps to reproduce:
- Launch weston (dbus-launch --exit-with-session=weston)
- Run hibernation (systemctl hibernate)
- Resume from hibernation
- You see weston session's image, or just random noise, that flickers when mouse is moved. It depends on boot, that you can see normal cursor point, but no more. Looks like clicking upon launcher icons, runs those applications, but the picture is corrupted.
Here you can see logs from weston, as well as dmesg and systemd messages related to suspend and hibenation, the weston config added too: https://gist.github.com/47327bd3ad17b74a16a670465c221411