The http://www.x.org/wiki/ project is the basis of the graphical environment in MidnightBSD. The X Window System is used to display most GUI environments such as KDE, GNOME or GNUStep + WindowMaker. Occasionally, system lockups and hangs occur for some users. This is often the result of new video hardware or incompatibilities with the acceleration of video.
Typically, it is a problem with one or more components. Here is a list of options for video that you can try to disable to narrow down the problem.
Option "AccelMethod" "xxx" - "XAA" or "EXA"
- Option "Accel" "Off" - turns off the 2D acceleration (ignored on -intel except for i810 and i815 chipsets)
- Option "DRI" "Off" - turns off the 3D acceleration
- Option "AIGLX" "Off" - turns off OpenGL indirect rendering acceleration
- Option "PM" "Off" - turns off power management events
- Option "NoMTRR" - turns off Memory Type Range Register support, which greatly improves performance so is usually on, but some hardware has buggy support for it
Note these tips are based on info from the Ubuntu site. https://wiki.ubuntu.com/X/Troubleshooting/Freeze
Sometimes manually creating a xorg.conf file will solve problems. Additionally, try using the vesa driver particularly with some Intel or ATI graphics adapters.
Widescreen Display with MidnightBSD 0.2.x
Here is an example for a Westinghouse 19inch L1975NW monitor where ModeLine <name> <clock> <4 horizontal timings> <4 vertical timings>
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