old-www/HOWTO/XFree86-Video-Timings-HOWTO/specs.html

406 lines
10 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Interpreting the Basic Specifications</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="X.org/XFree86 Video Timings HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Basic Things to Know about your Display and Adapter"
HREF="basic.html"><LINK
REL="NEXT"
TITLE="Tradeoffs in Configuring your System"
HREF="tradeoffs.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>X.org/XFree86 Video Timings HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="basic.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="tradeoffs.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="specs"
></A
>7. Interpreting the Basic Specifications</H1
><P
>This section explains what the specifications above mean, and some
other things you'll need to know. First, some definitions. Next to
each in parentheses is the variable name we'll use for it when doing
calculations</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
>horizontal sync frequency (HSF)</DT
><DD
><P
>Horizontal scans per second (see above).</P
></DD
><DT
>vertical sync frequency (VSF)</DT
><DD
><P
>Vertical scans per second (see above). Mainly
important as the upper limit on your refresh rate.</P
></DD
><DT
>dot clock (DCF)</DT
><DD
><P
>More formally, `driving clock frequency'; The
frequency of the crystal or VCO on your adaptor --- the maximum
dots-per-second it can emit. </P
></DD
><DT
>video bandwidth (VB)</DT
><DD
><P
>&#13; The highest frequency you can feed into your monitor's video
input and still expect to see anything discernible. If your adaptor
produces an alternating on/off pattern (as in an interlaced
mode), its lowest frequency is half the DCF, so in theory
bandwidth starts making sense at DCF/2. For tolerately crisp
display of fine details in the video image, however,
you don't want it much below your highest DCF, and preferably
higher.
</P
></DD
><DT
>frame length (HFL, VFL)</DT
><DD
><P
>&#13; Horizontal frame length (HFL) is the number of dot-clock ticks
needed for your monitor's electron gun to scan one horizontal line,
<EM
>including the inactive left and right borders</EM
>. Vertical
frame length (VFL) is the number of scan lines in the
<EM
>entire</EM
> image, including the inactive top and bottom
borders.
</P
></DD
><DT
>screen refresh rate (RR)</DT
><DD
><P
>&#13; The number of times per second your screen is repainted (this is
also called "frame rate"). Higher frequencies are better, as they
reduce flicker. 60Hz is good, VESA-standard 72Hz is better.
Compute it as</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; RR = DCF / (HFL * VFL)
</PRE
></FONT
></TD
></TR
></TABLE
><P
>Note that the product in the denominator is <EM
>not</EM
> the same
as the monitor's visible resolution, but typically somewhat larger.
We'll get to the details of this below.</P
></DD
></DL
></DIV
><P
>The rates for which interlaced modes are usually specified (like 87Hz
interlaced) are actually the half-frame rates: an entire screen seems
to have about that flicker frequency for typical displays, but every
single line is refreshed only half as often.</P
><P
>For calculation purposes we reckon an interlaced display at its
full-frame (refresh) rate, i.e. 43.5Hz. The quality of an interlaced
mode is better than that of a non-interlaced mode with the same
full-frame rate, but definitely worse than the non-interlaced one
corresponding to the half-frame rate.</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN216"
></A
>7.1. About Bandwidth</H2
><P
>Monitor makers like to advertise high bandwidth because it
constrains the sharpness of intensity and color changes on the screen.
A high bandwidth means smaller visible details.</P
><P
>Your monitor uses electronic signals to present an image to your
eyes. Such signals always come in in wave form once they are
converted into analog form from digitized form. They can be
considered as combinations of many simpler wave forms each one of
which has a fixed frequency, many of them are in the Mhz range, eg,
20Mhz, 40Mhz, or even 70Mhz. Your monitor video bandwidth is,
effectively, the highest-frequency analog signal it can handle without
distortion.</P
><P
>For our purposes, video bandwidth is mainly important as an approximate
cutoff point for the highest dot clock you can use.</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN223"
></A
>7.2. Sync Frequencies and the Refresh Rate:</H2
><P
>Each horizontal scan line on the display is just the visible
portion of a frame-length scan. At any instant there is actually only
one dot active on the screen, but with a fast enough refresh rate your
eye's persistence of vision enables you to "see" the whole
image.</P
><P
>Here are some pictures to help:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; _______________________
| | The horizontal sync frequency
|-&#62;-&#62;-&#62;-&#62;-&#62;-&#62;-&#62;-&#62;-&#62;-&#62;-&#62; | is the number of times per
| )| second that the monitor's
|&#60;-----&#60;-----&#60;-----&#60;--- | electron beam can trace
| | a pattern like this
| |
| |
| |
|_______________________|
_______________________
| ^ | The vertical sync frequency
| ^ | | is the number of times per
| | v | second that the monitor's
| ^ | | electron beam can trace
| | | | a pattern like this
| ^ | |
| | v |
| ^ | |
|_______|_v_____________|
</PRE
></FONT
></TD
></TR
></TABLE
><P
>Remember that the actual raster scan is a very tight zigzag
pattern; that is, the beam moves left-right and at the same time
up-down.</P
><P
>Now we can see how the dot clock and frame size relates to
refresh rate. By definition, one hertz (hz) is one cycle per second.
So, if your horizontal frame length is HFL and your vertical frame
length is VFL, then to cover the entire screen takes (HFL * VFL)
ticks. Since your card emits DCF ticks per second by definition, then
obviously your monitor's electron gun(s) can sweep the screen from
left to right and back and from bottom to top and back DCF / (HFL *
VFL) times/sec. This is your screen's refresh rate, because it's how
many times your screen can be updated (thus
<EM
>refreshed</EM
>) per second! </P
><P
>You need to understand this concept to design a configuration
which trades off resolution against flicker in whatever way suits your
needs.</P
><P
>For those of you who handle visuals better than text, here is one:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; RR VB
| min HSF max HSF |
| | R1 R2 | |
max VSF -+----|------------/----------/---|------+----- max VSF
| |:::::::::::/::::::::::/:::::\ |
| \::::::::::/::::::::::/:::::::\ |
| |::::::::/::::::::::/:::::::::| |
| |:::::::/::::::::::/::::::::::\ |
| \::::::/::::::::::/::::::::::::\ |
| \::::/::::::::::/::::::::::::::| |
| |::/::::::::::/:::::::::::::::| |
| \/::::::::::/:::::::::::::::::\|
| /\:::::::::/:::::::::::::::::::|
| / \:::::::/::::::::::::::::::::|\
| / |:::::/:::::::::::::::::::::| |
| / \::::/::::::::::::::::::::::| \
min VSF -+----/-------\--/-----------------------|--\--- min VSF
| / \/ | \
+--/----------/\------------------------+----\- DCF
R1 R2 \ | \
min HSF | max HSF
VB
</PRE
></FONT
></TD
></TR
></TABLE
><P
>This is a generic monitor mode diagram. The x axis of the diagram
shows the clock rate (DCF), the y axis represents the refresh rate
(RR). The filled region of the diagram describes the monitor's
capabilities: every point within this region is a possible video
mode.</P
><P
>The lines labeled `R1' and `R2' represent a fixed resolutions
(such as 640x480); they are meant to illustrate how one resolution can
be realized by many different combinations of dot clock and refresh
rate. The R2 line would represent a higher resolution than R1.</P
><P
>The top and bottom boundaries of the permitted region are simply
horizontal lines representing the limiting values for the vertical sync
frequency. The video bandwidth is an upper limit to the clock rate and
hence is represented by a vertical line bounding the capability region on
the right.</P
><P
>Under <A
HREF="cplot.html"
>Plotting Monitor
Capabilities</A
> you'll find a program that will help you plot a
diagram like this (but much nicer, with X graphics) for your
individual monitor. That section also discusses the interesting part;
the derivation of the boundaries resulting from the limits on the
horizontal sync frequency.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="basic.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="tradeoffs.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Basic Things to Know about your Display and Adapter</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Tradeoffs in Configuring your System</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>