Commonly used sections in a typical xorg.conf file V
The next section is the Modes section. The configuration file may have
one or more of these sections. They define video modes the X server may use.
Here is a sample:
Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806
-hsync –vsync
Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
EndSection
The syntax for the Modes section is as follows:
Section "Modes"
Identifier "name"
Modeline parameters
EndSection
The Modeline directive is used to define video modes for the monitor.
It is composed of four components:
• Pixel clock
This first component specifies the pixel clock rate in MHz. In the first
Modeline in the preceding example, this is 65.0.
• Horizontal timing
This second component is a list of four numbers that specify the
horizontal timing: hdisp, hsyncstart, hsyncend, and htotal. In the
first Modeline in the example, these values are 1024, 1048, 1184,
and 1344, respectively.
• Vertical timing
The third component is a list of four numbers that specify the vertical
timing: vdisp, vsyncstart, vsyncend, and vtotal. In the first Modeline
in the example, these values are 768, 771, 777, and 806, respectively.
• Flags
The fourth component is a list of flags that configure the video mode.
In the first Modeline in the example, the –hsync and –vsync flags are listed.
These are used to set the polarity of the hsync and vsync signals.
LX0-104 Exam Objectives (H)
No comments:
Post a Comment