Setting modes while the VT is inactive (was: Xserver crash on resume)

Xavier Bestel xavier.bestel at
Mon Nov 26 05:03:51 PST 2007

On Sun, 2007-11-25 at 17:53 -0800, Keith Packard wrote:
>   + Suspend the operation and make the client actually hang until the X
> server was active again. This would require a bit of rework down inside
> the mode setting code and up through the RandR extension, but nothing
> impossible.

This sounds like a recipe for deadlock (imagine a script or something
waiting for a setmode to do a chvt).

>   + Pretend the mode was set and then hope nothing goes wrong when the
> server is activated. This would really require that the driver be
> involved in the process, so that it could vette the incoming mode
> correctly and help make sure the selected mode really can be used.
> That's a change in the driver responsibilities.

Sounds better (maybe using some kernel-mode modesetting ?).
Or maybe just fail, but do not hang.


More information about the xorg mailing list