LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Help setting up 3 monitors on two cards (http://www.linuxquestions.org/questions/linux-hardware-18/help-setting-up-3-monitors-on-two-cards-742882/)

aulich 07-26-2009 08:55 AM

Help setting up 3 monitors on two cards
 
Edit: FIXED, see 2nd 1/2 for correct config
Hello Id like for someone to look over my xorg.conf and tell me what I'm doing wrong. Just a bit of background I'm using an Matrox G450 Multihead and a Nvidia MX4000 and have three monitors. Id like the G450 multi head to fire on the far left and far right and the nvidia to run in the center. The desktop should be extended across all three.

They both work perfectly fine in X independently just not together :scratch: Here's the relevant portion of the xorg.conf

Section "Monitor"
Identifier "mon1"
HorizSync 30-62
VertRefresh 50-75
Option "DPMS"
EndSection

Section "Monitor"
Identifier "mon2"
HorizSync 31-80
VertRefresh 56-76
Option "DPMS"
EndSection

Section "Monitor"
Identifier "mon3"
HorizSync 30-62
VertRefresh 50-75
Option "DPMS"
EndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection

Section "Device"
Identifier "G450_1"
Driver "mga"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "nvid"
Driver "nv"
BusID "PCI:2:8:0"
Screen 1
EndSection

Section "Device"
Identifier "G450_2"
Driver "mga"
BusID "PCI:1:0:0"
Screen 2
EndSection

Section "Screen"
Identifier "Screen 0"
Device "G450_1"
Monitor "mon1"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen 1"
Device "nvid"
Monitor "mon2"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen 2"
Device "G450_2"
Monitor "mon3"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"

Identifier "Simple Layout"
Screen "Screen 0" LeftOf "Screen 1"
Screen "Screen 2" LeftOf "Screen 1"
Screen "Screen 0"

Option "Xinerama"

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection


Currently, X is cloning the G450 (not extending the desktop) and not activating the middle monitor on the nvidia. So i have duplicate images on the far left and far right w/ the center monitor not displaying anything. Here is the error from startx:

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Slackware 12.1 Slackware Linux Project
Current Operating System: Linux jersey 2.6.27.7 #2 Thu Nov 20 23:19:39 CST 2008 i686
Build Date: 30 June 2008 11:35:29PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 26 08:00:23 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Screen Screen 1 doesn't exist: deleting placement
(EE) Screen Screen 1 doesn't exist: deleting placement

(WW) MGA: More than one matching Device section for instances
(BusID: PCI:1:0:0) found: G450_1

(EE) Screen 1 deleted because of no matching config section.


Got it fixed: The Nvidia does NOT get a Screen entry in the device section since it does not have a dual head. Only dual head cards require a Screen 0 Screen 1 entry. Also the serverLayout was screwed up. Heres the correct way to do this:


Section "Monitor"
Identifier "mon1"
HorizSync 32-62
VertRefresh 56-75
Option "DPMS"
EndSection

Section "Monitor"
Identifier "mon2"
HorizSync 32-62
VertRefresh 56-75
Option "DPMS"
EndSection

Section "Monitor"
Identifier "mon3"
HorizSync 32-62
VertRefresh 56-75
Option "DPMS"
ndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection

Section "Device"
Identifier "G450_1"
Driver "mga"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "nvid"
Driver "nv"
BusID "PCI:2:8:0"
#Notice how this does NOT get a Screen entry
EndSection

Section "Device"
Identifier "G450_2"
Driver "mga"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen 0"
Device "G450_1"
Monitor "mon1"
DefaultDepth 24
Subsection "Display"
Depth 24
odes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen N" #Numbers were throwing me off
Device "nvid"
Monitor "mon2"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection

Section "Screen"
Identifier "Screen 1"
Device "G450_2"
Monitor "mon3"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"

Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
Screen "Screen 1" RightOf "Screen N"
Screen "Screen N" RightOf "Screen 0"

Option "Xinerama"

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Mode 0666
EndSection

Meson 07-27-2009 08:28 PM

Your post edit is confusing. Do you consider your problem solved? If so, please mark the thread as SOLVED using the "thread tools" menu

onebuck 07-28-2009 04:43 PM

Hi,

Not only confusing but the long lists make it hard to read. If the OP would use the vbcode tags # or Quote. The post would be cleaner therefore easier to read.

To the OP, whenever you solve your post don't edit to include the solution. Create a reply with the solution then mark the thread as solved via the 'Thread tools'.

shahak 07-07-2010 11:49 PM

Hello, This is just to make things clear for the visitors in future. (I hope that I do not confuse them further!)

The meaning of Screen is different in different sections. While in the Server Layout and Screen sections, it refers to the different screens (displays or monitors); in the Device section it refers to the different outputs of the video/graphic card. Each graphic card with one output shall have Screen 0 only. A graphic card with two outputs shall have Screen 0 and Screen 1 and they bear no relation to the Screens defined in the Server Layout section.


All times are GMT -5. The time now is 08:06 PM.