LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2010, 02:14 PM   #1
threepointonefour
LQ Newbie
 
Registered: Oct 2009
Posts: 22

Rep: Reputation: 15
Setting up one independent monitor and one clone pair?


Fedora RedHat Enterprise 5
X version 7.1.1

I've been digging around for a while to try and come up with some solutions, and I'm finally caving and asking for help.

I have two PCIe nvidia cards, each with one DVI and two displayport outputs. I'm trying to set my displays up such that:

GPU-0: DVI: Primary screen, DisplayPort-0: Nothing, DisplayPort-1: Nothing
GPU-1: DVI: Seperate X-Screen, DisplayPort-1: Clone of Seperate X-Screen at higher refresh, DisplayPort-2: Nothing

Thus far I'm having a LOT of trouble even getting anything to appear on the displayports on GPU-1 at all, much less a cloned image. Here's the general idea of what I've been trying:

Set up a section "monitor" for each of the screens we want. Set a Modeline customized with the resolution / framerate we want for each.

Set up three section "device"s, each tied to a BusID; one is tied to BusID 6:0:0, two are tied to BusID 4:0:0.

Set up three section "screen"s each tied to a monitor/device combination above.

Here's what the xorg.conf currently looks like (some parts intentionally blanked out because of proprietary issues)...


Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder58)  Thu Apr 22 20:36:15 PDT 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Thu Apr 22 20:35:23 PDT 2010
# Xorg configuration created by system-config-display

Section "ServerLayout"
    Identifier     "single head configuration"
    Screen         "Screen0" 0 0
    Screen         "Screen1" RightOf "Screen0"
    Screen         "Screen2" Below "Screen1"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL 2009W"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Output1"
    ModeLine       "####x###" ##.## #### #### #### #### ### ### ### ###
    Option         "NoBandWidthTest" "TRUE"
EndSection


Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Output2"
    ModeLine       "####x###" ##.## #### #### #### #### ### ### ### ###
    Option         "NoBandWidthTest" "TRUE"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 4800"
    BusID          "PCI:6:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 4800"
#    Option         "UseEDID" "FALSE"
#    Option         "UseEDIDFreqs" "FALSE"
#    Option         "ExactModeTimingsDVI" "TRUE"
#   Option         "ModeValidation" "NoMaxPClkCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoDFPNativeResolutionCheck, AllowNon60HzDFPModes, NoVesaModes, NoEdidModes, NoPredefinedModes, NoEDIDMaxPClkCheck"
    Option         "PanelSize" "####x###"
    Option         "ConnectedMonitor" "DFP"
    Option         "TwinView" 
    BusID          "PCI:4:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 4800"
#    Option         "UseEDID" "FALSE"
#    Option         "UseEDIDFreqs" "FALSE"
#    Option         "ExactModeTimingsDVI" "TRUE"
#   Option         "ModeValidation" "NoMaxPClkCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoDFPNativeResolutionCheck, AllowNon60HzDFPModes, NoVesaModes, NoEdidModes, NoPredefinedModes, NoEDIDMaxPClkCheck"
    Option         "PanelSize" "####x###"
    Option         "ConnectedMonitor" "DFP"
    Option         "TwinView" 
    BusID          "PCI:4:0:0"
    Screen          1
EndSection


Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    SubSection     "Display"
        Depth       24
	Modes      "####x###"
    EndSubSection
EndSection



Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "TwinView" "0"
    SubSection     "Display"
        Depth       24
	Modes      "####x###"
    EndSubSection
EndSection

I know it's a gigantic mess right now as I've been experimenting a lot. If someone can suggest a basic skeleton xorg.conf for one x-screen on GPU-0, one display on GPU-1 cloned onto ANOTHER display on GPU-1 (preferably with a different frequency), it would be much appreciated.
 
Old 06-15-2010, 09:16 PM   #2
rdgreenlaw
Member
 
Registered: May 2007
Location: Newport, Maine, USA
Distribution: Debian 8.7
Posts: 73

Rep: Reputation: 18
I use Ubuntu and allow it to automatically configure the display screens (on a laptop.) The only thing that doesn't look right to me is the identifier "Single Head Configuration" since it seems that you actually have a dual head (2 display cards) system. You may want to see if you can get your OS to automatically configure the displays and then look at the configuration files to see what settings it has and adjust those settings to get what you want to see on the screens.
 
  


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
Clone a screen with monitor using different resolution phen Linux - Laptop and Netbook 1 12-31-2007 07:58 AM
TV and Monitor clone display tungaw2001 Linux - Software 4 07-10-2006 09:40 PM
clone X session into a second monitor rbirmann Linux - Hardware 0 08-06-2004 12:27 AM
Setting up an OS independent network oudent General 2 06-28-2004 05:08 AM
Tv out, clone the monitor to the TV ludeKing Linux - Hardware 1 05-26-2004 04:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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