Comment 8 for bug 1850776

Revision history for this message
Peter Bennett (pgbennett) wrote :

My workaround is this. Instead of suspending via the "suspend" option in logout, I run this script:

# X11 screens to disable when suspending, from xrandr
X11_DISABLE="HDMI-0 eDP-1-1"
for mon in $X11_DISABLE ; do
    xrandr --output $mon --off
done
sleep 1
sudo systemctl suspend
sleep 5
for mon in $X11_DISABLE ; do
    xrandr --output $mon --auto
done

I have not had this error in over two months, and I used to get it once a week.