Second screen is not working on dual Nvidia GPU setup

Fair warning: I’m still kind of new to linux but I’m trying to learn. I’m running manjaro GNOME on my desktop with two Nvidia GPUs: an RTX 2060 and a GTX 1650, with a display connected to each. the display on the primary gpu (the 2060) works fine, but the one connected to the secondary does not work. In the Nvidia X server settings it detects the monitor, but it’s disabled. I’ve tried to enable the monitor and save the config file to both ~/etc/X11/xorg.conf & ~/etc/X11/mhwd.d/nvidia.conf but to no avail. And yes, I’m using the proprietary drivers. Here are the results of some common troubleshooting commands I’ve found on similar posts

inxi --admin --verbosity=7 --filter --no-host --width

System:
Kernel: 6.1.41-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=75fae1f0-0793-4782-a5fd-4404522209a9 rw quiet splash
udev.log_priority=3
Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: MPG Z390 GAMING PLUS (MS-7B51) v: 1.0
serial: UEFI-[Legacy]: American Megatrends v: 1.60
date: 03/27/2019
Battery:
Message: No system battery data found. Is one present?
Memory:
System RAM: total: 64 GiB available: 62.74 GiB used: 3.59 GiB (5.7%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i7-9700F bits: 64 type: MCP arch: Coffee Lake
gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xF8
Topology: cpus: 1x cores: 8 smt: cache: L1: 512 KiB
desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 12 MiB
desc: 1x12 MiB
Speed (MHz): avg: 1350 high: 3000 min/max: 800/4700 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
5: 3000 6: 800 7: 800 8: 3000 bogomips: 48016
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
dtherm dts ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe
pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand
rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2
ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology
xtpr
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
Type: retbleed mitigation: Enhanced IBRS
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: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds mitigation: Microcode
Type: tsx_async_abort mitigation: TSX disabled
Graphics:
Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: Hewlett-Packard
driver: nvidia v: 535.86.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-07) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f08
class-ID: 0300
Device-2: NVIDIA TU116 [GeForce GTX 1650 SUPER] vendor: Micro-Star MSI
driver: nvidia v: 535.86.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-07) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.0 chip-ID: 10de:2187
class-ID: 0300
Display: x11 server: X .org v: 1.21.1.8 with: Xwayland v: 23.1.2
compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia,nvidia
display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: HDMI-0 pos: primary res: 1920x1080 hz: 60 dpi: 90
size: 544x303mm (21.42x11.93") diag: 623mm (24.52") modes: N/A
Monitor-2: HDMI-1-0 size-res: N/A modes: N/A
API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce RTX
2060/PCIe/SSE2 direct-render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA TU106 High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
Device-3: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 10de:1aeb
class-ID: 0403
Device-4: Razer USA Base Station V2 Chroma
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 mode: 2.0 bus-ID: 1-1.2:7 chip-ID: 1532:0f2a class-ID: 0300
API: ALSA v: k6.1.41-1-MANJARO status: kernel-api tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: JACK v: 1.9.22 status: off tools: N/A
Server-3: PipeWire v: 0.3.75 status: off with: pipewire-media-session
status: active tools: pw-cli
Server-4: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac:
IP v4: type: dynamic noprefixroute scope: global
broadcast:
IP v6: type: dynamic noprefixroute scope: global
IP v6: type: dynamic noprefixroute scope: global
IP v6: type: noprefixroute scope: link
WAN IP:
Bluetooth:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.82 TiB used: 60.63 GiB (3.3%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: fw-rev: 5B2QGXA7 temp: 38.9 C
scheme: MBR
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: fw-rev: 1B6Q scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 931.51 GiB size: 915.81 GiB (98.31%) used: 60.63 GiB (6.6%)
fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
uuid: 75fae1f0-0793-4782-a5fd-4404522209a9
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/sda1 maj-min: 8:1 size: 529 MiB fs: ntfs label: Recovery
uuid: 2A7E16997E165E3F
ID-2: /dev/sda2 maj-min: 8:2 size: 99 MiB fs: vfat label: N/A
uuid: 5E18-33FC
ID-3: /dev/sda3 maj-min: 8:3 size: 16 MiB fs:
label: N/A uuid: N/A
ID-4: /dev/sda4 maj-min: 8:4 size: 930.88 GiB fs: ext4 label: N/A
uuid: 52db5b42-9668-41f5-b869-169ed2c9c6bc
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-2: 1-1:2 info: Realtek RTS5411 Hub ports: 4 rev: 2.1
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0bda:5411
class-ID: 0900
Device-1: 1-1.1:4 info: Razer USA Base Station V2 Chroma type: HID
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 500mA chip-ID: 1532:0f20 class-ID: 0300
Device-2: 1-1.2:7 info: Razer USA Base Station V2 Chroma type: audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
chip-ID: 1532:0f2a class-ID: 0300
Device-3: 1-2:3 info: Razer USA RZ03-0338 Gaming Keyboard [Ornata V2]
type: keyboard,mouse driver: hid-generic,usbhid interfaces: 4 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
chip-ID: 1532:025d class-ID: 0300
Hub-3: 1-5:10 info: Genesys Logic Hub ports: 2 rev: 2.1
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 05e3:0610
class-ID: 0900
Device-1: 1-5.1:11 info: Razer USA Gaming Mouse [Basilisk Ultimate
Wireless Receiver] type: mouse,keyboard driver: hid-generic,usbhid
interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
power: 500mA chip-ID: 1532:0088 class-ID: 0300
Device-2: 1-5.2:12 info: Razer USA RC30-030502 Mouse Dock
type: mouse,keyboard driver: hid-generic,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
chip-ID: 1532:007e class-ID: 0300
Hub-4: 2-0:1 info: super-speed hub ports: 10 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-5: 2-3:2 info: Realtek Hub ports: 2 rev: 3.2
speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0bda:0411
class-ID: 0900
Hub-6: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-7: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-8: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-9: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 44.0 C pch: 52.0 C mobo: N/A gpu: nvidia temp: 41 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 43%
Info:
Processes: 267 Uptime: 19m wakeups: 0 Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 13.1.1 alt: 12 clang: 15.0.7 Packages: 1333
pm: pacman pkgs: 1311 libs: 364 tools: gnome-software,pamac pm: flatpak
pkgs: 22 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.28

lspci -k

00:00.0 Host bridge: Intel Corporation 8th/9th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] (rev 0d)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] 8th/9th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
Kernel driver in use: skl_uncore
Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 0d)
Subsystem: Micro-Star International Co., Ltd. [MSI] 6th-10th Gen Core Processor PCIe Controller (x16)
Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH Thermal Controller
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH USB 3.1 xHCI Host Controller
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Cannon Lake PCH Shared SRAM
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH HECI Controller
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
DeviceName: Onboard - SATA
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH SATA AHCI Controller
Kernel driver in use: ahci
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH PCI Express Root Port
Kernel driver in use: pcieport
00:1b.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
Subsystem: Intel Corporation Cannon Lake PCH PCI Express Root Port
Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH PCI Express Root Port
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Z390 Chipset LPC/eSPI Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Z390 Chipset LPC/eSPI Controller
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
DeviceName: Onboard - Sound
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH cAVS
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH SPI Controller
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
DeviceName: Onboard - Ethernet
Subsystem: Micro-Star International Co., Ltd. [MSI] Ethernet Connection (7) I219-V
Kernel driver in use: e1000e
Kernel modules: e1000e
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] (rev a1)
Subsystem: Hewlett-Packard Company TU106 [GeForce RTX 2060 Rev. A]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
Subsystem: Hewlett-Packard Company TU106 High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
Subsystem: Hewlett-Packard Company TU106 USB 3.1 Host Controller
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
01:00.3 Serial bus controller: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1)
Subsystem: Hewlett-Packard Company TU106 USB Type-C UCSI Controller
Kernel driver in use: nvidia-gpu
Kernel modules: i2c_nvidia_gpu
03:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1650 SUPER] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 [GeForce GTX 1650 SUPER]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
03:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB 3.1 Host Controller
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
03:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB Type-C UCSI Controller
Kernel driver in use: nvidia-gpu
Kernel modules: i2c_nvidia_gpu
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
Kernel driver in use: nvme
Kernel modules: nvme

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 4 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x36f cap: 0x2, Sink Output crtcs: 4 outputs: 4 associated providers: 1 name:NVIDIA-G0

I dont know about it being related … but a few things …

Are you using legacy BIOS instead of UEFI ?
You can run the following to check:

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

You have BIOS updates. Do that.
(it includes updates for CPU microcode,GPU performance, VGA compatibility, etc)
https://www.msi.com/Motherboard/MPG-Z390-GAMING-PLUS/support

ok, updated the motherboard and it didn’t fix it. The command you suggested outputs BIOS but in the motherboard settings I have it set to “Legacy + UEFI” because I can’t boot into Manjaro if I choose the EUFI option. And btw (I forgot to put this in the original post), GNOME display settings can detect the monitor, but it’s in mirror mode, even though there is nothing on the 2nd screen. when I try to switch it to join and click apply the setting reverts back to mirror when “Keep these display settings?” pops up. Any other ideas?