X org conf für NVidia Geforce FX 5200 mit zwei getrennten X-Servern auf OpenSuSE 10 1
Diese xorg.conf zeigt, wie man zwei getrennte X-Server mit einer DualHead-Grafikkarte erhält.
In dieser Konfiguration ist Monitor[1] ein Sharp LCD TV mit einer Auflösung von 1360x768 und Monitor[0] ein NEC 18.1" TFT mit einer Auflösung von 1280x1024 genutzt. Entgegen einer TwinView-Konfiguation kann man bei Multiple X Screens die Fenster nicht auf den anderen X-Server verschieben.
Auch funktioniert die 3D Beschleunigung nur auf den 1. Server. Dafür lassen sich beide Server komplett unabhängig einstellen.
/etc/X11/xorg.conf :
Section "ServerLayout" Identifier "Layout[all]" Screen 0 "Screen[0]" Screen 1 "Screen[1]" Leftof "Screen[0]" InputDevice "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" EndSection Section "Files" InputDevices "/dev/gpmdata" InputDevices "/dev/input/mice" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/URW" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/PEX" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1" FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/kwintv" FontPath "/usr/X11R6/lib/X11/fonts/truetype" FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1" FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/xtest" FontPath "/opt/kde3/share/fonts" EndSection Section "Module" Load "freetype" Load "type1" Load "dbe" Load "glx" Load "extmod" Load "v4l" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "on" EndSection Section "InputDevice" Identifier "Keyboard[0]" Driver "kbd" Option "Protocol" "Standard" Option "XkbLayout" "de" Option "XkbModel" "pc105" Option "XkbRules" "xfree86" Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Identifier "Mouse[1]" Driver "mouse" Option "Buttons" "6" Option "Device" "/dev/input/mice" Option "Name" "Logitech Optical Mouse" Option "Protocol" "explorerps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor[1]" VendorName "SHP" ModelName "SHARP TV" HorizSync 28.0 - 48.0 VertRefresh 43.0 - 62.0 Option "DPMS" EndSection Section "Monitor" Identifier "Monitor[0]" VendorName "NEC" ModelName "NEC MultiSync LCD 1850DX" HorizSync 31-82 VertRefresh 50-85 Option "DPMS" EndSection Section "Device" Identifier "Device[0]" Driver "nvidia" BusID "PCI:3:00:0" Screen 0 Option "Coolbits" "1" EndSection Section "Device" Identifier "Device[1]" Driver "nvidia" BusID "PCI:3:00:0 Screen 1 EndSection Section "Screen" Identifier "Screen[0]" Device "Device[0]" Monitor "Monitor[0]" DefaultDepth 24 Option "UseEdidDpi" "False" SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" EndSubSection EndSection Section "Screen" Identifier "Screen[1]" Device "Device[1]" Monitor "Monitor[1]" DefaultDepth 24 Option "UseEdidDpi" "False" SubSection "Display" Depth 24 Modes "1360x768" "1024x768" "800x600" EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection
Um Programme vom Server[0] auf den Server[1] auszugeben, kann man folgendes verwenden:
DISPLAY=:0.1 mplayer xyz.avi -fs
Dies startet den MPlayer auf den 2. Server und spielt dort das Video xyz.avi im Vollbildmodus ab
--Piloboy 20:03, 5. Nov 2006 (CET)