SDDM only outputs on HDMI port

Hello everyone, I just installed Manjaro KDE Plasma and I have a weird issue with the log in screen.

Setup

Hardware

  • CPU: AMD Ryzen 7 5700G
  • GPU: Integrated graphics
  • Motherboard: Asus ROG Strix B550-E Gaming
  • Monitors (Dual): Dell P2719HC and P2719H

Software

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

System:
  Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.13-x86_64
  root=UUID=86d39de0-ed1a-4e6a-9552-faad7eadead8 rw rootflags=subvol=@ quiet
  apparmor=1 security=apparmor udev.log_priority=3
  Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 2 dm: SDDM
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B550-E GAMING v: Rev X.0x
  serial: <superuser required> UEFI: American Megatrends v: 2423
  date: 08/09/2021
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 14.93 GiB used: 2.73 GiB (18.3%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 8-Core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
  type: MT MCP arch: Zen 3 family: 19 (25) model-id: 50 (80) stepping: 0
  microcode: A50000C cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB bogomips: 137654
  Speed: 4279 MHz min/max: 1400/4300 MHz boost: enabled Core speeds (MHz):
  1: 4279 2: 4292 3: 4300 4: 4270 5: 4295 6: 4296 7: 4299 8: 4299 9: 4292
  10: 4300 11: 4299 12: 4284 13: 4217 14: 4268 15: 4293 16: 4299
  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 erms extapic extd_apicid f16c
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rdpid rdpru
  rdrand rdseed rdt_a rdtscp rep_good sep 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 vaes vgif vmcb_clean
  vme vmmcall vpclmulqdq wbnoinvd wdt 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: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW,
  STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel
  bus-ID: 07:00.0 chip-ID: 1002:1638 class-ID: 0300
  Display: server: X.Org 1.21.1.1 compositor: kwin_x11 driver:
  loaded: amdgpu,ati unloaded: modesetting,radeon alternate: fbdev,vesa
  display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")
  s-diag: 1055mm (41.5")
  Monitor-1: DisplayPort-1 res: 1920x1080 hz: 60 dpi: 82
  size: 598x336mm (23.5x13.2") diag: 686mm (27")
  Monitor-2: DisplayPort-2 res: 1920x1080 hz: 60 dpi: 82
  size: 598x336mm (23.5x13.2") diag: 686mm (27")
  OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.19-2-MANJARO LLVM 13.0.0)
  v: 4.6 Mesa 21.2.5 direct render: Yes
Audio:
  Device-1: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel
  bus-ID: 07:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
  v: kernel bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 04:00.0
  chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
  port: N/A bus-ID: 05:00.0 chip-ID: 8086:15f3 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-5:2
  chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 12.45 GiB (2.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SKC2500M8500G
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
  lanes: 4 type: SSD serial: <filter> rev: S7780101 temp: 26.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 457.47 GiB size: 457.47 GiB (100.00%)
  used: 12.45 GiB (2.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  label: root uuid: 86d39de0-ed1a-4e6a-9552-faad7eadead8
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
  used: 568 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: EFI
  uuid: 73AB-35AA
  ID-3: /home raw-size: 457.47 GiB size: 457.47 GiB (100.00%)
  used: 12.45 GiB (2.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  label: root uuid: 86d39de0-ed1a-4e6a-9552-faad7eadead8
  ID-4: /var/cache raw-size: 457.47 GiB size: 457.47 GiB (100.00%)
  used: 12.45 GiB (2.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  label: root uuid: 86d39de0-ed1a-4e6a-9552-faad7eadead8
  ID-5: /var/log raw-size: 457.47 GiB size: 457.47 GiB (100.00%)
  used: 12.45 GiB (2.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  label: root uuid: 86d39de0-ed1a-4e6a-9552-faad7eadead8
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
  dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
  uuid: ebb14d16-53be-404e-943f-f1cdcbf5f1bb
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
  class-ID: e001
  Device-2: 1-6:3 info: ASUSTek AURA LED Controller type: HID
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA
  chip-ID: 0b05:18f3 class-ID: 0300 serial: <filter>
  Hub-2: 1-7:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Hub-3: 1-9:5 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Hub-4: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 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-6: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-7: 5-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-8: 5-1:2 info: Texas Instruments ports: 6 rev: 2.1 speed: 480 Mb/s
  chip-ID: 0451:8442 class-ID: 0900
  Hub-9: 5-1.3:3 info: Microchip (formerly SMSC) Hub ports: 4 rev: 2.1
  speed: 480 Mb/s chip-ID: 0424:2744 class-ID: 0900
  Device-1: 5-1.3.3:5 info: Razer USA Ornata Chroma type: Keyboard,Mouse
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
  power: 500mA chip-ID: 1532:021e class-ID: 0300
  Device-2: 5-1.4:4 info: Logitech G502 SE HERO Gaming Mouse type: Mouse,HID
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
  power: 300mA chip-ID: 046d:c08b class-ID: 0300 serial: <filter>
  Device-3: 5-1.5:6 info: Texas Instruments type: HID
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 480 Mb/s
  chip-ID: 0451:82ff class-ID: 0300 serial: <filter>
  Device-4: 5-1.6:7 info: Texas Instruments type: Billboard driver: N/A
  interfaces: 1 rev: 2.0 speed: 480 Mb/s chip-ID: 0451:82ee class-ID: 1100
  serial: <filter>
  Hub-10: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-11: 6-1:2 info: Texas Instruments ports: 2 rev: 3.1 speed: 5 Gb/s
  chip-ID: 0451:8440 class-ID: 0900
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 375 Uptime: 1h 5m wakeups: 0 Init: systemd v: 249 tool: systemctl
  Compilers: gcc: N/A Packages: pacman: 1206 lib: 333 flatpak: 0 Shell: Zsh
  v: 5.8 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.09

The motherboard has two display outputs one Display Port and one HDMI both monitors are connected to the single DP and via MST I have picture on both of them.

The problem

The PC starts booting normally I see the ROG splash screen and the prompt to get in the bios but once it comes the time to load the Log in screen everything goes black and both monitors start looking for signal.

What did I try

  1. Update the system using a workaround (see bellow)
  2. Disconnect and reconnect the monitors at the Login screen
  3. Use only one monitor (MST off)

Up to this point none of the above worked but the magic moment was:

  1. Connect monitor to HDMI

Now as soon as I connect to HDMI the display comes up and I can Login so I can afterwards connect back to the Display port at which point the desktop environment comes up and everything works perfectly even monitor extension via MST.

I also discovered a workaround so that I don’t need to change from DP to HDMI and back to DP. If I press CTRL + ALT + F2 to get to the tty2 the terminal appears over Display Port, I can Login and after running startx the desktop loads normally but us a very tedious solution.

How can I setup sddm so that is defaults to the Display Port output instead of the HDMI?

PS

I apologize as I am relatively new Linux user and this is my first time installing Manjaro or any Arch distribution so I do not know what more information might be required. My Linux background is Ubuntu VMs so I never had to worry about drivers or hardware. So feel free to ask for anything that might be useful. Just tell me what to run :grinning:.