[ltp] Caclulating xorg.conf modelines for weird resolutions

Dave Atkins linux-thinkpad@linux-thinkpad.org
Mon, 06 Feb 2006 09:54:14 -0600


I just saw this on the fedora-devel mailing list and thought this would
be a nice place to post it as well.

The question asked in fedora-devel was "Where do I find a ModeLine for
1400x900? Should I register it as a bug?"

One of the replies included a reference to "man gtf" (but not much else
really).

So, without further ado:
GTF(1)
            GTF(1)

NAME
       gtf - calculate VESA GTF mode lines

SYNOPSIS
       gtf     h-resolution    v-resolution    refresh
       [-v|--verbose] [-f|--fbmode] [-x|--xorgmode]

DESCRIPTION
       Gtf is  a  utility  for  calculating  VESA  GTF
       modes.  Given the desired horizontal and verti-
       cal resolutions and refresh rate (in  Hz),  the
       parameters  for  a  matching  VESA GTF mode are
       printed out.  Two output formats are supported:
       mode  lines suitable for the Xorg xorg.conf(5x)
       file, and  mode  parameters  suitable  for  the
       Linux fbset(8) utility.

OPTIONS
       -v|--verbose
               Enable  verbose printouts  This shows a
               trace for each step of the computation.

       -x|--xorgmode
               Print the mode parameters as Xorg-style
               mode lines.  This is the  default  for-
               mat.

       -f|--fbset
               Print  the  mode parameters in a format
               suitable for fbset(8).

SEE ALSO
       xorg.conf(5x)

AUTHOR
       Andy Ritger.

       This program is based on the Generalized Timing
       Formula  (GTF(TM))  Standard Version: 1.0, Rev-
       sion: 1.0.  The GTF  Excel(TM)  spreadsheet,  a
       sample  (and  the definitive) implementation of
       the  GTF  Timing  Standard  is   available   at
       <ftp://ftp.vesa.org/pub/GTF/VTF_V1R1.xls>.

X.Org                            Version 6.8.2
            GTF(1)