Can't get both monitors to work

System:
Kernel: 6.2.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=38cab0cc-1a7d-43bb-b19f-ecb1771a9341 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.2 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial:
Mobo: ASUSTeK model: TUF GAMING B550M-PLUS v: Rev X.0x
serial: UEFI: American Megatrends v: 3001
date: 02/02/2023
CPU:
Info: model: AMD Ryzen 5 3600 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: 0x8701030
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: 3717 high: 4179 min/max: 2200/4208 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4179 2: 3600
3: 3600 4: 3600 5: 3367 6: 3600 7: 3600 8: 3600 9: 4089 10: 3600 11: 3600
12: 4178 bogomips: 86407
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti Lite Hash Rate] vendor: ASUSTeK
driver: nvidia v: 525.89.02 alternate: nouveau,nvidia_drm non-free: 525.xx+
status: current (as of 2023-02) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 4
link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.0
chip-ID: 10de:2489 class-ID: 0300
Display: x11 server: [X.Org](http://X.Org) v: 21.1.7 with: Xwayland v: 22.1.8
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 93 s-size: 698x393mm (27.48x15.47")
s-diag: 801mm (31.54")
Monitor-1: DP-2 size-res: N/A modes: N/A
Monitor-2: DP-4 pos: primary res: 2560x1440 dpi: 109
size: 596x335mm (23.46x13.19") diag: 684mm (26.92") modes: N/A
API: OpenGL v: 4.6.0 NVIDIA 525.89.02 renderer: NVIDIA GeForce RTX 3060
Ti/PCIe/SSE2 direct-render: Yes
Audio:
Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 4
link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1
chip-ID: 10de:228b class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 08:00.4 chip-ID: 1022:1487 class-ID: 0403
Sound API: ALSA v: k6.2.1-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 06:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac:
Drives:
Local Storage: total: 2.43 TiB used: 79.95 GiB (3.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Silicon Power
model: SPCC M.2 PCIe SSD size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial:
rev: ECFM22.6 temp: 27.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: rev: 0001 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Cruzer Dial
size: 29.25 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
ID-4: /dev/sdc maj-min: 8:32 type: USB model: USB DISK 3.0
size: 115.45 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: rev: PMAP scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 227.27 GiB size: 227.27 GiB (100.00%)
used: 79.95 GiB (35.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 908 KiB (0.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 227.27 GiB size: 227.27 GiB (100.00%)
used: 79.95 GiB (35.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 227.27 GiB size: 227.27 GiB (100.00%)
used: 79.95 GiB (35.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 227.27 GiB size: 227.27 GiB (100.00%)
used: 79.95 GiB (35.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.25 GiB used: 512 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 53.8 C mobo: N/A gpu: nvidia temp: 52 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 282 Uptime: 9m wakeups: 0 Memory: 31.25 GiB used: 2.73 GiB (8.7%)
Init: systemd v: 253 default: graphical tool: systemctl Compilers:
gcc: 12.2.1 Packages: pm: pacman pkgs: 1464 libs: 478 tools: octopi,paru
Shell: fish v: 3.6.0 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.25
Garuda (2.6.15-1):
System install date: 2023-02-17
Last full system update: 2023-03-03
Is partially upgraded: No
Relevant software: snapper NetworkManager mkinitcpio nvidia-dkms
Windows dual boot: No/Undetected
Failed units:

Can't get both my monitors to work, however, looks like both are detected. I took some advice I searched up and I tried editing and then deleting the text files in ~/.local/share/kscreen/outputs/. Both of my screens were set to the same DisplayPort, so I tried manually changing the text files to the correct phyical port and that did not work. Then, I tried deleting both files in hopes that they would reset themselves, but only one monitor was repopulated.

Both are detected:

Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected (normal left inverted right x axis y axis)
2560x1440 59.94 + 169.83 164.80 143.86 119.88
1920x1080 143.85 119.88 60.00 59.94
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x720 119.88 59.94
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-3 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-4 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 596mm x 335mm
2560x1440 59.94 + 169.83 164.80* 143.86 119.88
1920x1080 143.85 119.88 60.00 59.94
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x720 119.88 59.94
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-5 disconnected (normal left inverted right x axis y axis)

Here is the file for one of them (there was two, like I said I deleted them in hopes when I reboot they would be reset, but only one was reset).

{
"id": "some random numbers",
"metadata": {
"fullname": "xrandr-GIGA-BYTE TECHNOLOGY CO., LTD.-M27Q-21330B004564",
"name": "DP-4"
},
"mode": {
"refresh": 164.80233764648438,
"size": {
"height": 1440,
"width": 2560
}
},
"overscan": 0,
"rgbrange": 0,
"rotation": 1,
"scale": 1,
"vrrpolicy": 2
}

Welcome :slight_smile:

I edit your text, please use next time
~~~
Terminal text
~~~
then others can easily expand or copy the text.

terminal text
then others can easily expand or copy the text in the view. Move the mouse pointer over it in the upper right corner.

Move the mouse pointer over it in the upper right corner.

Did you try

sudo nvidia-settings

?

1 Like

If SGS' suggestion did not work for you, here are a coupe of things I have seen.

  1. In 'System Settings->Hardware->Display and Monitor' try to drag the monitor left or right to the desired position. Your DP-2 monitor is not active, probably using a default position of 0x0, and when you drag the active monitor, you should (hopefully) be able to see the other to enable it.

  2. You could also try in a terminal
    xrandr --output DP-2 --auto
    This should make the monitor active, possibly mirror of other monitor, but you should now be able to configure as needed in System Settings->Hardware->Display and Monitor

1 Like

Thanks man. The screen was disabled in the Nvidia settings. It's working now. :wink:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.