After not thinking about it for a shamefully long time, I would like to submit a new version of the patch that only has a rather reasonable number of likely-looking modelines, as opposed to the several hundred in the prior version.
At the very least, this is a much saner starting point and if people want other resolutions in the future they can come up with them as needed. -- Jonathan
diff -Nru3 ./xc/programs/Xserver/hw/xfree86/common/Imakefile ../build-tree.new/xc/programs/Xserver/hw/xfree86/common/Imakefile --- ./xc/programs/Xserver/hw/xfree86/common/Imakefile 2004-10-23 14:04:59.000000000 -0400 +++ ../build-tree.new/xc/programs/Xserver/hw/xfree86/common/Imakefile 2004-10-23 14:04:09.000000000 -0400 @@ -234,7 +234,7 @@ #endif #if HasPerl -MODEDEFSRCS = ../etc/vesamodes ../etc/extramodes +MODEDEFSRCS = ../etc/vesamodes ../etc/extramodes ../etc/modes.16x9 ../etc/modes.16x10 MODEDEFS = modedefs diff -Nru3 ./xc/programs/Xserver/hw/xfree86/etc/modes.16x10 ../build-tree.new/xc/programs/Xserver/hw/xfree86/etc/modes.16x10 --- ./xc/programs/Xserver/hw/xfree86/etc/modes.16x10 1969-12-31 19:00:00.000000000 -0500 +++ ../build-tree.new/xc/programs/Xserver/hw/xfree86/etc/modes.16x10 2004-10-23 14:03:36.000000000 -0400 @@ -0,0 +1,17 @@ +# 16x10 modes. +# Computed by http://koala.ilog.fr/cgi-bin/nph-colas-modelines +# parameters given: (some came from the site's defaults) +# bandwidth: 20 - 200 MHz +# vert sync: <= 85 Hz +# horiz sync: 30 - 100 kHz + +# 640x400 @ 85Hz +ModeLine "640x400" 33.51 640 672 832 896 400 402 414 440 +hsync +vsync +# 800x500 @ 85Hz +ModeLine "800x500" 51.40 800 840 1040 1120 500 502 514 540 +hsync +vsync +# 1024x640 @ 85Hz +ModeLine "1024x640" 81.38 1024 1072 1312 1408 640 642 654 680 +hsync +vsync +# 1280x800 @ 85Hz +ModeLine "1280x800" 123.37 1280 1336 1616 1728 800 802 814 840 +hsync +vsync +# 1680x1050 @ 81Hz +ModeLine "1680x1050" 199.18 1680 1752 2112 2256 1050 1052 1064 1090 +hsync +vsync diff -Nru3 ./xc/programs/Xserver/hw/xfree86/etc/modes.16x9 ../build-tree.new/xc/programs/Xserver/hw/xfree86/etc/modes.16x9 --- ./xc/programs/Xserver/hw/xfree86/etc/modes.16x9 1969-12-31 19:00:00.000000000 -0500 +++ ../build-tree.new/xc/programs/Xserver/hw/xfree86/etc/modes.16x9 2004-10-23 14:03:36.000000000 -0400 @@ -0,0 +1,17 @@ +# 16x9 modes. +# Computed by http://koala.ilog.fr/cgi-bin/nph-colas-modelines +# parameters given: (some came from the site's defaults) +# bandwidth: 20 - 200 MHz +# vert sync: <= 85 Hz +# horiz sync: 30 - 100 kHz + +# 640x360 @ 85Hz +ModeLine "640x360" 30.46 640 672 832 896 360 362 374 400 +hsync +vsync +# 800x450 @ 85Hz +ModeLine "800x450" 46.64 800 840 1040 1120 450 452 464 490 +hsync +vsync +# 1024x576 @ 85Hz +ModeLine "1024x576" 73.72 1024 1072 1312 1408 576 578 590 616 +hsync +vsync +# 1280x720 @ 85Hz +ModeLine "1280x720" 111.62 1280 1336 1616 1728 720 722 734 760 +hsync +vsync +# 1600x900 @ 85Hz +ModeLine "1600x900" 173.86 1600 1672 2032 2176 900 902 914 940 +hsync +vsync