Thread: Dual card setup
View Single Post
Old 04-07-12, 10:34 AM   #36
Xevious
Registered User
 
Join Date: Aug 2002
Posts: 291
Default Re: Dual card setup

Well I don't know about the copmitational device type of setup but I think You would want an Xorg to look *something* like this:

Code:
Section "ServerLayout"

    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" Above "Screen0"
    Screen      2  "Screen2" RightOf "Screen0"
    Screen      3  "Screen3" RightOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
    Option         "AIGLX" "true"
    #Option	   "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "XGL" "true"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/local/"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/CID/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    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      "MY brand monitor 0"
    HorizSync       31.5 - 117.7
    VertRefresh     48.0 - 60.0
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "MY brand monitor 2"
    HorizSync       31.5 - 117.7
    VertRefresh     48.0 - 60.0
EndSection

Section "Monitor"
    Identifier     "Monitor3"
    VendorName     "Unknown"
    ModelName      "MY brand monitor 3"
    HorizSync       31.5 - 117.7
    VertRefresh     48.0 - 60.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "MY brand monitor 1"
    HorizSync       31.5 - 117.7
    VertRefresh     48.0 - 60.0
EndSection


Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 460"
    BusID          "PCI:132:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 460"
    BusID          "PCI:132:0:0"
    Screen          2
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 460"
    BusID          "PCI:134:0:0"
    Screen          3
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 460"
    BusID          "PCI:134:0:0"
    Screen          1
EndSection



Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "metamodes" "DFP-2: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device3"
    Monitor        "Monitor3"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-2: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "DFP-0: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
This is all assuming that on each card its two DFP ports are DFP-0 and DFP-2 (this is usually right for dual DVI + HDMI port cards my gtx 460s) these would need to be DFP-0 and DFP-1 if just dual DVI cards.

Also its assuming all monitors have working/normal EDID. This would be using two cards (one on 134 PCI bus and other on 132) this would need to be edited for your actual bus ID.

Here is mine:

I can't remember how I got those values but the log file does mention them:

Code:
(II) Feb 09 00:44:36 NVIDIA(0): NVIDIA GPU GeForce GTX 460 (GF104) at PCI:132:0:0 (GPU-0)
(II) Feb 09 00:44:37 NVIDIA(1): NVIDIA GPU GeForce GTX 460 (GF104) at PCI:134:0:0 (GPU-1)
The above would result in a 3840x2400 virtual desktop. Not sure where the original comment about 7680x7680 came from. My desktop is 8000x2400:

root@sigito: 07:31 AM :~# xdpyinfo | grep -i dimen
dimensions: 8000x2400 pixels (2709x813 millimeters)


I hope this helped.
Xevious is offline   Reply With Quote