setvideomode(1M) setvideomode(1M)
NAME
setvideomode, gsetvideo - set a high resolution video mode
SYNOPSIS
setvideomode [options]
gsetvideo
DESCRIPTION
This utility allows the user to change video configuration
parameters for graphics monitor video cards. This is an
interactive program that gets input from the user regarding
the vendor, resolution, number of colors, the amount of
memory, and the monitor size. After all the selections are
made, the user can test if the selection works: a uniform
pattern is drawn on the screen with the selected resolution
and depth displayed in the center of the screen. If the test
displays a good pattern, the user either can accept the
selected mode or can try another mode. If the user accepts the
selection, all the information is saved in the
/usr/X/defaults/Xwinconfig file.
gsetvideo is the graphical version of setvideomode. It is
invoked from the Video Display Setup icon in the UnixWare
Desktop. It provides on-line help to setup your video
display. After setting up the display and running the test,
you may save the chosen mode.
OPTIONS
setvideomode supports the following command line options. The
first three options are mutually exclusive, and can't be
coupled with any other option. However, in such a case,
setvideomode doesn't complain. But, it takes only that option
appearing first in the following list, irrespective of how the
options are given on the command line.
-default
restores stdvga, 640x480 16 color mode
-test test the current mode defined in
/usr/X/defaults/Xwinconfig file
-probe
detect the video chip and video memory (may not be
possible at times)
Copyright 1994 Novell, Inc. Page 1
setvideomode(1M) setvideomode(1M)
-noprobe
skip chip-detection (use this option if you experience
problems)
-vinfo file
Use file instead of the VendorInfo file. The -vinfo
option will allow the user to specify a particular
vendor data base file. As new graphics boards and
drivers are constantly being made available for
UnixWare, the list keeps growing. If you know which
chipset-based driver to use, you can specify that file.
For example,
setvideomode -vinfo s3
setvideomode -vinfo /myhomedir/s3.vinfo
The first example will use the
/usr/X/lib/display/s3.vinfo file. The 2nd example uses
a private copy of the vendor data base file. If the
-vinfo option is not used, the default vendor data file
/usr/X/lib/display/VendorInfo is used.
-testallmodes
cycles through all the supported modes. The
-testallmodes option is provided to ease the testing of
all the modes for a driver. With this option, after the
vendor selection is made, a test pattern is drawn for
each one of all the supported modes. Before you use
this option, make sure you have a monitor that can
support all the modes for the selected vendor. If not,
you might damage the monitor. Note that this is an
unsupported feature.
FILES
/usr/X/lib/display/VendorInfo
This file contains information about all the supported
vendors.
/usr/X/lib/display/xxx.dat
one of the many .dat files. Contains the mode data for
all the supported modes by a vendor in the corresponding
.dat file.
/usr/X/defaults/Xwinconfig
The configuration file generated by default.
Copyright 1994 Novell, Inc. Page 2
setvideomode(1M) setvideomode(1M)
/usr/X/lib/locale/C/help/setvideomode/svmode.hlp
This is the help file used by gsetvideo to provide
online help. In the absence of this file, no on-line
help is displayed.
NOTICES
Thanks to David E. Wexelblat and the XFree86 team for giving
us permission to use the chip detection code from SuperProbe
utility.
Copyright 1994 Novell, Inc. Page 3