LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-19-2008, 01:32 PM   #1
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
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?
 
Old 10-19-2008, 03:50 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You man need to run one instance of X per card or even one per computer. You can use twinview to configure the screens the way you want. I have never heard of running multiple instances of X. Each one would try to use the nvidia kernel module and I don't know if that is kosher.

If you are trying to setup a multiseat system, this site might help. They have entries in a single xorg.conf. The article is a little old and the current X server may work better doing this than in the past.

The error messages indicate that the busID entries are wrong. If you use two or more video cards, then you have to have a busID entry for each card. Your xorg.conf file has the same busID value for both cards.

http://www.linuxtoys.org/multiseat/multiseat.html

Last edited by jschiwal; 10-19-2008 at 03:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem for video card =XServer failed to start! Eric2007 Fedora - Installation 1 08-29-2007 11:41 AM
Xserver Configuration for old ISA Video Card, VGA Monitor egghead3 Debian 1 07-31-2006 10:52 AM
xserver-xfree86: Xserver could not start on my ATI-radeon video card Shankarrajus Debian 2 07-17-2006 07:00 AM
Dual Head on a Single Video Card MadCowDzz Ubuntu 5 01-04-2006 04:55 PM
multihead agp and single pci video card onewhoknows Linux - Hardware 2 06-11-2004 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration