You are not logged in.

#1 2015-12-09 00:39:00

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

[SOLVED] Three monitors and Xorg

I'm trying to setup three monitors with X. My setup works with xrandr but I want something permanent.

Section "Monitor"
        Identifier "DP-0"
        Option "Primary" "true"
        Option "RightOf" "DP-2"
        Option "LeftOf" "DP-4"
EndSection

Section "Monitor"
        Identifier "DP-2"
        Option "LeftOf" "DP-0"
        Option "Rotate" "Left"
EndSection

Section "Monitor"
        Identifier "DP-4"
        Option "RightOf" "DP-0"
        Option "Rotate" "Right"
EndSection

I have 2 monitors in portrait on either side of one in the center, but with that config when I move the mouse from the right of the one in the middle it goes to the one on the left and then when i go to the right of the one left it jumps to the monitor all the way on the right instead of the middle. If I run

xrandr --output DP-2 --rotate left --left-of DP-0
xrandr --output DP-4 --rotate right --right-of DP-0

When I login things work as they are supposed to.

Last edited by syamajala (2015-12-09 01:11:06)

Offline

#2 2015-12-09 01:10:35

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: [SOLVED] Three monitors and Xorg

I was able to generate a working config with nvidia-settings.

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

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
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     "Monitor0"
    VendorName     "Unknown"
    ModelName      "RX_ NX-VUE27"
    HorizSync       15.0 - 99.0
    VertRefresh     23.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 950"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DP-0: nvidia-auto-select +1080+1120, DP-2: nvidia-auto-select +0+0 {rotation=left}, DP-4: nvidia-auto-select +3640+0 {rotation=right}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

Board footer

Powered by FluxBB