]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/8/vga
/sys/man/*/*: fix perms (sorry)
[plan9front.git] / sys / man / 8 / vga
index 73cc35e73fdefd64a9342299e995637ee4037dd3..ff62768bdcd38cf2592cbcb15a5e6652295308ad 100644 (file)
@@ -80,7 +80,6 @@ value.
 is usually set by including it in the
 .B plan9.ini
 file read by the PC boot program.
-.IR 9boot(8).
 .TP
 .B -p
 print the current or expected register values at appropriate points depending on
@@ -100,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.
@@ -145,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
@@ -167,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
@@ -204,7 +227,6 @@ VGA configuration file.
 .SH SEE ALSO
 .IR vga (3),
 .IR vgadb (6),
-.IR 9boot (8)
 .SH BUGS
 .B Aux/vga
 makes every effort possible to verify that the mode it is about
@@ -215,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.