Issue with the second monitor after booting the system

Hi there, I’ve got a weird problem:

I use a setup with a second monitor on my Asus Vivobook. This monitor, like all the peripherals, is connected to a Dell Dock so that the entire setup can be used both with my private Linux computer and my work MacBook.

Strangely, after every boot-up of the Manjaro system, the second monitor remains black and is not detected. Each time, I have to unplug the USB-C cable (to disconnect the connection to the dock) and plug it back in. Then it works again. It’s not a big deal, but it’s annoying. Does anyone know what could be causing this or what can be done about it?

Some information about my system:

System:
  Host: VivoLinux Kernel: 6.12.39-1-MANJARO arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.3.6 Distro: Manjaro Linux
Machine:
  Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop N7401ZE_N7401ZE
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: N7401ZE v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: N7401ZE.301 date: 06/02/2022
Battery:
  ID-1: BAT0 charge: 65.5 Wh (100.0%) condition: 65.5/70.0 Wh (93.6%)
CPU:
  Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-12700H bits: 64
    type: MST AMCP cache: L2: 11.5 MiB
  Speed (MHz): avg: 400 min/max: 400/4600:4700:3500 cores: 1: 400 2: 400
    3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 17: 400 18: 400 19: 400 20: 400
Graphics:
  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] driver: nvidia
    v: 575.64.03
  Device-3: Logitech Logitech Webcam C925e driver: snd-usb-audio,uvcvideo
    type: USB
  Device-4: Sonix USB2.0 FHD UVC WebCam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.18 with: Xwayland v: 24.1.8 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 1: 3840x2160~60Hz
    2: 2880x1800~120Hz
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 25.1.6-arch1.1
    renderer: Mesa Intel Iris Xe Graphics (ADL GT2)
  API: Vulkan v: 1.4.321 drivers: nvidia surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    driver: sof-audio-pci-intel-tgl
  Device-2: NVIDIA GA107 High Definition Audio driver: snd_hda_intel
  Device-3: Logitech Logitech Webcam C925e driver: snd-usb-audio,uvcvideo
    type: USB
  Device-4: Focusrite-Novation Scarlett 2i2 3rd Gen driver: snd-usb-audio
    type: USB
  API: ALSA v: k6.12.39-1-MANJARO status: kernel-api
  Server-1: PulseAudio v: 17.0-43-g3e2bb status: active
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi
  IF: wlo1 state: up mac: bc:6e:e2:b9:09:92
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
  IF: enp0s13f0u1u4u4 state: up speed: 100 Mbps duplex: full
    mac: 04:bf:1b:87:48:d3
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb type: USB
  Report: rfkill ID: hci0 state: up address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
Drives:
  Local Storage: total: 953.87 GiB used: 319.53 GiB (33.5%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 3400 MTFDKBA1T0TFH
    size: 953.87 GiB
Partition:
  ID-1: / size: 949.57 GiB used: 319.53 GiB (33.7%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 576 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 949.57 GiB used: 319.53 GiB (33.7%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-4: /var/log size: 949.57 GiB used: 319.53 GiB (33.7%) fs: btrfs
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: N/A mobo: N/A
  Fan Speeds (rpm): cpu: 2000
Info:
  Memory: total: 16 GiB note: est. available: 15.31 GiB used: 6.21 GiB (40.6%)
  Processes: 437 Uptime: 1h 5m Shell: Bash inxi: 3.3.38