Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

The Device section provides details about the video graphics chipset used
by the computer, as in this example:


Click here to view code image
Section "Device"
Identifier "Intel Corporation Mobile
945GM/GMS,\943/940GML Express
Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
EndSection


This example identifies an installed video card as using an integrated Intel
945 graphics chipset. The Driver entry tells the Xorg server to load the
intel kernel module. Different chipsets have different options. For example,
here’s the entry for a NeoMagic video chipset:


Click here to view code image
Section "Device"
Identifier "NeoMagic (laptop/notebook)"
Driver "neomagic"
VendorName "NeoMagic (laptop/notebook)"
BoardName "NeoMagic (laptop/notebook)"
Option "externDisp"
Option "internDisp"
EndSection


In this example, the Device section specifies the driver for the graphics card
(neomagic_drv.o) and enables two chipset options (externDisp and
internDisp) to allow display on the laptop’s LCD screen and an attached
monitor.


The Xorg server supports hundreds of different video chipsets. If you
configure X11 but subsequently change the installed video card, you need to
edit the existing Device section or generate a new xorg.conf file, using
one of the X configuration tools discussed in this chapter, to reflect the new
card’s capabilities. You can find details about options for some chipsets in a
companion man page. You should look at these sources for hints about
optimizations and troubleshooting.


The Screen Section

The Screen section ties together the information from the previous sections
(using the Screen0, Device, and Monitor Identifier entries). It
can also specify one or more color depths and resolutions for the session.
Here’s an example:

Free download pdf