fwiw, I had to jump through some hoops to get the resolution I wanted that was in conflict with edid and declared invalid by Xorg.
I found cvt to work better and needed the -r switch; see man cvt
Code:
$ cvt -r 1280 800
# 1280x800 59.91 Hz (CVT 1.02MA-R) hsync: 49.31 kHz; pclk: 71.00 MHz
Modeline "1280x800R" 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync
I only really use/need the one resolution but there are others in my xorg.conf:
Code:
Section "Monitor"
Identifier "monitor1"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
# 1280x800 59.91 Hz (CVT 1.02MA-R) hsync: 49.31 kHz; pclk: 71.00 MHz
Modeline "1280x800R" 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_120" 156.44 1152 1240 1368 1584 768 769 772 823 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_100" 127.64 1152 1232 1360 1568 768 769 772 814 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_85" 106.46 1152 1224 1352 1552 768 769 772 807 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_75" 92.39 1152 1224 1344 1536 768 769 772 802 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_60" 71.74 1152 1208 1328 1504 768 769 772 795 -HSync +Vsync
# 1152x768 59.82 Hz (CVT) hsync: 47.26 kHz; pclk: 62.00 MHz
Modeline "1152x768R" 62.00 1152 1200 1232 1312 768 771 781 790 +hsync -vsync
# 1152x864 74.82 Hz (CVT 1.00M3) hsync: 67.71 kHz; pclk: 104.00 MHz
#Modeline "1152x864_75.00" 104.00 1152 1224 1344 1536 864 867 871 905 -hsync +vsync
# 1152x768 @ 57.00 Hz (GTF) hsync: 45.26 kHz; pclk: 68.07 MHz
Modeline "1152x768_57.00" 68.07 1152 1208 1328 1504 768 769 772 794 -HSync +Vsync
# ((WW) NVIDIA(0): Option "PreferredMode" is not used) Option "PreferredMode" "1152x864_75.00"
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_50" 58.85 1152 1200 1320 1488 768 769 772 791 -HSync +Vsync
# 1152x720 59.92 Hz (CVT 0.83MA-R) hsync: 44.40 kHz; pclk: 58.25 MHz
Modeline "1152x720R" 58.25 1152 1200 1232 1312 720 723 729 741 +hsync -vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_120" 59.33 720 760 840 960 480 481 484 515 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_100" 48.05 720 760 832 944 480 481 484 509 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_85" 39.83 720 752 824 928 480 481 484 505 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_75" 34.94 720 752 824 928 480 481 484 502 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_60" 26.72 720 736 808 896 480 481 484 497 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_50" 21.78 720 728 800 880 480 481 484 495 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_120" 14.12 360 368 408 456 240 241 244 258 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_100" 11.22 360 368 400 440 240 241 244 255 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_85" 9.12 360 360 392 424 240 241 244 253 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_75" 7.98 360 360 392 424 240 241 244 251 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_60" 5.86 360 344 376 392 240 241 244 249 -HSync +Vsync
# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_50" 4.66 360 336 368 376 240 241 244 248 -HSync +Vsync
EndSection
Section "Screen"
Identifier "screen1"
Device "Device0"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x800R" "1152x720R" "1152x768" "720x480" "360x240"
EndSubsection
EndSection
I found that, if there was a higher resolution mode, xorg loaded that, so I made sure mine was the highest, removed the rest.
There was an option I needed in the "Device" section in order for my unorthodox mode to get loaded:
Code:
Section "Device"
Identifier "Device0"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9500 GT"
Driver "nvidia"
Option "ExactModeTimingsDVI" "yes"
# Option "UseEDIDFreqs" "false"
# Option "ModeValidation" "DFP-1: NoMaxPClkCheck, NoEdidMaxPClkCheck, AllowNon60HzDFPModes"
EndSection
Option "ExactModeTimingsDVI" "yes"
was necessary. I found it in the documentation that comes with the nvidia driver. The commented options might have worked once but switches get dropped, or they might just have been experimental failures.