rendered paste body##########################################################
## Shared Sectons ##
##########################################################
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor 1280-1024"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor 1280-1024"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor 1280-1024"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "TV0"
VendorName "TV Vendor"
ModelName "TV Generic"
HorizSync 30.0 - 50.0
VertRefresh 60.0 - 60.0
EndSection
#Section "DRI"
# Group 0
# Mode 0666
#EndSection
##########################################################
## End Shared Sectons ##
##########################################################
##########################################################
## Tri-Screen Layout ##
##########################################################
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0-TS" 0 0
Screen 1 "Screen1-TS" LeftOf "Screen0-TS"
Screen 2 "Screen2-TS" RightOf "Screen0-TS"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama"
EndSection
Section "Device"
Identifier "Card1-TS"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV11 [GeForce2 MX/MX 400]"
Option "NoLogo" "true"
BusID "PCI:2:06:0"
EndSection
Section "Device"
Identifier "Card0-TS"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "Card0-1-TS"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Screen"
Identifier "Screen0-TS"
Device "Card0-TS"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1-TS"
Device "Card1-TS"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2-TS"
Device "Card0-1-TS"
Monitor "Monitor2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x1024"
EndSubSection
EndSection
##########################################################
## End Tri-Screen Layout ##
##########################################################
##########################################################
## Dual-Screen Layout ##
##########################################################
Section "ServerLayout"
Identifier "DS-1280-1024"
Screen 0 "Screen0-DS" 0 0
Screen 1 "Screen1-DS" RightOf "Screen0-DS"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama"
EndSection
Section "Device"
Identifier "Card0-DS"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "Card0-1-DS"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Screen"
Identifier "Screen0-DS"
Device "Card0-DS"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1-DS"
Device "Card0-1-DS"
Monitor "Monitor2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x1024"
EndSubSection
EndSection
##########################################################
## End Dual-Screen Layout ##
##########################################################
##########################################################
## Single-Screen 1024-768 Layout ##
##########################################################
Section "ServerLayout"
Identifier "SS-1024-768"
Screen 0 "Screen0-SS-1024-768" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Device"
Identifier "Card0-SS-1024-768"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0-SS-1024-768"
Device "Card0-SS-1024-768"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "1024x768"
EndSubSection
EndSection
##########################################################
## End Single-Screen 1024-768 Layout ##
##########################################################
##########################################################
## Single-Screen 1280-1024 Layout ##
##########################################################
Section "ServerLayout"
Identifier "SS-1280-1024"
Screen 0 "Screen0-SS-1280-1024" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Device"
Identifier "Card0-SS-1280-1024"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0-SS-1280-1024"
Device "Card0-SS-1280-1024"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280-1024" "1280-1024"
EndSubSection
EndSection
##########################################################
## End Single-Screen 1280-1024 Layout ##
##########################################################
##########################################################
## Single-Screen 1600-1200 Layout ##
##########################################################
Section "ServerLayout"
Identifier "SS-1600-1200"
Screen 0 "Screen0-SS-1600-1200" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Device"
Identifier "Card0-SS-1600-1200"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0-SS-1600-1200"
Device "Card0-SS-1600-1200"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600-1200" "1600-1200"
EndSubSection
EndSection
##########################################################
## End Single-Screen 1600-1200 Layout ##
##########################################################
##########################################################
## TV Clone 800-600 Layout ##
##########################################################
Section "ServerLayout"
Identifier "TV-800-600"
Screen 0 "Screen0-TV-800-600" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Device"
Identifier "Card0-TV-800-600"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0-TV-800-600"
Device "Card0-TV-800-600"
Monitor "TV0"
DefaultDepth 24
Option "NoLogo" "true"
Option "TwinView" "true"
Option "TVOutFormat" "COMPOSITE"
Option "TwinViewOrientation" "CLONE"
Option "MetaModes" "800x600,800x600"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "CRT, TV"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TVOverScan" "1.0"
SubSection "Display"
Depth 24
Modes "800-600" "800-600"
EndSubSection
EndSection
##########################################################
## End TV Clone 800-600 Layout ##
##########################################################
##########################################################
## TV Clone 1024-768 Layout ##
##########################################################
Section "ServerLayout"
Identifier "TV-1024-768"
Screen 0 "Screen0-TV-1024-768" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Device"
Identifier "Card0-TV-1024-768"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV36 [GeForce FX 5700LE]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0-TV-1024-768"
Device "Card0-TV-1024-768"
Monitor "TV0"
DefaultDepth 24
Option "NoLogo" "true"
Option "TwinView" "true"
Option "TVOutFormat" "COMPOSITE"
Option "TwinViewOrientation" "CLONE"
Option "MetaModes" "1024-768,1024-768"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "CRT, TV"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TVOverScan" "1.0"
SubSection "Display"
Depth 24
Modes "1024-768" "1024-768"
EndSubSection
EndSection
##########################################################
## End TV Clone 1024-768 Layout ##
##########################################################
#
##############################################################################################
#
# X I N E R A M A - S E T U P (NVIDIA)
#
# crt0 and crt1 are both connected to the grafic card. we create a pseudo
# device that points to the same graficcard. then we enable traditional
# xinerama
#
# advantage: we can get 1600x1200 on both displays, both screens can have
# different refresh rates, depths etc etc
# xv works again (brightness etc for mplayer)
# disadvantage: no opengl on the second monitor
#
#
# device for crt0
Section "Device"
Identifier "sparkle_5600_0"
Driver "nvidia"
BusID "PCI:01:00:0"
Screen 0
Option "ConnectedMonitor" "CRT-0"
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "CursorShadow" "true"
Option "XvmcUsesTextures" "true"
Option "HWCursor" "true"
EndSection
# device for crt1
Section "Device"
Identifier "sparkle_5600_1"
Driver "nvidia"
BusID "PCI:01:00:0"
Screen 1
Option "ConnectedMonitor" "CRT-1"
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "CursorShadow" "true"
Option "XvmcUsesTextures" "true"
Option "HWCursor" "true"
EndSection
# screen for crt0
Section "Screen"
Identifier "screen_0"
Device "sparkle_5600_0"
Monitor "Monitor1"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
ViewPort 0 0
Virtual 0 0
EndSubsection
EndSection
# screen for crt1
Section "Screen"
Identifier "screen_1"
Device "sparkle_5600_1"
Monitor "Monitor2"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
ViewPort 0 0
Virtual 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "xinerama"
Screen 0 "screen_0"
Screen 1 "screen_1" RightOf "screen_0"
InputDevice "mouse0" "CorePointer"
InputDevice "keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"
Option "Offtime" "10"
EndSection