Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Mode setting is
setting up the screen resolution and depth mode for the graphics card.
Modern mode setting software supports multiple monitors and hot
plugging. Mode setting can be done in kernel space or in user space.
Doing mode setting in kernel-space is more flexible and allows
displaying of an error in the case of a fatal error in the kernel, even
when using a user-space display server. User-space mode setting would
have needed superuser privileges for direct hardware access, so
kernel-based mode setting increases security because the user-space
graphics server does not need superuser privileges.