You are not logged in.

#1 2015-11-25 23:54:36

jarshvor
Member
Registered: 2012-07-26
Posts: 31

sharing xorg.conf across multiple GPUs, triple-head, nouveau Xinerama

Not completely sure if this follows forum etiquette, as it is mostly a note-to-self, but I guess others might find it useful, so I figured I might as well post it here.

It is just my xorg.conf for triple-head across two GPUs (onboard and discrete Nvidia), along with some rambling comments at the beginning to help me remember what I got working, how, and what used to work.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 319.23  (buildmeister@swio-display-x86-rhel47-11)  Thu May 16 20:17:05 PDT 2013

## Above comments are to be scratched.
##
## 25-Nov-2015
##
## This Xorg files is proven to provide triple-head support with onboard [nForce 780a/980a SLI] and [GeForce GT 630].
## BIOS is configured to have the onboard graphics as primary.
## KDE/KDM use the left-most monitor as primary.
## (There is only one X Screen)nope, theres 3. Windows can freely move across all three monitors.
## Desktop effects and transparancy work.
## It works with the open source driver nouveau.
##
## Name           : xf86-video-nouveau
## Version        : 1.0.11-3
## Name           : mesa-libgl
## Version        : 11.0.4-1
## Name           : xorg-server
## Version        : 1.17.4-1
##
## Linux 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux
##
## There is no CUDA support since the nvidia proprietary driver is not used/installed.
## Support for the nvidia proprietary driver did exist at some point,
## but was dropped I think at version nvidia 319 (something to do with Xinerama).
## Symptoms where Xorg segfault when starting desktop environement.
## I am not sure if it was ever fixed in the nvidia closed source driver.
## Support for the onboard nForce chip has been dropped since [nvidia]-340.32-2 or so, and one is forced to use [nvidia-340xx] instead.
## For that reason drivers for the onboard and discrete graphics card cannot coexist at the current state of things.
## Xinerama is said to forcebly disable hardware acceleration (compositing), transparency and effects, but it works here.
## 
## Further reading can be found among the following:
## https://bbs.archlinux.org/viewtopic.php?id=163319
## https://bbs.archlinux.org/viewtopic.php?id=163576
## https://bbs.archlinux.org/viewtopic.php?id=140254

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 1280 0
    Screen      2  "Screen2" 2560 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Acer AL1951"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Chi Mei Optoelectronics corp. CMC 17 AD"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ProView/EMC/PTS XA7-17i"
    HorizSync       31.0 - 65.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 630"
    BusID          "PCI:5:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
    BoardName      "nForce 980a/780a SLI"
    BusID          "PCI:2:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 630"
    BusID          "PCI:5:0:0"
    Screen          0
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0; CRT: nvidia-auto-select +0+0; CRT: 1280x1024_60_0 +0+0; CRT: 1024x768 +0+0; CRT: 1024x768_70 +0+0; CRT: 1024x768_60 +0+0; CRT: 800x600 +0+0; CRT: 800x600_72 +0+0; CRT: 800x600_60 +0+0; CRT: 640x480 +0+0; CRT: 640x480_72 +0+0; CRT: 640x480_60 +0+0; CRT: nvidia-auto-select +0+0 {viewportout=1280x800+0+112}; CRT: nvidia-auto-select +0+0 {viewportout=1280x720+0+152}"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

P.S.
Next time I should just get a card with (3)+ output support.

Offline

Board footer

Powered by FluxBB