2 setting resolution and refresh rate – Tech Source Raptor Drivers for Linux User Manual

Page 43

Advertising
background image

Chapter 5 – Invoking The X Server

5-11

5.7.2 Setting Resolution and Refresh Rate


To select both a specific resolution and a specific refresh rate,
both the

Monitor

and the

Screen

sections of the

config

file

need to be modified. A list of supported resolutions along with
their corresponding timing numbers is available in the file

/etc/X11/tsi_modeline

. Extract the desired entry from

/etc/X11/tsi_modeline

and insert it into the

Monitor

section as shown.

Section "Monitor"
Identifier

"CustomMonitor"

VendorName

"Unknown"

ModelName "Unknown"

HorizSync 31 - 90

VertRefresh 55 – 120

ModeLine "VESA1152x900x85" 121 1152 1216 1344 1568 900

901 904 947 +HSYNC +VSYNC


In addition, the option “

Modes

” in the

Screen

section should be

changed to match the name of the resolution in the

ModeLine

field of the

Monitor

section as shown below. Please ensure

that in the

Monitor

section, the

HorzSync

and

VertRefresh

fields are set to values that are supported by the monitor and
correspond to the desired resolution. In this example the
resolution is set to

VESA1152x900x85

in 8-bit mode.

Section "Screen"
Identifier "Raptor1100T"
Device "Raptor1.1KT"
Monitor "CustomMonitor"
DefaultDepth 8
SubSection "Display"
Depth 8
Modes "VESA1152x900x85"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection

SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection

Advertising