Version 3 (modified by ajaworski, 13 years ago) (diff) |
---|
Xorg Server Setup
Xorg
Xorg is a server for graphical user interface used in most Linux distributions. Usually, its configuration can be tough when you have more than 1 monitor. Each tile computer runs 18 monitors, so the configuration is really extreme. To configure the Xorg server, /etc/X11/xorg.conf file is used. This approach is now legacy, but is still supported and most people still use it.
xorg.conf sections
xorg.conf file consist os four main section types:
- Monitor,
- Device,
- Screen,
- ServerLayout.
Let's take a look at what each section is responsible for. Tile computers run on ATI cards and some of the settings mentioned below can be platform-specific.
Monitor
This section describes single monitor connected to a computer. The most important parts are horizontal and vertical refresh rates (HorizSync and VertRefresh) - they determine the resolutions a monitor can work with an should not be set outside the monitor capabilities. TODO dokończyć
Device
Device section describes single GPU in a computer. Because there are multiple cards in one computer, each needs to have its own Device section. To determine which section is connected to which card, GPU's physical address is used (which can be read using lspci command - usually lower address number is connected to PCI port located higher on motherboard). Each device needs to know what monitors are connected to it and on which port. Therefore, the use of DFP-[1-6] parameters is needed. DFP-[1-6] are ports on GPU. In ATI cards they are numbered starting from the one located furthest from the mainboard. In ATI cards with mixed miniDP and DVI ports, DFP-[1-4] are miniDP and DFP-[5-6] are DVI ports, also starting from the furthest from the mainboard.