# ############################################################################################## # # X O R G . C O N F # # setup for my ... setup :) # # situation: # # .---. .---. 1 - 'iiyama hm903dt A' aka 'vision master pro 454' # | 1 | | 2 | 2 - 'gdm20E21' aka 'sgi' # ø---ø ø---ø # | | # | | # .--+-------+--. # | | card | | card - '6600gt' aka 'leadtek winfast 6600gt tdh' # | +-------+ | # | | # | | # | | # | +-------+ | # |__|_U S B_|__| # | | # kbd mouse kbd - 'ibm something' # mouse - 'microsoft optical' # # # # # # to start an xserver with a special layout: # # startx /usr/bin/fluxbox -- :1 -layout LAYOUTNAME # # available layouts: # # twinview - uses nvidia-driver-xinerama support # xinerama - default, traditional xinerama # iiyama - use only the iiyama-display # sgi - use only the sgi-display # dualscreen - 2 seperated screens # # # ############################################################################################## # # S E R V E R - OPTIONS # # # Section "ServerFlags" Option "DefaultServerLayout" "twinview" # Option "DefaultServerLayout" "sgi" Option "AllowDeactivateGrabs" "true" Option "AllowClosedownGrabs" "true" Option "AllowMouseOpenFail" "true" EndSection # ############################################################################################## # # M O D U L E S - S E T U P # # all the magic ... # Section "Module" Load "type1" Load "freetype" Load "glx" Load "record" Load "dbe" Load "extmod" Load "evdev" Load "xtrap" SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection EndSection #Section "Extensions" # Option "Composite" "Enable" #EndSection # ############################################################################################## # # F O N T and other P A T H - SETTINGS # # order is important. # Section "Files" FontPath "/usr/share/fonts/default/ghostscript" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/artwiz-aleczapka-en" FontPath "/usr/share/fonts/artwiz" FontPath "/usr/share/fonts/lfpfonts-var" FontPath "/usr/share/fonts/lfpfonts-fix" FontPath "/usr/share/fonts/corefonts" FontPath "/usr/share/fonts/freefont" FontPath "/usr/share/fonts/intlfonts" FontPath "/usr/share/fonts/latex-xft-fonts" FontPath "/usr/share/fonts/75dpi" FontPath "/usr/share/fonts/100dpi" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/sharefonts" FontPath "/usr/share/fonts/terminus" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/ttf-bitstream-vera" FontPath "/usr/share/fonts/ukr" FontPath "/usr/share/fonts/100dpi" FontPath "/usr/share/fonts/misc" EndSection # ############################################################################################## # # I N P U T - SECTION # # keyboards and mice are handled here # Section "InputDevice" Identifier "keyboard0" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbModel" "pc105" Option "XkbLayout" "de,us" # Option "XkbOptions" "grp:shift_toggle" Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Identifier "mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "Button" "5" Option "ZAxisMapping" "4 5" Option "SendCoreEvents" "yes" EndSection Section "InputDevice" Identifier "mx510" Driver "evdev" Option "Dev Name" "Logitech USB-PS/2 Optical Mouse" # Option "Button" "10" Option "Device" "/dev/input/event1" # Option "ZAxisMapping" "9 10" Option "Resolution" "800" Option "SampleRate" "200" Option "SendCoreEvents" "yes" EndSection # ############################################################################################## # # I I Y A M A - DISPLAY # # crt0 is a iiyama vision master pro 454 # Section "Monitor" Identifier "display_iiyama" VendorName "iiyama" ModelName "hm903dta" HorizSync 30-133 VertRefresh 45-200 DisplaySize 366 274 Option "DPMS" # sys-apps/ddcxinfo-knoppix -> used to calculate this. # These are the DDC-probed settings reported by your monitor. # 1600x1200, 85.0Hz; hfreq=106.25, vfreq=85.00 ModeLine "1600x1200" 229.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync # 1280x1024, 85.0Hz; hfreq=91.15, vfreq=85.02 ModeLine "1280x1024" 157.50 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync # 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03 ModeLine "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync # 1024x768, 85.0Hz; hfreq=68.68, vfreq=85.00 # Extended modelines with GTF timings # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz ModeLine "640x480" 43.16 640 680 744 848 480 481 484 509 -HSync +Vsync # 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz ModeLine "768x576" 51.84 768 808 888 1008 576 577 580 605 -HSync +Vsync # 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz ModeLine "768x576" 62.57 768 816 896 1024 576 577 580 611 -HSync +Vsync # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz ModeLine "800x600" 68.18 800 848 936 1072 600 601 604 636 -HSync +Vsync # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz ModeLine "1024x768" 113.31 1024 1096 1208 1392 768 769 772 814 -HSync +Vsync # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz ModeLine "1152x864" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync # 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz ModeLine "1152x864" 143.47 1152 1232 1360 1568 864 865 868 915 -HSync +Vsync # 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz ModeLine "1280x960" 178.99 1280 1376 1520 1760 960 961 964 1017 -HSync +Vsync # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz ModeLine "1280x1024" 190.96 1280 1376 1520 1760 1024 1025 1028 1085 -HSync +Vsync # 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz ModeLine "1400x1050" 179.26 1400 1504 1656 1912 1050 1051 1054 1103 -HSync +Vsync # 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz ModeLine "1400x1050" 214.39 1400 1512 1664 1928 1050 1051 1054 1112 -HSync +Vsync # 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz ModeLine "1600x1200" 280.64 1600 1728 1904 2208 1200 1201 1204 1271 -HSync +Vsync EndSection # ############################################################################################## # # S G I - DISPLAY # # crt1 is a sgi gdm20e21 # # specs at : http://www.monitorworld.com/Monitors/sgi/index.html Section "Monitor" Identifier "display_sgi" VendorName "sgi" ModelName "gdm20e21" HorizSync 30-96 VertRefresh 50-160 Option "DPMS" # DisplaySize 366 274 # 1600x1200 @ 75.00 Hz (GTF) hsync: 93.97 kHz; pclk: 205.99 MHz Modeline "1600x1200" 205.99 1600 1720 1896 2192 1200 1201 1204 1253 -HSync +Vsync EndSection # ############################################################################################## # # T W I N V I E W - S E T U P (NVIDIA) # # crt0 and crt1 are both connected to the same graficcard # activates the nvidia-twinview-xinerama-mode # # advantage: opengl on both windows # disadvantage: cant get 1600x1200 on each monitor, it seems that both # screen must have same refreshrates # no xv for mplayer Section "Device" Identifier "6600gt_twinview" Driver "nvidia" BusID "PCI:01:00:0" Screen 0 Option "ConnectedMonitor" "CRT-0, CRT-1" Option "TwinView" "true" Option "TwinViewOrientation" "CRT-0 LeftOf CRT-1" Option "SecondMonitorHorizSync" "30-96" Option "SecondMonitorVertRefresh" "50-160" Option "MetaModes" "CRT-0: 1400x1050, CRT-1:1400x1050; CRT-0: 1280x1024, CRT-1: 1400x1050" Option "NoLogo" "true" Option "RenderAccel" "true" Option "CursorShadow" "true" # Option "NoDDC" "true" Option "UseEDID" "FALSE" #Option "Stereo" "1" Option "XvmcUsesTextures" "true" Option "HWCursor" "true" EndSection Section "Screen" Identifier "screen_twinview" Device "6600gt_twinview" Monitor "display_iiyama" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1024x768" "800x600" ViewPort 0 0 Virtual 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "twinview" Screen 0 "screen_twinview" # Screen 1 "sgi_screen" RightOf "iiyama_screen" InputDevice "mx510" "CorePointer" InputDevice "keyboard0" "CoreKeyboard" #Option "Xinerama" "on" #Option "Clone" "off" Option "Offtime" "10" EndSection # ############################################################################################## # # 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 "6600gt_0" Driver "nvidia" BusID "PCI:01:00:0" Screen 0 Option "NoLogo" "true" Option "RenderAccel" "true" Option "CursorShadow" "true" Option "XvmcUsesTextures" "true" Option "HWCursor" "true" EndSection # device for crt1 Section "Device" Identifier "6600gt_1" Driver "nvidia" BusID "PCI:01:00:0" Screen 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 "6600gt_0" Monitor "display_iiyama" 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 "6600gt_1" Monitor "display_sgi" 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 "mx510" "CorePointer" InputDevice "keyboard0" "CoreKeyboard" Option "Xinerama" "on" Option "Clone" "off" Option "Offtime" "10" EndSection # ############################################################################################## # # D U A L S C R E E N - 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. # # advantage: we can get 1600x1200 on both displays, both screens can have # different refresh resolutions, rates, depths etc etc # xv works again (brightness etc for mplayer) # opengl on both monitors # disadvantage: no exchange of windows between those 2 screens. # Section "ServerLayout" Identifier "dualscreen" Screen 0 "screen_0" Screen 1 "screen_1" RightOf "screen_0" InputDevice "mx510" "CorePointer" InputDevice "keyboard0" "CoreKeyboard" Option "Xinerama" "off" Option "Clone" "off" Option "Offtime" "10" EndSection # ############################################################################################## # # I I Y A M A - S E T U P # # setup to have a xserver on the iiyama display alone # # device for crt0 Section "Device" Identifier "6600gt_iiyama" 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 Section "Screen" Identifier "screen_iiyama" Device "6600gt_iiyama" Monitor "display_iiyama" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 Virtual 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "iiyama" Screen 0 "screen_iiyama" InputDevice "mx510" "CorePointer" InputDevice "keyboard0" "CoreKeyboard" Option "Offtime" "10" EndSection # ############################################################################################## # # S G I - S E T U P # # setup to have a xserver on the sgi display alone # # device crt1 Section "Device" Identifier "6600gt_sgi" Driver "nvidia" BusID "PCI:01:00:0" Screen 0 Option "ConnectedMonitor" "CRT-1" Option "NoLogo" "true" Option "RenderAccel" "true" Option "CursorShadow" "true" Option "XvmcUsesTextures" "true" Option "HWCursor" "true" EndSection Section "Screen" Identifier "screen_sgi" Device "6600gt_sgi" Monitor "display_sgi" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1024x768" "800x600" ViewPort 0 0 Virtual 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "sgi" Screen 0 "screen_sgi" InputDevice "mx510" "CorePointer" InputDevice "keyboard0" "CoreKeyboard" Option "Offtime" "10" EndSection # ############################################################################################## # # I I Y A M A - S E T U P (NV) # # setup to have a xserver on the iiyama display alone, with xorg's nv-driver # lets call this "fallback" # # device for crt0 Section "Device" Identifier "nv_6600gt_iiyama" Driver "nv" BusID "PCI:01:00:0" Screen 0 Option "CrtcNumber" "0" Option "CursorShadow" "true" Option "HWCursor" "true" EndSection Section "Screen" Identifier "nv_screen_iiyama" Device "nv_6600gt_iiyama" Monitor "display_iiyama" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1024x768" "800x600" ViewPort 0 0 Virtual 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "nv_iiyama" Screen 0 "nv_screen_iiyama" InputDevice "mouse0" "CorePointer" InputDevice "keyboard0" "CoreKeyboard" Option "Offtime" "10" EndSection