Multi GPU and Multi monitor setup not working

Hi, I have a fresh install of Manjaro 22. I have 2 gpus in my system, GTX 1080 and 960.
One monitor is connected to gtx 1080 and 2 monitors connected to 960, but for some reason the monitors connected to the 960 are disabled. I tried downloading nvidia drivers properly but that led to no output at all (Had to uninstall drivers through TTY) any ideas how to proceed? I would like to have all my monitors working. FYI I am quite new in using GNU/Linux and Manjaro. Please dont hate me :slight_smile:

Hi,
Open terminal and show your output
inxi -v7azy
mhwd -l
xrandr

Hello,

Please do not mix your install with drivers downloaded from Nvidia. They do not have the kernel modules. Use the one from MHWD.
Open up Nvidia X Server Settings and create a fixed layout from it. Enable the secondary GPU and the Monitors attached to it. Use Absolute mode. Do not save the file as will create the xorg.conf. From the Preview (by clicking on Save to X Configuration File but without saving it) just copy the new information and add/replace the old information inside the /etc/X11/mhwd.d/nvidia.conf

You will have to have the PCI ID for each GPU and the metamodes in the proper order for each. Is not perfectly straight forward but there is a logic to that madness, still, needs to be done manually in your case.

  Kernel: 6.1.1-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=d30a04af-9715-49de-9f0c-9697cddce109 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF X470-PLUS GAMING v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 6042
    date: 04/28/2022
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.53 GiB used: 2.64 GiB (17.0%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
    desc: 2x16 MiB
  Speed (MHz): avg: 2925 high: 4237 min/max: 2200/4972 boost: disabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4216 2: 2200
    3: 2200 4: 4237 5: 2200 6: 2800 7: 2200 8: 2200 9: 4223 10: 2200 11: 4228
    12: 2200 bogomips: 101446
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
    sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext
    tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GM206 [GeForce GTX 960] vendor: ASUSTeK driver: nvidia
    v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 08:00.0 chip-ID: 10de:1401
    class-ID: 0300
  Device-2: NVIDIA GP104 [GeForce GTX 1080] vendor: Gigabyte driver: nvidia
    v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 0a:00.0
    chip-ID: 10de:1b80 class-ID: 0300
  Device-3: Generalplus GENERAL WEBCAM type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-11:5 chip-ID: 1b3f:2247
    class-ID: 0102
  Device-4: USB C Video Adaptor type: USB driver: N/A bus-ID: 3-3.3:4
    chip-ID: 25a4:9311 class-ID: 1100 serial: <filter>
  Display: x11 server: X.Org v: 21.1.6 compositor: kwin_x11 driver: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
    s-diag: 610mm (24")
  Monitor-1: DP-0 pos: primary res: 1920x1080 dpi: 92
    size: 531x298mm (20.91x11.73") diag: 609mm (23.97") modes: N/A
  Monitor-2: DVI-I-1-1 size-res: N/A modes: N/A
  Monitor-3: HDMI-1-0 size-res: N/A modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.60.11 renderer: NVIDIA GeForce GTX
    1080/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: NVIDIA GM206 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel bus-ID: 1-1.3:4 v: kernel chip-ID: 046d:0aaa pcie:
    gen: 1 class-ID: 0300 speed: 2.5 GT/s serial: <filter> lanes: 4 link-max:
    gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 10de:0fba
    class-ID: 0403
  Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 0a:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-3: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-4: Logitech Logitech G PRO X Gaming Headset type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-5: Generalplus GENERAL WEBCAM type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-11:5 chip-ID: 1b3f:2247
    class-ID: 0102
  Sound API: ALSA v: k6.1.1-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8168 v: 8.050.03-NAPI modules: r8169
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: cdc_ncm
    bus-ID: 4-3.1:3 chip-ID: 0b95:1790 class-ID: 0a00 serial: <filter>
  IF: enp12s0f3u3u1c2 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 9.78 TiB used: 23.16 GiB (0.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: SanDisk model: EMTEC X300 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: ECFM53.1 temp: 27.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Phison
    model: E12-512G-SSD-B16-BB1 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: ECFM22.4 temp: 26.9 C scheme: MBR
  ID-3: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WDS100T1B0A-00H9H0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 10WD
    scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST3000VN007-2AH16M
    size: 2.73 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5980 serial: <filter> rev: SC60 scheme: GPT
  ID-5: /dev/sdc maj-min: 8:32 vendor: Toshiba model: TR150 size: 223.57 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 12.3 scheme: GPT
  ID-6: /dev/sdd maj-min: 8:48 vendor: Seagate model: ST3000DM007-1WY10G
    size: 2.73 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5425 serial: <filter> rev: 0001 scheme: GPT
  ID-7: /dev/sde maj-min: 8:64 vendor: Western Digital
    model: WD10EZEX-00ZF5A0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: N/A serial: <filter> rev: 0A80
    scheme: MBR
  ID-8: /dev/sdf maj-min: 8:80 vendor: Western Digital model: WD10EADS-00M2B0
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: N/A serial: <filter> rev: 0A01 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 49.83 GiB size: 48.74 GiB (97.83%) used: 22.36 GiB (45.9%)
    fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:8 label: N/A
    uuid: d30a04af-9715-49de-9f0c-9697cddce109
  ID-2: /boot/efi raw-size: 512.2 MiB size: 511.2 MiB (99.80%)
    used: 316 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:7 label: N/A
    uuid: ADB1-3652
  ID-3: /home raw-size: 531.34 GiB size: 521.93 GiB (98.23%)
    used: 816.2 MiB (0.2%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:9 label: N/A
    uuid: 6110f124-2514-4104-8f64-eac135ae6f38
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:3 size: 100 MiB fs: vfat label: N/A
    uuid: C481-8C83
  ID-2: /dev/nvme0n1p2 maj-min: 259:4 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:5 size: 349.2 GiB fs: ntfs label: mainSSD
    uuid: 92B88519B884FCCB
  ID-4: /dev/nvme0n1p4 maj-min: 259:6 size: 533 MiB fs: ntfs label: N/A
    uuid: B06EFA516EFA0FB8
  ID-5: /dev/nvme1n1p1 maj-min: 259:2 size: 476.94 GiB fs: ntfs
    label: otherM.2SSD uuid: 944260D94260C21A
  ID-6: /dev/sda1 maj-min: 8:1 size: 931.51 GiB fs: ntfs label: 1TB SSD
    uuid: D6C479B7C4799B07
  ID-7: /dev/sdb1 maj-min: 8:17 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-8: /dev/sdb2 maj-min: 8:18 size: 2.73 TiB fs: ntfs label: 3TB BACKUP
    uuid: 4A3ED17B3ED1610D
  ID-9: /dev/sdc1 maj-min: 8:33 size: 223.57 GiB fs: ntfs
    label: 240GB SSD For Work uuid: 10FC7A54FC7A33D6
  ID-10: /dev/sdd1 maj-min: 8:49 size: 2.73 TiB fs: ntfs label: 3TB HDD
    uuid: 4E78758778756F19
  ID-11: /dev/sde1 maj-min: 8:65 size: 931.51 GiB fs: ntfs
    label: 1TB Download HDD uuid: 70F473DEF473A54E
  ID-12: /dev/sdf1 maj-min: 8:81 size: 931.51 GiB fs: <superuser required>
    label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 14 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-1:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-1.3:4 info: Logitech Logitech G PRO X Gaming Headset
    type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 046d:0aaa class-ID: 0300
    serial: <filter>
  Device-2: 1-1.4:6 info: Alcor Micro Multi Flash Reader type: Mass Storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 058f:6366 class-ID: 0806 serial: <filter>
  Device-3: 1-2:3 info: Logitech Cordless Mouse Receiver
    type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s power: 98mA chip-ID: 046d:c539 class-ID: 0300
  Device-4: 1-11:5 info: Generalplus GENERAL WEBCAM type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1b3f:2247 class-ID: 0102
  Hub-3: 2-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-5: 3-3:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Hub-6: 3-3.2:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-3.2.2:5 info: Logitech PRO Gaming Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 500mA
    chip-ID: 046d:c339 class-ID: 0300 serial: <filter>
  Device-2: 3-3.2.4:6 info: Glorious Model D Wireless type: Mouse,Keyboard
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 258a:2023 class-ID: 0301 serial: <filter>
  Device-3: 3-3.3:4 info: USB C Video Adaptor type: Billboard driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s chip-ID: 25a4:9311 class-ID: 1100
    serial: <filter>
  Hub-7: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-8: 4-3:2 info: Genesys Logic Hub ports: 4 rev: 3.2 speed: 5 Gb/s
    chip-ID: 05e3:0626 class-ID: 0900
  Device-1: 4-3.1:3 info: ASIX AX88179 Gigabit Ethernet
    type: Communication,CDC-Data driver: cdc_ncm interfaces: 2 rev: 3.2
    speed: 5 Gb/s power: 184mA chip-ID: 0b95:1790 class-ID: 0a00
    serial: <filter>
Sensors:
  System Temperatures: cpu: 38.8 C mobo: N/A gpu: nvidia temp: 27 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
Info:
  Processes: 291 Uptime: 10m wakeups: 0 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
  pkgs: 1142 libs: 326 tools: pamac pm: flatpak pkgs: 0 Shell: Zsh v: 5.9
  default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.24
    ~  mhwd -l                                                                                        ✔ 
> 0000:08:00.0 (0300:10de:1401) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
    video-nvidia-390xx            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:0a:00.0 (0300:10de:1b80) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
    video-nvidia-390xx            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:04:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


    ~  xrandr                                                                                         ✔ 
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080     60.00 + 144.00*  119.98    99.93    59.94    50.00    23.98  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024    143.85   119.96    75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768     143.86   119.99    75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DVI-I-1-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1-1 connected (normal left inverted right x axis y axis)
   3840x2160     60.00 +  59.94    50.00    30.00    29.97  
   2560x1440     59.95  
   1920x1080     59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   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    72.81    59.94  
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  71.91    59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      70.07    60.00  
   800x600       72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       72.81    59.94  
DP-1-4 disconnected (normal left inverted right x axis y axis)
DP-1-5 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x1c3) 148.350MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080 (0x1c4) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1680x1050 (0x1c6) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1600x900 (0x1c7) 108.000MHz +HSync +VSync
        h: width  1600 start 1624 end 1704 total 1800 skew    0 clock  60.00KHz
        v: height  900 start  901 end  904 total 1000           clock  60.00Hz
  1280x1024 (0x1ca) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x1cb) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x800 (0x1cc) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x720 (0x1cd) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x1ce) 74.180MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1280x720 (0x1cf) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1024x768 (0x1d2) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x1d3) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x1d4) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x1d5) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x576 (0x1d6) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x1d7) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x1d8) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x1d9) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  1920x1080 (0x1bf) 148.500MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz

Is it possible to find a step-by-step guide since X server outputs an error that not all options can be enabled, when trying to enable at least one monitor…Again, im most probably stupid and missing something.

The best resource i know of is Multihead - ArchWiki - start from there and also check the dedicated one for nvidia. Just keep in mind that xorg.conf file should be in your case the /etc/X11/mhwd.d/nvidia.conf

The problem is that I cannot enable properly any other monitors since when using xrandr --listmonitors
it only detects 1 monitor (which is on my 1080) and when trying to use these instructions :
https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-manjaro-linux
I only get a black screen on boot and nothing else…

Avoid using xrandr and also avoid the drivers from Nvidia Site and use the ones from our repos and install them via MHWD.

To enable the monitors, start with the System Settings and then make use of Nvidia X Server to make a fixed layout that match on both Settings. otherwise the ~/.local/share/kscreen will create you more issues than necessary and you will have to delete that folder over and over again.

I dont think I understood you correctly (Literally try and explain things to me as if Im five, since again Im new to GNU/Linux) but whenever I try to apply these settings, I only get a blank screen.And again, X Server complains that “The current settings cannot be completely applied” and when I press Apply What is possible, nothing changes. I used these instructions to install the drivers :

https://wiki.manjaro.org/index.php/Configure_NVIDIA_(non-free)_settings_and_load_them_on_Startup
https://paste.pics/399f3d7b8e4299bcc0d12106f2f7ade7
https://paste.pics/d6fbeb0d2d82dc5304f89cf073ef3245

Bring your parents please. I will explain to them.

On System Settings all 3 monitors are enabled. That is what i see from the screenshot. Now you set the Layout in Nvidia X Server Settings with both GPU’s and the 3 Monitors and you append the config information that is new - click on Save X to Configuration but without saving it you click on Preview and copy it and paste the correct part into to the /etc/X11/mhwd.d/nvidia.conf and then you reboot the system.

If unsure, share the content of the current /etc/X11/mhwd.d/nvidia.con and also the information you get from Preview once you set the Layout in Nvidia X Server Settings.

Nice, real funny.
The reason that I have a tick in the Enabled box is that otherwise I have no other way to properly set the layout.
Im not sure but if it will add any duplication into the nvidia.con
Nvidia Preview :

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 525.60.11

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 1920 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" LeftOf "Screen0"
    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      "BenQ ZOWIE XL LCD"
    HorizSync       30.0 - 160.0
    VertRefresh     56.0 - 144.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung LU28R55"
    HorizSync       30.0 - 135.0
    VertRefresh     40.0 - 60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Samsung C24F390"
    HorizSync       30.0 - 82.0
    VertRefresh     48.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1080"
    BusID          "PCI:10:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 960"
    BusID          "PCI:8:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 960"
    BusID          "PCI:8:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "1920x1080_144 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-1-1: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "HDMI-1-0: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

And full nvidia.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 525.60.11

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

++++

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 525.60.11

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 1920 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" LeftOf "Screen0"
    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      "BenQ ZOWIE XL LCD"
    HorizSync       30.0 - 160.0
    VertRefresh     56.0 - 144.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung LU28R55"
    HorizSync       30.0 - 135.0
    VertRefresh     40.0 - 60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Samsung C24F390"
    HorizSync       30.0 - 82.0
    VertRefresh     48.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1080"
    BusID          "PCI:10:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 960"
    BusID          "PCI:8:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 960"
    BusID          "PCI:8:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "1920x1080_144 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-1-1: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "HDMI-1-0: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

moderator edit - please use code tags next time

I also rebooted the system after all the instruction you gave me and it only gave me a blank screen with the mouse cursor and thats it…

Here is some base ground for the config to work. Is all in the wiki, but indeed is not as digestible as cookies with milk.

It seems you already added what you had in Preview to the nvidia.conf but without replacing the entries with the new ones, but rather adding them at the bottom.

  1. The config can’t have the
Section "ServerLayout"
    Identifier     "Layout0"

twice … Xorg does not make the difference and hence will choke.

  1. In your case you have 2 GPU’s but you managed to make 3 from them. Your GeForce GTX 960 is "Device1" and "Device2" at the same time … Will not work that way.

  2. When using Screen0 and Screen1 there will be no way to move application windows from one to another, unless TwinView is used via "Xinerama" "1" instead of the default "Xinerama" "0" …

  3. When using metamodes with fixed/absolute position for one Monitor, then do it for all instead of nvidia-auto-select +0+0 …

The way you created the config is quite convoluted and i can’t decipher what intentions are behind your choices from there. Replace everything inside the /etc/X11/mhwd.d/nvidia.conf with this:

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

Section "Files"
EndSection

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

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BenQ ZOWIE XL LCD"
    HorizSync       30.0 - 160.0
    VertRefresh     56.0 - 144.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung LU28R55"
    HorizSync       30.0 - 135.0
    VertRefresh     40.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1080"
    BusID          "PCI:10:0:0"
    Option         "TripleBuffer"  "On"
    Option  "ConnectToAcpid"    "Off"
    Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 960"
    BusID          "PCI:8:0:0"
    Option         "TripleBuffer"  "On"
    Option  "ConnectToAcpid"    "Off"
    Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
 

Is more generic and semi dynamic layout instead of a fixed one, but at least you should have a better starting point, once you reboot the system and no black screen, if my assessment was correct … but sometimes i’m not spot on things …

1 Like

I replaced everything but when I Enable the monitors, I just get a blank screen up with the mouse cursor untill the changes revert back.

And when you have that mouse cursor, if you switch TTY with Ctrl+Alt+F2 and then back to TTY1 with Ctrl+Alt+F1 … can you see the desktop ?

Maybe your system needs to enable early KMS. See here:

When I press Ctrl+Alt+F1 I dont see the desktop, only again blank screen with the mouse cursor and after 3-4 seconds the changes revert, disabling the other 2 monitors. I tried enabling early KMS using the link you gave, but it made no difference.

This worked for me! I could not get 2 virtual displays Linux on Linux, until I saw this:

The thing is that Im not running Manjaro in a VM…I have it dual booted with windows.

Welp…I guess im just F’ed am I?

I do use xfce with nouveau, have 2 different nvidia cards, and 2 monitors.

BUT i do use multiseat, and i do not play, but use it as a workhorse.

I don’t have any conf-files (xorg.conf, nvidia …) and it works !

Multi-monitor did work out of the box. multiseat is a bit more difficult.