A list of Common
Video Mode-Lines.
Here is a list of commonly used modelines.
If you need a modeline for your X-configuration, try one of these.
WARNING: Before using any of the following modelines, check your monitor's specifications. Do not use a refresh rate, or an hsync value, higher than those specified. Be careful, running a monitor at a higher speed than its designed for, can easily damage it.
If you wish, you can double check the validity of the modelines online, at:
http://www.dkfz-heidelberg.de/spec/linux/modeline/
So, lets look at an example of a modeline. The commented line (the line beginning with a #) is just a label describing the modeline. The line beginning with ModeLine is the real thing.
# 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
We split up the modeline to more easily describe the pieces. This is how I understand it:
ModeLine Indicates a modeline in your xorg.conf file.
"1280x1024" A short label naming the mode (used in the screen section of xorg.conf).
Pixel-Clock (Dot-Clock) frequency in MHz.
108.0 The crystal on your card will be run at 108MHz = 108,000,000 pixels/second.
Horizontal Timings (one pixel corresponds to 1/108,000,000 seconds).
1280 Time to scan across visible screen = 1280 pixels (horizontal resolution).
1328 Time delay of 1328 - 1280 = 48 pixels.
1440 Time taken for beam to return to left of screen = 1440 - 1328 = 112 pixels.
1688 Time delay of 1688 - 1440 = 248 pixels.
Vertical Timings (one horizontal scan corresponds to 1,688/108,000,000 seconds).
1024 Time to scan entire visible screen = 1024 horizontal scans (vertical resolution).
1025 Time delay of 1025 - 1024 = 1 horizontal scan below the visible screen.
1028 Time for the beam to return to the top = 1028 - 1025 = 3 horizontal scans.
1066 Time delay of 1066 - 1028 = 38 horizontal scans.
Various flags, e.g., Interlace, DoubleScan, Composite, +HSync, -VSync, +CSync, etc.
+hsync Indicates the polarity of the hsync signal.
+vsync Indicates the polarity of the vsync signal.
The Horizontal Timings are measured in pixels:
In the example, one pixel corresponds to 1/108,000,000 = 0.00000000926 seconds.
The Vertical Timings are measured in horizontal scans:
In the example, one horizontal scan corresponds to 1,688/108,000,000 = 0.0000156 seconds.
During the various time delays, no signal is displayed. Hence, the signal is free to be used to instruct the beam to return to the left, or the top, of the screen (the horizontal and vertical sync pulses) or to encode other information, such as, the color burst signal, which provides the phase and amplitude reference for subsequent color information.
The modeline itself, is an abstraction of the electronic signals necessary to display content on a CRT (Cathode Ray Tube) and the various delays, were designed to give the electronics time to do its thing. For example, the magnetic field strength needed to change the direction of the electron beam, is quite high, and some delay is necessary for the field (and thus the electron beam) to stabilize.
By adjusting the time delays, the visible screen can be moved up and down, or left and right.
In linux terminology, a modeline is:
ModeLine "Name" DotClock hdisp hsyncstart hsyncend htotal vdisp vsyncstart vsyncend vtotal flags
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
The Vertical Frequency = DotClock/(htotal x vtotal) = 108,000,000/(1688 x 1066) = 60Hz
The vertical frequency is often called the Refresh Rate.
The Horizontal Frequency = DotClock/htotal = 108,000,000/1688 = 64.0kHz
The horizontal frequency is often called the HSync Rate.
For more authoritative information see: XFree86 Video Timings HOWTO
The VESA modelines are from a list in the Linux kernel source. The unsourced entries were acquired from a leading graphics company.
# 640x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
# 720x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
# 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
# 640x480 @ 100Hz hsync: 50.9kHz
Modeline "640x480" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# 640x480 @ 72Hz (VESA) hsync: 37.9kHz
ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
# 640x480 @ 75Hz (VESA) hsync: 37.5kHz
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
# 640x480 @ 85Hz (VESA) hsync: 43.3kHz
ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
# 768x576 @ 60 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
ModeLine "768x576" 34.96 768 792 872 976 576 577 580 597 -hsync +vsync
# 768x576 @ 72 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
ModeLine "768x576" 42.93 768 800 880 992 576 577 580 601 -hsync +vsync
# 768x576 @ 75 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
ModeLine "768x576" 45.51 768 808 888 1008 576 577 580 602 -hsync +vsync
# 768x576 @ 85 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
ModeLine "768x576" 51.84 768 808 888 1008 576 577 580 605 -hsync +vsync
# 768x576 @ 100 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
ModeLine "768x576" 62.57 768 816 896 1024 576 577 580 611 -hsync +vsync
# 800x600 @ 56Hz (VESA) hsync: 35.2kHz
ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
# 800x600 @ 60Hz (VESA) hsync: 37.9kHz
ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
# 800x600 @ 85Hz (VESA) hsync: 53.7kHz
ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
# 800x600 @ 100Hz hsync: 63.6kHz
Modeline "800x600" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
Video Mode-Lines.
Here is a list of commonly used modelines.
If you need a modeline for your X-configuration, try one of these.
WARNING: Before using any of the following modelines, check your monitor's specifications. Do not use a refresh rate, or an hsync value, higher than those specified. Be careful, running a monitor at a higher speed than its designed for, can easily damage it.
If you wish, you can double check the validity of the modelines online, at:
http://www.dkfz-heidelberg.de/spec/linux/modeline/
So, lets look at an example of a modeline. The commented line (the line beginning with a #) is just a label describing the modeline. The line beginning with ModeLine is the real thing.
# 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
We split up the modeline to more easily describe the pieces. This is how I understand it:
ModeLine Indicates a modeline in your xorg.conf file.
"1280x1024" A short label naming the mode (used in the screen section of xorg.conf).
Pixel-Clock (Dot-Clock) frequency in MHz.
108.0 The crystal on your card will be run at 108MHz = 108,000,000 pixels/second.
Horizontal Timings (one pixel corresponds to 1/108,000,000 seconds).
1280 Time to scan across visible screen = 1280 pixels (horizontal resolution).
1328 Time delay of 1328 - 1280 = 48 pixels.
1440 Time taken for beam to return to left of screen = 1440 - 1328 = 112 pixels.
1688 Time delay of 1688 - 1440 = 248 pixels.
Vertical Timings (one horizontal scan corresponds to 1,688/108,000,000 seconds).
1024 Time to scan entire visible screen = 1024 horizontal scans (vertical resolution).
1025 Time delay of 1025 - 1024 = 1 horizontal scan below the visible screen.
1028 Time for the beam to return to the top = 1028 - 1025 = 3 horizontal scans.
1066 Time delay of 1066 - 1028 = 38 horizontal scans.
Various flags, e.g., Interlace, DoubleScan, Composite, +HSync, -VSync, +CSync, etc.
+hsync Indicates the polarity of the hsync signal.
+vsync Indicates the polarity of the vsync signal.
The Horizontal Timings are measured in pixels:
In the example, one pixel corresponds to 1/108,000,000 = 0.00000000926 seconds.
The Vertical Timings are measured in horizontal scans:
In the example, one horizontal scan corresponds to 1,688/108,000,000 = 0.0000156 seconds.
During the various time delays, no signal is displayed. Hence, the signal is free to be used to instruct the beam to return to the left, or the top, of the screen (the horizontal and vertical sync pulses) or to encode other information, such as, the color burst signal, which provides the phase and amplitude reference for subsequent color information.
The modeline itself, is an abstraction of the electronic signals necessary to display content on a CRT (Cathode Ray Tube) and the various delays, were designed to give the electronics time to do its thing. For example, the magnetic field strength needed to change the direction of the electron beam, is quite high, and some delay is necessary for the field (and thus the electron beam) to stabilize.
By adjusting the time delays, the visible screen can be moved up and down, or left and right.
In linux terminology, a modeline is:
ModeLine "Name" DotClock hdisp hsyncstart hsyncend htotal vdisp vsyncstart vsyncend vtotal flags
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
The Vertical Frequency = DotClock/(htotal x vtotal) = 108,000,000/(1688 x 1066) = 60Hz
The vertical frequency is often called the Refresh Rate.
The Horizontal Frequency = DotClock/htotal = 108,000,000/1688 = 64.0kHz
The horizontal frequency is often called the HSync Rate.
For more authoritative information see: XFree86 Video Timings HOWTO
The VESA modelines are from a list in the Linux kernel source. The unsourced entries were acquired from a leading graphics company.
# 640x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
# 720x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
# 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
# 640x480 @ 100Hz hsync: 50.9kHz
Modeline "640x480" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# 640x480 @ 72Hz (VESA) hsync: 37.9kHz
ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
# 640x480 @ 75Hz (VESA) hsync: 37.5kHz
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
# 640x480 @ 85Hz (VESA) hsync: 43.3kHz
ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
# 768x576 @ 60 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
ModeLine "768x576" 34.96 768 792 872 976 576 577 580 597 -hsync +vsync
# 768x576 @ 72 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
ModeLine "768x576" 42.93 768 800 880 992 576 577 580 601 -hsync +vsync
# 768x576 @ 75 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
ModeLine "768x576" 45.51 768 808 888 1008 576 577 580 602 -hsync +vsync
# 768x576 @ 85 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
ModeLine "768x576" 51.84 768 808 888 1008 576 577 580 605 -hsync +vsync
# 768x576 @ 100 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
ModeLine "768x576" 62.57 768 816 896 1024 576 577 580 611 -hsync +vsync
# 800x600 @ 56Hz (VESA) hsync: 35.2kHz
ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
# 800x600 @ 60Hz (VESA) hsync: 37.9kHz
ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
# 800x600 @ 85Hz (VESA) hsync: 53.7kHz
ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
# 800x600 @ 100Hz hsync: 63.6kHz
Modeline "800x600" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
Comment