First parameter (1) is constant value and should be typed directly as Modeline.
Second parameter (2) is text value for easiest Modeline identification. This parameter must be
between quotes. In this example we define resolution 1920x1080 then, for recognize this Modeline,
text string is “1920x1080”.
Next parameter (3), is Pixel Clock. As we can see on screen it is 148.38 (E). Because this value should
be integer, then type 148.
Fourth one (4) is expected horizontal resolution in pixels. Because in this example we want to set
1920x1080, then we type 1920 as (A).
Next one (5) is sum of expected horizontal resolution and front porch (A+B),
so (1920 + 88 = 2008).
Sixth parameter (6) is sum of expected horizontal resolution (A), front porch (B) and sync width (C)
then (1920 + 88 + 44 = 2052).
Next parameter (7) is horizontal pixel total. In this example it is 2200(D).
Parameters from 8 to 11 are responsible for vertical settings.
Parameter (8) is the required number of vertical lines (F), in this case - 1080.
Next (9) is the sum of the required vertical lines (F) and front porch (G), then (1080 + 4 = 1084).
Another one (10) is sum of required vertical lines (F), front porch (G) and sync width (H) then result is:
(1080 + 4 + 5 = 1089).
The last one numeric parameter (11) is total number of vertical lines (I) in this example, 1125.
Last two parameters in Modeline, string are horizontal (12) and vertical (13) sync polarity. This
parameters are used the remaining signal polarity combination to detect high resolution modes in the
same horizontal pixels value on multiscan monitors. Only four combinations are possible:
( [ +hsync / +vsync ], [ +hsync / -vsync ], [ -hsync / +vsync ], [ -hsync / -vsync ] ).
All parameters in Modeline string are space separated, different separation symbol is not
acceptable and take no effect with device.