I purged both xfce4-screensaver and light-locker packages, restarted lightdm and tested with x-p-m set to suspend on lid-close for battery (and AC as I've had the battery exhaust several times due to the length of these tests!)
In this case there is no password challenge dialog on resume.
It failed on 1st suspend-resume cycle. GUI TTY blanked, but console TTYs are fine.
I was thinking back to the tests I did when this first hit 18.04 (when I reported this bug originally) and seem to recall that adding debug logging was enough to prevent the failure and led me to hypothesise this is a race condition.
I'm going to try booting the systems with maxcpus= 1 and 0.
I purged both xfce4-screensaver and light-locker packages, restarted lightdm and tested with x-p-m set to suspend on lid-close for battery (and AC as I've had the battery exhaust several times due to the length of these tests!)
In this case there is no password challenge dialog on resume.
It failed on 1st suspend-resume cycle. GUI TTY blanked, but console TTYs are fine.
I was thinking back to the tests I did when this first hit 18.04 (when I reported this bug originally) and seem to recall that adding debug logging was enough to prevent the failure and led me to hypothesise this is a race condition.
I'm going to try booting the systems with maxcpus= 1 and 0.