12:56 AM - Widescreen in BSD
Getting widescreen displays in X11 to work is a pain. With most displays, you must create a modeline. Here is an example for my Westinghouse 19 inch LCD.
Section "Monitor"
#DisplaySize 410 260 # mm
Identifier "Monitor0"
VendorName "WDE"
ModelName "L1975NW"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "DPMS"
ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934
EndSection
Then just add the 1440x900 mode for your screen. Now I googled this problem and everyone offered similar examples. What do all those numbers mean on the ModeLine? Well these numbers come from your xorg.0.log. In BSD, this is /var/log/xorg.0.log. Look for a line listing "Supported Additonal Video Mode" It will list a clock and various h_ and v_ lines.
ModeLine <name> <clock> <4 horizontal timings> <4 vertical timings>
This will work on MidnightBSD with xorg 6.9.
Section "Monitor"
#DisplaySize 410 260 # mm
Identifier "Monitor0"
VendorName "WDE"
ModelName "L1975NW"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "DPMS"
ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934
EndSection
Then just add the 1440x900 mode for your screen. Now I googled this problem and everyone offered similar examples. What do all those numbers mean on the ModeLine? Well these numbers come from your xorg.0.log. In BSD, this is /var/log/xorg.0.log. Look for a line listing "Supported Additonal Video Mode" It will list a clock and various h_ and v_ lines.
ModeLine <name> <clock> <4 horizontal timings> <4 vertical timings>
This will work on MidnightBSD with xorg 6.9.
0 comments