On OpenBSD 4.1 xorg open display on 1400x1050. but failed on 4.2 and open 1280x1024
Messages on Xorg.0.log (II) MGA(0): Not using default mode "1600x1200" (hsync out of range) (II) MGA(0): Not using default mode "1400x1050" (hsync out of range) Solution on xorg.conf: Section "Monitor" #Option "dpms" Option "nodpms" Option "noddc" ... Modeline "1400x1050" 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync Modeline "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync Modeline "640x480" 36.00 640 696 752 832 480 481 484 509 -hsync -vsync Modeline "320x240" 15.75 320 332 352 416 240 244 246 260 doublescan -hsync -vsync Full xorg.conf: #BOF /etc/X11/xorg.conf Section "Module" # Load "ddc" # Load "GLcore" # Load "dbe" # Load "dri" # Load "extmod" # Load "glx" # # Load "bitmap" # Load "speedo" # Load "type1" # Load "freetype" # Load "record" # Load "xtt" # Load "xtrap" # SubSection "extmod" # Option "omit xfree86-dga" # EndSubSection EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "true" Option "RandR" "on" # disable the <Ctrl><Alt><BS> Option "DontZap" EndSection Section "InputDevice" Identifier "KBD_PS2" Driver "kbd" # Option "Device" "/dev/input/event1" Option "AutoRepeat" "1000 80" Option "XkbRules" "xorg" Option "XkbRules" "xfree86" # br-abnt2 #Option "XkbModel" "pc106" #Option "XkbLayout" "br" # us-acentos Option "XkbModel" "pc105" Option "XkbLayout" "us" Option "XkbVariant" "alt-intl" EndSection Section "InputDevice" Identifier "MOUSE_PS2" Driver "mouse" Option "Device" "/dev/wsmouse" # Option "Device" "/dev/psaux" # Option "Device" "/dev/input/mouse0" # Option "SendCoreEvents" "true" # mouse ps2 com scroll # Option "Protocol" "IMPS/2" Option "Protocol" "WSmouse" Option "Buttons" "5" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "50" Option "ZAxisMapping" "4 5 6 7" Option "Resolution" "256" EndSection Section "Monitor" # LG-700S # 1400x1050 Identifier "M1400" HorizSync 30 - 71 VertRefresh 50 - 160 #Option "dpms" Option "nodpms" Option "noddc" # Set for 4:3 display # DisplaySize 300 225 # Set for 16:9 display # DisplaySize 400 225 Modeline "1400x1050" 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync Modeline "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync Modeline "640x480" 36.00 640 696 752 832 480 481 484 509 -hsync -vsync Modeline "320x240" 15.75 320 332 352 416 240 244 246 260 doublescan -hsync -vsync EndSection # # Section Video Board # Section "Device" Identifier "VGA1" Driver "mga" VideoRam 4096 # BusId "PCI:0:13:0" EndSection # # s3virge glint nv mga # # # Section Video Board End # Section "Screen" Identifier "SCR1" Device "VGA1" Monitor "M1400" DefaultDepth 16 Subsection "Display" Depth 16 #Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1152x864" "800x600" "640x480" Modes "1400x1050" "1280x1024" "800x600" "640x480" "320x240" #Modes "1280x1024" "1152x768" "1024x768" "800x600" "640x480" #Modes "1152x768" "1024x768" "800x600" "640x480" #Modes "800x600" "640x480" ViewPort 0 0 # Virtual 1280 1024 # just for monitor ? EndSubsection EndSection Section "ServerLayout" # The Identifier line must be present Identifier "Simple Layout" Screen "SCR1" InputDevice "MOUSE_PS2" "CorePointer" InputDevice "KBD_PS2" "CoreKeyboard" EndSection #Section "DRI" # Mode 0666 #EndSection # EOF /etc/X11/xorg.conf