LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 07-26-2009, 07:55 AM   #1
aulich
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
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 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

Last edited by aulich; 07-26-2009 at 08:35 AM. Reason: FIXED!
 
Old 07-27-2009, 07:28 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 65
Your post edit is confusing. Do you consider your problem solved? If so, please mark the thread as SOLVED using the "thread tools" menu
 
Old 07-28-2009, 03:43 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,890
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
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'.
 
Old 07-07-2010, 10:49 PM   #4
shahak
LQ Newbie
 
Registered: Jan 2008
Location: India
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
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.
 
  


Reply

Tags
dual, matrox, monitor, nvidia, startx, xinerama


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help setting up dual monitors (2 diff graphic cards) in Linspire mindsend Linux - Newbie 1 11-20-2005 06:32 PM
Help setting up Dual Monitors/ Two ATI Video Cards Nikitis Linux - Software 1 11-06-2005 08:56 PM
two video cards two monitors? sicone Linux - Hardware 2 08-26-2004 12:06 PM
two monitors / two cfx-cards Espique Fedora 1 05-20-2004 01:20 AM
Two Video Cards...Two Monitors ==> :S VIP3R Linux - Hardware 5 03-16-2003 03:47 PM


All times are GMT -5. The time now is 10:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration