Problem configuring two XServer instances for different displays on single video card
I have NVIDIA GF 8800GT with two DVI ports. I want each instance of X Server to display on different monitor, i.e. if i start 'startx', the server is started on monitor #0. If i start 'startx -- :1 -layout withscreen1', it would use monitor #1. But i have some problem. X server says:
{
(WW) NVIDIA: No matching Device section for instance (BusID PCI:1:0:0) found
(EE) Screen 0 deleted because of no matching config section.
}
This is my xorg.conf:
{
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/TTF/"
FontPath "/usr/lib/X11/fonts/Type1/"
FontPath "/usr/lib/X11/fonts/CID/"
FontPath "/usr/lib/X11/fonts/75dpi/"
FontPath "/usr/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "record"
Load "xtrap"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
Load "type1"
EndSection
Section "ServerLayout"
Identifier "WithScreen0"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "WithScreen1"
Screen 0 "Screen1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard" # Will be replaced by added keyboard
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
Option "DefaultServerLayout" "WithScreen0"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse1"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Samsung Electronics"
ModelName "Samsung SyncMaster 193p+"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 76.0
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Samsung Electronics"
ModelName "Samsung SyncMaster 193p+"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 76.0
EndSection
Section "Device"
Identifier "NVidia8800scr1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
BusID "PCI:1:0:0"
Screen 1
Option "TripleBuffer" "True"
Option "NoLogo" "True"
Option "BackingStore" "True"
Option "DamageEvents" "True"
Option "DPMS" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "Coolbits" "1"
EndSection
Section "Device"
Identifier "NVidia8800scr0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
BusID "PCI:1:0:0"
Screen 0
Option "TripleBuffer" "True"
Option "NoLogo" "True"
Option "BackingStore" "True"
Option "DamageEvents" "True"
Option "DPMS" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "Coolbits" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVidia8800scr0"
Monitor "Monitor0"
DefaultDepth 24
Option "VBERestore" "true"
Option "TwinView" "0"
Option "metamodes" "1280x1024_60 +0+0"
Option "VBERestore" "true"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVidia8800scr1"
Monitor "Monitor1"
DefaultDepth 24
Option "VBERestore" "true"
Option "TwinView" "0"
Option "metamodes" "1280x1024_60 +0+0"
Option "VBERestore" "true"
SubSection "Display"
Depth 24
EndSubSection
EndSection
}
If i change
Section "ServerLayout"
Identifier "WithScreen1"
Screen 0 "Screen1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard" # Will be replaced by added keyboard
EndSection
to
Section "ServerLayout"
Identifier "WithScreen1"
Screen 0 "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard" # Will be replaced by added keyboard
EndSection
then it starts, but on first screen, while i want it to be on the second one.
What am i doing wrong?
|