LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2006, 05:03 PM   #1
CalDude
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
4 Monitor Setup - Help Needed.


Hi, I have two nVidia video cards, one PCIE the other PCI, each connected to two monitors. I am having real trouble setting these up. My goal is to have each monitor be a seperate desktop (no spanning), each at a different resolution. I'm using fedora 4, but the built in display manager is too weak to do this, and I cant figure out how to modify the xorg.conf file correctly. Any help would be appreciated, thanks,

CalDude
 
Old 01-21-2006, 05:44 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I do not know how to do this. I don't know if the hardware is intended to work that way---do you know if it is possible?
Above all, I cannot imagine why you would WANT to.
 
Old 01-21-2006, 07:23 PM   #3
CalDude
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0
It's possible in windows, so yes, it's possible. As for why... I know you said you couldn't, but really try to use your imagination...

Both graphics cards have two outputs, but anytime ive tried to use TwinView it spans the desktop. While spanning is fine with me, I need to be able to organize the monitor arrangement at the screen level, not at the device level, something I havent been able to do.

Optimal arrangement: [B1][A1][B2] || [A2] ; || indicates seperate desktop
Satisfactory arrangement: [B1][A1][B2][A2]

A = Video Card 1 (nVidia 6600 PCIE); A1 or A2 = Monitor 1 or 2
B = Video Card 2 )nVidia MX400 PCI?); B1 or B2 = Monitor 1 or 2
 
Old 01-21-2006, 10:01 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 69
Quote:
Originally Posted by CalDude
Hi, I have two nVidia video cards, one PCIE the other PCI, each connected to two monitors. I am having real trouble setting these up. My goal is to have each monitor be a seperate desktop (no spanning), each at a different resolution. I'm using fedora 4, but the built in display manager is too weak to do this, and I cant figure out how to modify the xorg.conf file correctly. Any help would be appreciated, thanks,

CalDude
Here is my xorg.conf file it shows you how to get two separate screens from one card dual head screens.

Code:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "ServerLayout"
#       Identifier     "XFree86 Configured"
        Identifier      "DualHead"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
#       Option         "Xinerama" "on"
EndSection

#Section "Extensions"
#       Option  "Composite" "Enable"
#EndSection


Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
#       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/lib/X11/fonts/misc"
#       FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
#       FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
        Load    "v4l"
        Load    "xtrap"
        Load    "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbModel"      "pc105"
        Option      "XkbLayout"     "us"
#        Option      "XkbOptions"     "crtl:nocaps"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons"  "True"
        Option      "ZAxisMapping"  "4 5"
EndSection

# NEC P1250 +
Section "Monitor"
       DisplaySize      384   288     # mm
       Identifier   "Monitor0"
       VendorName   "NEC"
       ModelName    "P1250 +"
       HorizSync    31-110 # DDC-probed
       VertRefresh  55-160 # DDC-probed
       Option       "DPMS"  "true"
       Option       "BackingStore" "On"
EndSection

# KDS Visual Sensations VS 190i
Section "Monitor"
        DisplaySize     350     265     # mm
        Identifier  "Monitor1"
        Option      "DPMS"  "true"
        Option      "BackingStore" "On"
        VendorName  "KDS"
        ModelName   "KDS1985"
        HorizSync   30 - 95 # DDC-probed
        VertRefresh 50 - 120 # DDC-probed
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Identifier  "Card0"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "1"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
#       Option      "IgnoreEDID"  "on"
        Option      "IgnoreDisplayDevices"  "TV"
#       Option      "NoBandWidthTest" "1"
#       Option      "AllowGLXWithComposite" "true"
        Screen       0
        VendorName  "PNY"
        BoardName   "Verto 5900SE NV35 [GeForce FX 5900SE]"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"                     # [<bool>]
        #Option     "crt_display"               # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "linear"                    # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "panel_display"             # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card1"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "RenderAccel" "true"
        Option      "BackingStore" "On"
#       Option      "IgnoreEDID" "on"
#       Option      "NoBandWidthTest" "1"
#       Option      "AllowGLXWithComposite" "true"
        Screen      1
        Option      "IgnoreDisplayDevices"  "TV"
        VendorName  "PNY"
        BoardName   "Verto 5900SE NV35 [GeForce FX 5900SE]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth  24
        SubSection "Display"
                Depth     24
                Modes     "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultDepth 24

        SubSection "Display"
                Depth     24
                Modes    "1024x768" "640x480"
        EndSubSection
EndSection

The important piece to have is the Load "xtrap" in the modules section this allows the mouse to move between the screens. In the Server Layout section you would need to add two more screens a Screen 2 and 3 you can use RightOf, Above and Below in the lines to position where the monitors will be when you move the mouse off the edge of the screens so you will have to play with these until you get it working like you want. You will need to have four separate monitor sections of course for each of your monitors putting in the correct settings for the vertical and horizontal refresh rates. Now for the Device section you can see that I have that both are using the one card you tell X this by using the BusID "PCI:1:0:0" value you can find the numbers by looking in your /var/log/Xorg.0.log file for a section like this.

Code:
(--) PCI: (0:10:0) Brooktree Corporation Bt878 Video Capture rev 17, Mem @ 0xfdffd000/12
(--) PCI:*(1:0:0) nVidia Corporation NV35 [GeForce FX 5900XT] rev 161, Mem @ 0xfb000000/24, 0xe8000000/27
The Screen ? in each of the sections tells X which screen to display on so you would need to have two more Device sections both of them using the busid of the second card with a new screen number. The Section "Screen" at the bottom is where you tie everything together you will of course need four of them as well when making these sections it is best to have named all the other Identifier's monitors, cards and screens in the cards section the with easy to put together numbers so you will not get them confused. If this is not enough to help you figure it out can you post the log file I mention above and the correct rates for each of your monitors plus which ports on each card they are connected.

Edit: Ah one more thing in my experience with two such dual cards the connector at the bottom of the card becomes the primary one when two monitors are connected so the second screen you define for each card should be associated to the monitor/screen plugged into topmost port on the card.

Last edited by HappyTux; 01-21-2006 at 10:03 PM.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
default monitor on nvidia / dual monitor setup fenderog SUSE / openSUSE 3 05-01-2009 06:36 PM
3 Monitor setup, Only 1 Monitor can play videos. kierl Linux - Software 0 01-05-2005 08:45 PM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 02:49 AM
Setup help needed 2 RecoilUK Linux - Networking 12 09-05-2001 12:08 PM
Setup help needed RecoilUK Linux - Networking 7 09-01-2001 04:45 PM


All times are GMT -5. The time now is 02:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration