:photos :papers :tutorials :drm :nmicrocoder :daes :dhex :deadline :dettuxx :circdraw :systemc :xf86config :qdslconfig :bootfloppy :6502 :alienware :math winscp.exe putty.exe :impressum |
Dual screen, XFree86I had a hard time figuring out how to use two flatscreens with just one nvidia-card, but here is my sample XF86Config:Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" EndSection Section "ServerFlags" AllowMouseOpenFail EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbRules" "xfree86" Option "XkbLayout" "us" Option "XkbModel" "microsoft" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Device" "/dev/mouse" Option "Protocol" "imps/2" Option "Buttons" "3" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Device" "/dev/input/mice" Option "Protocol" "imps/2" Option "Buttons" "3" Option "ZAxisMapping" "4 5" EndSection Section "Module" Load "dbe" Load "glx" Load "extmod" Load "type1" Load "freetype" EndSection Section "Monitor" Identifier "Display 1" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 0,0 - 81,0 VertRefresh 60,0 - 60,0 Option "dpms" EndSection Section "Monitor" Identifier "Display 2" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 0,0 - 81,0 VertRefresh 60,0 - 60,0 Option "dpms" EndSection # screen section for an nvidia AGP TwinView card # (look at the appropriate Device section) Section "Screen" Identifier "Screen AGP TwinView" Device "NV AGP TwinView" Monitor "Display 1" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x400" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection # # just one agp twinview card # Section "ServerLayout" Identifier "AGPTwinView" Screen "Screen AGP TwinView" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse0" "AlwaysCore" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Device" Identifier "NV AGP TwinView" VendorName "nvidia" Driver "nvidia" BusID "PCI:1:0:0" Option "TwinView" Option "SecondMonitorHorizSync" "0-81" Option "SecondMonitorVertRefresh" "60" Option "TwinViewOrientation" "LeftOf" Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768" Option "ConnectedMonitor" "DFP-1,CRT-0" EndSectionI really hope this little example of setting up a dual-headed (or dual screened) X11 for the DVI and CRT-outputs will help you. I didn't use Xinerama, and don't ask me how to clone the screen. If something is missing: here is my REAL XF86Config, it works, but its not that beautiful. (md5sum: a94f62e2a19d041d8efc2e5a06b6023e) Single screen, XorgAnd for the ones with just one monitor and Xorg under OpenBSD, my xorg.conf is:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbLayout" "de" Option "XkbVariant" "nodeadkeys" Option "XkbRules" "xfree86" Option "XkbModel" "pc102" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30-80 VertRefresh 74.7-75.1 EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, Dual screen, XorgAnd for a dual screen with two graphics cards I have this configuration:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "true" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "SAM" ModelName "SyncMaster" ### Uncomment if you don't want to default to DDC: HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor1" VendorName "SAM" ModelName "SyncMaster" ### Uncomment if you don't want to default to DDC: HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, |