---
name: "gtf"
section: "1x"
platform: "linux"
package: "xserver-xfree86"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/gtf/1x"
---

# gtf(1x)

calculate VESA GTF mode lines

## NAME

gtf - calculate VESA GTF mode lines

## SYNOPSIS

**gtf** *h-resolution* *v-resolution* *refresh* \[**-v**\|**--verbose**\] \[**-f**\|**--fbmode**\] \[**-x**\|**--xf86mode**\]

## DESCRIPTION

*Gtf* is a utility for calculating VESA GTF modes.  Given the desired horizontal and vertical 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 XFree86 **[XF86Config-4(5x)](/XF86Config-4/5x.md)** file, and mode parameters suitable for the Linux **[fbset(8)](/fbset/8.md)** utility.

## OPTIONS

- **-v**\|**--verbose**

  Enable verbose printouts  This shows a trace for each step of the computation.

- **-x**\|**--xf86mode**

  Print the mode parameters as XFree86-style mode lines.  This is the default format.

- **-f**\|**--fbset**

  Print the mode parameters in a format suitable for **[fbset(8)](/fbset/8.md)**.

## SEE ALSO

[XF86Config-4(5x)](/XF86Config-4/5x.md)

## AUTHOR

Andy Ritger.

This program is based on the Generalized Timing Formula (GTF(TM)) Standard Version: 1.0, Revsion: 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\>.
