Re: refresh rate on 9.0
From: Vwakes (vwakeNOSPAM100_at_softhome.net)
Date: Sat, 19 Jul 2003 06:51:48 GMT
On Sat, 19 Jul 2003 Andrew wrote:
>>>> Q : How to add the following modeline to XF86Config file?
>>>> # V-freq: 100.00 Hz // h-freq: 63.83 KHz
>>>> Modeline "800x600" 68.94 800 840 928 1080 600 600 602 638
Tip: From 'man XF86Config'
ModeLine "name" mode-description
This entry is a more compact version of the Mode entry, and it also
can be used to specify video modes for the monitor. is a single line
format for specifying video modes. In most cases this isn't
necessary because the built-in set of VESA standard modes will be
The mode-description is in four sections, the first three of which
are mandatory. The first is the dot (pixel) clock. This is a single
number specifying the pixel clock rate for the mode in MHz. The
second section is a list of four numbers specifying the horizontal
timings. These numbers are the hdisp, hsync- start, hsyncend, and
htotal values. The third section is a list of four numbers
specifying the vertical timings. These numbers are the vdisp,
vsyncstart, vsyncend, and vtotal values. The final section is a list
of flags specifying other characteris- tics of the mode. Interlace
indicates that the mode is inter- laced. DoubleScan indicates a mode
where each scanline is dou- bled. +HSync and -HSync can be used to
select the polarity of the HSync signal. +VSync and -VSync can be
used to select the polarity of the VSync signal. Composite can be
used to specify composite sync on hardware where this is supported.
Addition- ally, on some hardware, +CSync and -CSync may be used to
select the composite sync polarity. The HSkew and VScan options men-
tioned above in the Modes entry description can also be used here.
If you read the above and your modeline conforms the definition then you
add a line like
VendorName "Monitor Vendor"
HorizSync 50 - 80 <--- 1
VertRefresh 50 - 120 <--- 1
# V-freq: 100.00 Hz // h-freq: 63.83 KHz
Modeline "800x600" 68.94 800 840 928 1080 600 600 602 638
(The above is *sample* only, use at your own risk ;-)
1 --> Check your *monitor manual* for allowable range.
Tip: Google for 'XF86Config Modeline'
Start your X (startx) and see if it uses the right modeline by looking
Also, as specified in the man page, it maybe not necessary to input the
modeline explicitly. Later versions of XFree must have the ability to
find it out automatically, similiar to the way you found out from a
website. Use the above log file to find out whether it does or not.