summaryrefslogtreecommitdiff
path: root/sys/man/8
diff options
context:
space:
mode:
authorftrvxmtrx <ftrvxmtrx@gmail.com>2015-01-01 16:19:24 +0100
committerftrvxmtrx <ftrvxmtrx@gmail.com>2015-01-01 16:19:24 +0100
commitf1b1e0d637e5a280aebbdf01b905b90320ad7f43 (patch)
tree31a2235912bc961493a20753e9b8dd873eb8023e /sys/man/8
parent9e45c8bc9b652f8675d31f8014d33c5b430c765b (diff)
aux/vga: display switching for Intel adapters
Magic was discovered by abusing INT 10 on several machines while switching cables back and forth and watching the end result.
Diffstat (limited to 'sys/man/8')
-rw-r--r--sys/man/8/vga26
1 files changed, 24 insertions, 2 deletions
diff --git a/sys/man/8/vga b/sys/man/8/vga
index ca2ad6da4..ff62768bd 100644
--- a/sys/man/8/vga
+++ b/sys/man/8/vga
@@ -99,7 +99,7 @@ as the VGA database rather than
.PP
.I Mode
is of the form
-.IB X x Y x Z ,S
+.IB X x Y x Z[,S][,#N]
, where
.IR X ,
.IR Y ,
@@ -112,6 +112,10 @@ is scaling mode, either
or
.IR scaleaspect ;
not specifying it disables scaling altogether.
+.I #N
+is used to switch to a specific display using its index
+.IR N .
+.PP
The mode must appear in
.B /lib/vgadb
as a value for one of the monitor entries.
@@ -150,7 +154,7 @@ There are no entries for the
.B vesa
monitor in
.IR vgadb .
-For a list of available VESA modes, use
+For a list of available VESA modes and connected displays, use
.IP
.EX
aux/vga -m vesa -p
@@ -172,6 +176,20 @@ Change the display resolution:
aux/vga -l 1600x1200x8
.EE
.PP
+Show connected and active displays:
+.IP
+.EX
+aux/vga -m vesa -p | grep dsp
+.EE
+.PP
+Switch to display
+.I 4
+and load a specific mode:
+.IP
+.EX
+aux/vga -m vesa -l '1920x1080x16,#4'
+.EE
+.PP
Print the current VGA controller registers.
It is usually best to redirect the output of a
.B -p
@@ -219,7 +237,11 @@ new VGA controller or monitor setting.
It is useful in such cases to have
the above command for setting the controller to a known state
at your fingertips.
+.PP
Scaling modes currently work with Intel and NVIDIA video
adapters only, using VESA. Intel doesn't support
.I scaleaspect
mode.
+.PP
+Display switching currently works with Intel video adapters
+only, using VESA.