Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 284 #310
i
i
i
i
i
i
i
i
Driver "mga"
Identifier "Device[0]"
VendorName "Matrox"
Option "sw_cursor"
EndSection
If you use SaX2 for configuring, the device section should look something
like the above example. Both the Driver and BusID are dependent on the
hardware installed in your computer and are detected by SaX2 automat-
ically. The BusID defines the PCI or AGP slot in which the graphics card
is installed. This matches the ID displayed by the command lspci. The X
server needs details in decimal form, but lspci displays these in hexadeci-
mal form.
Via the Driver parameter, specify the driver to use for this graphics card.
If the card is a Matrox Millennium, the driver module is called mga. The X
server then searches through the ModulePath defined in the Files sec-
tion in the drivers subdirectory. In a standard installation, this is the di-
rectory /usr/X11R6/lib/modules/drivers. For this purpose, simply
_drv.o is added to the name, so, in the case of the mga driver, the driver
file mga_drv.o is loaded.
The behavior of the X server or of the driver can also be influenced through
additional options. An example of this is the option sw_cursor, which
is set in the device section. This deactivates the hardware mouse cursor
and depicts the mouse cursor using software. Depending on the driver
module, there are various options available, which can be found in the de-
scription files of the driver modules in the directory /usr/X11R6/lib/
X11/doc. Generally valid options can also be found in the manual pages
(man XF86Config and man XFree86).
12.1.3 Monitor and Modes Section
Like the Device sections, the Monitor and Modes sections describe one
monitor each. The configuration file /etc/X11/XF86Config can contain
as many Monitor sections as desired. The server layout section specifies
which Monitor section is relevant.
Monitor definitions should only be set by experienced users. The mode-
lines constitute an important part of the Monitor sections. Modelines set
horizontal and vertical timings for the respective resolution. The monitor
properties, especially the allowed frequencies, are stored in the Monitor
section.
284 12.1. Optimizing the X Configuration