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