Xorg.conf
From Linuzz
Quello che segue è il contenuto delle sezioni “device”, “screen” e "server layout" per l’utilizzo di più monitor con schede video nVidia. A differenza dell’utilizzo con xinerama i due monitor condividono un solo framebuffer ottenendo così una performance migliore. In conseguenza di ciò non è necessario duplicare le sezioni “device”, “screen” e “monitor”. Le opzioni in grassetto vi permettono di stabilire, nell’ordine, la posizione dei due monitor e quale dei due utilizzare come principale.
Section "Device"
Identifier "NvidiaTwin"
VendorName "nVidia"
BoardName "GeForce6"
Driver "nvidia"
BusID "PCI:1:0:
EndSection
Section "Monitor"
Identifier "LCD"
Option "dpms"
HorizSync 30.0-81.0
VertRefresh 56-75
EndSection
Section "Screen"
Identifier "ScreenTwin"
Device "NvidiaTwin"
Monitor "TwinMonitor"
DefaultDepth 24
Option "NoLogo" "0"
Option "TwinView"
Option "MetaModes" "1280x1024,1280x1024; 1280x1024;
1024x768,1024x768;”
Option "TwinViewOrientation" “LeftOf”
Option "TwinViewXineramaInfoOrder" "DPF-0"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "UseEdidDpi" "FALSE"
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "twinview"
Screen 0 "ScreenTwin"
InputDevice "Mouse_Logitech" "CorePointer"
InputDevice "Keyboard_Labtec" "CoreKeyboard"
EndSection
Qui di seguito potete leggere la sezione “device” di xorg.conf per l’utilizzo di due monitor su schede video ATI. A differenza della configurazione per nVidia questo metodo non è stato verificato poiché non possiedo schede video ATI. Questa sezione fa riferimento alla configurazione della sezione Device relativamente ai driver proprietari di ATI.
Section "Device"
Identifier "MergedFB ATI Technologies, Inc. Radeon
Mobility 7500 (M7 LW)"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "MonitorLayout" "AUTO, AUTO"
Option "MergedFB" "true"
Option "CRT2Position" "RightOf"
Option "CRT2HSync" "30-80"
Option "CRT2VRefresh" "59-75"
Option "MetaModes" "1024x768-1024x768
1024x768 800x600"
Option "MergedDPI" "100 100"
EndSection
"Di seguito e' riportata la configurazione delle sezioni principali dello xorg.conf per quanto riguarda i driver non proprietari: in questo caso viene utilizzato Xinerama per supportare il doppio monitor:"
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. RV280 AR [Radeon 9600 XT]"
Driver "radeon"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. RV280 AR [Radeon 9600 XT] (Secondary)
Driver "radeon"
BusID "PCI:1:0:0
Screen 1
EndSection
Section "Monitor"
Identifier "SyncMaster940N"
Option "DPMS"
HorizSync 30-81
VertRefresh 56-75
EndSection
Section "Monitor"
Identifier "genericCRT"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV280 AR [Radeon 9600 XT]"
Monitor "SyncMaster940N"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Secondary Screen"
Device "ATI Technologies, Inc. RV280 AR [Radeon 9600 XT] (Secondary)"
Monitor "genericCRT"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout" Identifier "Default Layout" Screen "Secondary Screen" LeftOf "Default Screen" Screen "Default Screen" 0 0 Option "Clone" "off" Option "Xinerama" "on" InputDevice "Generic Keyboard" InputDevice "Configured Mouse"
- InputDevice "stylus" "SendCoreEvents"
- InputDevice "cursor" "SendCoreEvents"
- InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI" Mode 0666 EndSection
Section "ServerFlags" Option "Xinerama" "true" EndSection
