Problem
My dual monitor setup does not work anymore: Formerly DisplayLink worked (via Dock) but is broken now. Garuda shows directly connected HDMI monitors but cannot activate due to some "crtc 4" error. I've tried a lot but could not make it work (again), neither HDMI nor Display Link. -- Any help highly appreciated!
What I tried
- Update everything
- Uninstall Display Link, update including beta-github parts (evdi); uninstall again
- Connected different HDMI-Screens to no avail
- Connected Monitors via DisplayPort and HDMI via Dock D6000 don't show up at all
- Configuring monitors in Settings; same in ARandR: can configure but not save
- Deleted any additional configurations for X
Not tried so far
- Tool
optimus-manager
since this seems to have some downsides. - Mode setting with
nvidia_drm.modeset=1
since I am not familiar with kernel modes
Details
For command line output see below.
System: HP Omen 15 en1xxx
-
@Naman reported on his Experience as Nvidia and Laptop Newbie
- I actually chose Garuda because the Nvidia card worked out of the box
- Internal AMD Graphics
- Extra graphics card Nvidia RTX 3070
- 16 GB RAM, 512 GB HDD
- Garuda Linux Zen kernel, rolling release
Monitors
- Internal Screen -- works fine (1920x1080 Full HD, 144Hz)
- LG hi-dpi -- my main screen
- Model 24UD58-B
- Used to work via Dell D6000 dock and "DisplayLink", connected on Display Port
- Now this is broken, starting a few updates ago (evdi incompatibilities?!)
- Samsung 1920x1080 Full HD -- testing screen with "normal" specs
- Model S24D390HL
Note
- Monitors (2) and (3) are not connected at the same time at the HDMI port
- There's something wrong with "Screen 0":
Screen 0: minimum 320 x 200, current 5760 x 2160, maximum 16384 x 16384
Both HDMI devices get detected properly, but cannot "Activate" in system settings. I actually get the error Configure crtc 4 failed
(ARandR and xrandr --auto
)
System Details
$>xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x53 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 1 name:AMD Radeon Graphics @ pci:0000:06:00.0
Provider 1: id: 0x1f5 cap: 0x2, Sink Output crtcs: 4 outputs: 5 associated providers: 1 name:NVIDIA-G0
$>lspci -k | grep -A 2 -E "(VGA|3D)"
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1)
DeviceName: NVIDIA Graphics Device
Subsystem: Hewlett-Packard Company Device 88d2
--
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)
DeviceName: Onboard IGD
Subsystem: Hewlett-Packard Company Device 88d2
$>xrandr --output HDMI-1-0 --auto
xrandr: Configure crtc 4 failed
Hi-Dpi Monitor
$>xrandr
Screen 0: minimum 320 x 200, current 5760 x 2160, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 144.00*+ 60.00
1680x1050 144.00
1280x1024 144.00
1440x900 144.00
1280x800 144.00
1280x720 144.00
1024x768 144.00
800x600 144.00
640x480 144.00
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected (normal left inverted right x axis y axis)
3840x2160 60.00 + 59.94 50.00 30.00 29.97 25.00 23.98
2560x1440 59.95
1920x1080 60.00 60.00 59.94 29.97 23.98
1600x900 60.00
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94
1152x864 60.00
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94 59.93
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
Testing Monitor
$>xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 144.00*+ 60.00
1680x1050 144.00
1280x1024 144.00
1440x900 144.00
1280x800 144.00
1280x720 144.00
1024x768 144.00
800x600 144.00
640x480 144.00
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 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-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
$>ls /etc/X11/xorg.conf.d/
.rw-r--r-- 232 root 15 Sep 2022 00-keyboard.conf
.rw-r--r-- 240 root 9 Sep 2022 30-touchpad.conf
$>garuda-inxi
System:
Kernel: 6.2.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=9c6fd0f2-7575-4c3e-859b-d832464e5fca rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=be277372-da5e-4a26-a604-1cd532d0b7aa loglevel=3
Desktop: GNOME v: 43.3 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 43.0
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: OMEN Laptop 15-en1xxx v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 88D2 v: 75.53 serial: <superuser required> UEFI: AMI
v: F.10 date: 07/28/2021
Battery:
ID-1: BAT0 charge: 68.0 Wh (99.7%) condition: 68.2/68.2 Wh (100.0%)
volts: 12.9 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
status: not charging cycles: 29
Device-1: hidpp_battery_1 model: Logitech MX Keys Wireless Keyboard
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1325 high: 3200 min/max: 1200/4462 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1197 2: 3200
3: 1200 4: 1200 5: 1200 6: 1209 7: 1200 8: 1200 9: 1200 10: 1200 11: 1200
12: 1200 13: 1196 14: 1200 15: 1200 16: 1198 bogomips: 102210
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q]
vendor: Hewlett-Packard driver: nvidia v: 530.41.03
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: 1 speed: 2.5 GT/s
lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0
chip-ID: 10de:249d class-ID: 0300
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5 code: Vega
process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: none
bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 43.0 C
Device-3: Sunplus Innovation ProXtend type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 3-2.2.4:19 chip-ID: 1bcf:2283
class-ID: 0102 serial: <filter>
Device-4: Quanta HP Wide Vision HD Camera type: USB driver: uvcvideo
bus-ID: 3-3:3 chip-ID: 0408:5425 class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 23.1.0
compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau,radeon alternate: fbdev,nv,vesa
dri: radeonsi gpu: amdgpu display-ID: :1 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
s-diag: 1055mm (41.55")
Monitor-1: HDMI-1-0 size-res: N/A modes: N/A
Monitor-2: eDP pos: primary res: 1920x1080 hz: 144 dpi: 142
size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
API: OpenGL v: 4.6 Mesa 23.0.0 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.2.8-zen1-1-zen) direct-render: Yes
Audio:
Device-1: NVIDIA GA104 High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel bus-ID: 3-2.2.4:19 v: kernel pcie: chip-ID: 1bcf:2283
class-ID: 0102 gen: 1 serial: <filter> speed: 2.5 GT/s lanes: 8 link-max:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228b
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
driver: snd_rn_pci_acp3x v: kernel
alternate: snd_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x,snd_acp_pci,snd_rpl_pci_acp6x,snd_pci_ps,snd_sof_amd_renoir,snd_sof_amd_rembrandt
pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3
class-ID: 0403
Device-4: Sunplus Innovation ProXtend type: USB
driver: snd-usb-audio,uvcvideo
Device-5: DisplayLink Dell Universal Dock D6000 type: USB
driver: cdc_ncm,snd-usb-audio bus-ID: 4-2.1:9 chip-ID: 17e9:6006
class-ID: 0a00 serial: <filter>
Sound API: ALSA v: k6.2.8-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlo1 state: up mac: <filter>
IF-ID-1: enp6s0f3u2u1i5 state: up speed: 1000 Mbps duplex: half
mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:5
chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 83.97 GiB (17.6%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVLB512HBJQ-000H1 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: HPS0NEXF temp: 31.9 C scheme: GPT
Partition:
ID-1: / raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 83.97 GiB (18.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: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 83.97 GiB (18.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 83.97 GiB (18.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 83.97 GiB (18.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: partition size: 16.48 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: swap-2 type: zram size: 14.97 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 50.2 C mobo: N/A gpu: amdgpu temp: 46.0 C
Fan Speeds (RPM): fan-1: 0 fan-2: 0
Info:
Processes: 403 Uptime: 2h 46m wakeups: 10 Memory: 14.97 GiB
used: 7.13 GiB (47.6%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
pkgs: 1272 libs: 376 tools: pamac,paru Shell: fish v: 3.6.1 default: Bash
v: 5.1.16 running-in: gnome-terminal inxi: 3.3.25
Garuda (2.6.16-1):
System install date: 2023-03-26
Last full system update: 2023-03-26 ā»
Is partially upgraded: No
Relevant software: snapper NetworkManager mkinitcpio nvidia-dkms
Windows dual boot: Probably (Run as root to verify)
Failed units: