Re: refresh rate on 9.0

From: Vwakes (vwakeNOSPAM100_at_softhome.net)
Date: 07/19/03


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'

+---------------
MONITOR SECTION

<snip>

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
   sufficient.

   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

+------
Section "Monitor"
  Identifier "Monitor0"
  VendorName "Monitor Vendor"
  ModelName "FPD1520"
  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
  Option "dpms"

EndSection
+------

(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
into /var/log/XFree86.0.log

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.

GL
V.



Relevant Pages

  • Re: odd xorg-video-intel problem
    ... turn on a debug mode in the modesetting code by specifying an option ... I have a 965 connected to an widescreen 1440x900 LCD monitor via a VGA ... in a control panel overrides modeline setting, ... of all available modes as determined by xorg. ...
    (Debian-User)
  • Re: My lenny picks the wrong resolution whereas squeeze is right
    ... specifying the virtual desktop size, has always been sufficient for me. ... obtained from the monitor itself, ... Identifier "Generic Keyboard" ... It is unable to determine the amount of video RAM present. ...
    (Debian-User)
  • Re: 1400x1050 on Intel i852GM?
    ... > | EndSection ... > Here's the monitor section from XFree86.0.log. ... I see that Slackware's default config file has ... So I tried giving in an explicit Modeline for my monitor ...
    (comp.os.linux.x)
  • Re: How to play with modelines for monitor display?
    ... >monitor for a desktop system and got those values from Compaq's web site. ... It was necessary to specify both HorizSync and VertRefresh to ... >switching from Solaris to Linux it is necessary to specify a ModeLine in ... but we are not discussing Solaris Xsun configuration nor ...
    (comp.os.linux.misc)
  • Re: Monitor 1680x1050 und ATI/AMD Grafikkarte
    ... Jjjaaaa - da ist eine Modeline, die von einem ganz anderen Synchron-Timing ... typisch - CD für Monitor. ... Zusammengesetzte Synchr. ... Output VGA_1 using monitor section Configured Monitor ...
    (de.comp.os.unix.x11)