# lr 20080405 # xorg.conf for the ASUS M2N-VM DVI dual-head motherboard # using FreeBSD 7 and the x11/nvidia-driver port # # This file has been generated with 'X -configure' and then manually # patched to support dual-head operation. # # Dual head support is achieved using the nvidia-specific extensions, rather # than the Xorg extension that let you define two screens, two cards etc., # because the xorg-native 'xinerama' option does not work. # If you are happy without xinerama (meaning that the two screens are # independent and you cannot drag from one to the other) then you can # use the entries marked 'XXX native-xorg'. # # The nVidia-specific entries (see section 'nvidia0') let you see the # two screens as one, similar to the 'xinerama' option. Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" # Screen 1 "Screen1" LeftOf "Screen0" # XXX native-xorg InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" #Option "xinerama" "true" # XXX not working now EndSection Section "Files" # these are all defaults. RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" # these are all defaults, maybe redundant Load "extmod" Load "record" Load "dbe" Load "glx" Load "xtrap" Load "dri" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection # native-xorg: you need to define two 'Monitor', 'Device' and 'Screen' entries. Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Screen 0 Driver "nvidia" VendorName "nVidia Corporation" BoardName "Unknown Board" BusID "PCI:0:18:0" EndSection Section "Device" Identifier "Card1" Screen 1 Driver "nvidia" VendorName "nVidia Corporation" BoardName "Unknown Board" BusID "PCI:0:18:0" EndSection # nvidia with special options Section "Device" Identifier "nvidia0" Screen 0 Driver "nvidia" VendorName "nVidia Corporation" BoardName "Unknown Board" BusID "PCI:0:18:0" # XXX special nvidia options. TwinView means you support two screens, # the MetaModes line gives the resolutions of your screens # (you can have multiple pairs using ';' as a separator), # ConnectedMonitor indicates the device types, and # TwinViewOrientation is for the position of the two monitors. Option "TwinView" Option "MetaModes" "1680x1050, 1600x1200" Option "ConnectedMonitor" "CRT, CRT" Option "TwinViewOrientation" "LeftOf" EndSection Section "Screen" Identifier "Screen0" #Device "Card0" # use this instead of nvidoa0 for native-xorg Device "nvidia0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection