Weston stops updating screen after a random number of TTY switches on Legacy mode set
Hi
It seems that sometimes Weston stops updating screen after a random number of TTY switches on Legacy mode set. This happens on seat0 with TTYs as well as non seat0.
Looking at the log WestonProblem.log
one of the lines I get [14:26:49.988] queueing pageflip failed: Permission denied
appears to be the one in drm_output_apply_state
the second I get [14:26:49.988] Couldn't apply state for output Virtual-1
appears to be the one in drm_pending_state_apply
I suspect that commit a08512f4 might be the cause, as testing the commit before it, and I don't see the problem.
I also thought it might have been 9bf4f371 and 8747f956 but I was wrong I think.
Most of my testing is in QEMU, but I can replicate the problem on an older Intel that does not use Atomic Modeset from what I can gather
Thanks