You are not logged in.
Hello,
I'm having troubles configuring a triple monitor setup with xorg.conf. I'm following this multihead article on the wiki, but I can't achieve the wanted monitor alignment when using xorg.conf.
The following xrandr command works perfectly:
% xrandr --output DVI-I-1 --auto --output HDMI-0 --auto --right-of DVI-I-1 --output DVI-D-0 --auto --left-of DVI-I-1
The monitors are properly aligned, with DVI-I-1 on the center, DVI-D-0 on the left and HDMI-0 on the right.
Following the wiki, I tried to translate this into an xorg.conf configuration file, /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "DVI-I-1"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "DVI-D-0"
Option "LeftOf" "DVI-I-1"
EndSection
Section "Monitor"
Identifier "HDMI-0"
Option "RightOf" "DVI-I-1"
EndSection
This however does not work. I also added a Device section, even if not explicitly mentioned in the wiki, in the file /etc/X11/xorg.conf.d/05-nvidia.conf
Section "Device"
Identifier "Nvidia"
Driver "nvidia"
Option "Monitor-DVI-I-1" "DVI-I-1"
Option "Monitor-DVI-D-0" "DVI-D-0"
Option "Monitor-HDMI-0" "HDMI-0"
EndSection
Still no changes, monitors are not properly aligned.
What am I missing?
Thanks in advance!
Offline
bump
Offline
The naming of those 3 outputs (especially DVI-D-0 and DVI-I-1 ) suggests you may have a hybrid graphics setup (integrated + discrete videocard) .
please post lspci -k output .
Temporarily remove any *.conf files in /etc/X11 & /etc/X11/org.conf.d folders, start X .
post xrandr -q output and xorg log from that start.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
The naming of those 3 outputs (especially DVI-D-0 and DVI-I-1 ) suggests you may have a hybrid graphics setup (integrated + discrete videocard) .
Correct, although all 3 monitors are plugged on the NVIDIA GTX 970 discrete card. The integrated card is even disabled in the BIOS settings IIRC.
lease post lspci -k output .
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: hsw_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: mei_me
Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
Subsystem: ASUSTeK Computer Inc. Device 85c4
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 860b
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
Subsystem: ASUSTeK Computer Inc. Device 8534
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3160
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3160
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Temporarily remove any *.conf files in /etc/X11 & /etc/X11/org.conf.d folders, start X .
post xrandr -q output and xorg log from that start.
Here's xrandr -q:
% xrandr -q
Screen 0: minimum 8 x 8, current 7680 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1920x1080 60.00
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 59.94
HDMI-0 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1920x1080 60.00 59.94 50.00 29.97 25.00 23.97 60.00 50.04
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 2560x1440+5120+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1920x1080 60.00
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 59.94
I have uploaded xorg log here: http://pastebin.com/x6ZChqSv
Thanks very much for your help!
Offline
No problems in xorg log without config files.
you appear to have 3 screens of the same type , ASUS PB278 ?
Default setup without config files appears to be DVI-I-1 / HDMI-0 / DVI-D-0
Maybe just changing the cables : hdmi cable to left monitor, dvi-i cable to centre monitor etc is enough ?
---------------------------------------
I do think the 2nd wiki example "Example: dualhead configuration using relative coordinates with custom resolutions"
matches best with the descriptions in the monitor section in man xorg.conf .
Try that method again, but with the device section in 20-nvidia.conf
The order of *.conf files for X does matter.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
you appear to have 3 screens of the same type , ASUS PB278 ?
ASUS PB278QR
Default setup without config files appears to be DVI-I-1 / HDMI-0 / DVI-D-0
Maybe just changing the cables : hdmi cable to left monitor, dvi-i cable to centre monitor etc is enough ?
Yes, I thought about that, but it would introduce some other little annoyances, and if I wanted a better workaround I can just append the xrandr command at the end of my .xinit file.
The reason for this forum post was mainly to find out what's wrong in order to improve the wiki documentation, which at the moment (as far as I'm concerned) contains not working examples.
I do think the 2nd wiki example "Example: dualhead configuration using relative coordinates with custom resolutions"
matches best with the descriptions in the monitor section in man xorg.conf .Try that method again, but with the device section in 20-nvidia.conf
The order of *.conf files for X does matter.
Yeah sorry, forgot to mention it, but I've tried with both 05-nvidia.conf and 20-nvidia.conf. Same result.
Offline
There is a possibility that the wiki examples do work with mesa opensource drivers, but not with the nvidia driver.
I've checked the nvidia readme for 378.13 (should be in /usr/share/doc/nvidia-utils/README for you ) .
Chapter 12. Configuring Multiple Display Devices on One X Screen appears to be the one we want.
MetaModeOrientation description looks promising, try that with something like
Section "Screen"
Identifier "DVI-D-0"
Option "MetaModeOrientation" "LeftOf" "DVI-I-1"
EndSection
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline