]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/8/vga
merge
[plan9front.git] / sys / man / 8 / vga
index 686c142e581cb8fb2d42a4dae8814053a6375600..ff62768bdcd38cf2592cbcb15a5e6652295308ad 100644 (file)
@@ -99,13 +99,23 @@ as the VGA database rather than
 .PP
 .I Mode
 is of the form
-.IB X x Y x Z
+.IB X x Y x Z[,S][,#N]
 , where
 .IR X ,
 .IR Y ,
 and
 .I Z
 are numbers specifying the display height, width, and depth respectively.
+.I S
+is scaling mode, either
+.I scalefull
+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.
@@ -144,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
@@ -166,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
@@ -213,3 +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.