LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-15-2011, 12:40 AM   #1
bradbobak
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 1
xorg.conf for 3 displays across 2 video cards


I am currently using a nvidia pcie card to control 2 of my displays. I'm using the nvidia "TwinView" option.
This all works fine and dandy, but now my problem is that I want to add another display connected to the onboard ati radeon video.
I used nvidia-xconfig to set up the nvidia stuff, but now I'm having a hard time setting up /etc/X11/xorg.conf to enable the 3rd monitor.

Here is my current xorg.conf

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 280.13  (buildd@allspice)  Thu Aug 11 20:54:45 UTC 2011

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 280.13  (buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Wed Jul 27 17:15:58 PDT 2011

Section "ServerLayout"
    Identifier     "Layout0"
    Screen     0  "Screen0" 0 0
Screen "Screen0" LeftOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "false"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

	# generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer X223W"
    HorizSync       31.0 - 84.0
    VertRefresh     56.0 - 77.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    HorizSync       31.0 - 84.0
    VertRefresh     56.0 - 77.0
    Option         "DPMS"
EndSection

Section "Device"
	Identifier "Device0"
	Driver "nvidia"
	BusID "02:00:0"
EndSection

Section "Device"
	Identifier "Device1"
	Driver "radeon"
	BusiD "01:05:0"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
	Identifier "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "DynamicTwinView" "true"
    Option         "NoLogo" "False"
    Option         "TwinView" "1"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1680+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
 
Old 11-15-2011, 12:58 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
In my experience it is not possible to use the onboard VGA simultaneously with a PCI* VGA card.

I have had 4x screens working with a pair of nvidia geforce 6500's (AGP and a PCI) (i think, it was a while ago), and am currently running 3 on a ATI radeon HD5770 (I think i paid $150AUD 12 months ago for it)

I would recommend using identical cards, for simplicity of configuring xorg.
Start out with the default settings created by nvidia-xorg-configure/ati-config (or whatever their called).

The newer versions of xorg does its best to auto configure itself. I have had good experience with Fedora 15/16 where 3 screens and xinerama work out of the box.
 
Old 11-15-2011, 04:42 AM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You don't actually explain what, specifically, happens when you use that xorg.conf, nor do you show us the /var/log/Xorg.0.log file.

In general, though, fukawi1 is right. It's going to be difficult getting two video card to work from separate manufacturers. It's going to be made even more complicated by trying to mix open source and closed source drivers. You might have more luck using the nouveau drivers with the nvidia GPU, instead.

Adam
 
Old 11-16-2011, 01:17 AM   #4
bradbobak
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 1
I've got this working now. The offending line was:

Quote:
Screen "Screen0" LeftOf "Screen1"
Which I've replaced with:

Quote:
Screen 2 "Screen1" LeftOf "Screen0"
Xinerama works if enabled as well, but I like the separate screen since this monitor will only be running lan computer monitoring stuffs.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf multiple graphics cards abourke Linux - Newbie 1 07-24-2011 07:51 PM
Is there any way to configure different video cards to different settings in Xorg? 10110111 Linux - Hardware 1 11-01-2009 02:04 PM
xorg.conf ... anything else I need to backup before messing with video drivers? thomas_r Linux - Newbie 4 01-06-2009 10:25 AM
Why can't I get x-config and xorg.conf to give me two displays? maestro52 Linux - Software 1 01-01-2009 04:36 AM
Reference Video Card BusID for xorg.conf diaruemnus Linux - Hardware 2 08-19-2007 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:03 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