Not recognizing connected monitor incident report

This is an informative post. The issue is resolved for now.
What happend is that I was using the below config for weeks. I put system to standby at nights. Yesterday when it was awakened it didn’t show anything on my LG Ultrawide display and all stuff was put into secondary Samsung display (which is connected to integrated graphics). It was also sluggish which I guessed because of weak onboard Intel graphics. Checked journalctl to see if there is any error. An irrelevant SGX is disabled by firmware was there which I fixed. And a few more lines which I think are not relevant:

Aug 31 11:47:40 siavosh-ms7b18 systemd-udevd[306]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
Aug 31 11:47:45 siavosh-ms7b18 kernel: ntfs3: Unknown parameter 'windows_names'
Aug 31 11:47:45 siavosh-ms7b18 kernel: ntfs3: Unknown parameter 'windows_names'
Aug 31 11:47:46 siavosh-ms7b18 wpa_supplicant[545]: bgscan simple: Failed to enable signal strength monitoring
Aug 31 11:47:55 siavosh-ms7b18 kded5[647]: org.kde.plasma.dataengine.geolocation: error:  "Unknown host Host not found"
Aug 31 11:47:55 siavosh-ms7b18 kded5[647]: org.kde.plasma.dataengine.geolocation: error:  "Unknown host Host not found"
Aug 31 11:48:10 siavosh-ms7b18 pulseaudio[785]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)

Then went for Xorg log. I saw there that the display was not recognized. Which was strange because during boot it was displaying POST information correctly as the main display.

[  1574.525] (II) AMDGPU(0): Output DisplayPort-1 disconnected
[  1574.525] (II) AMDGPU(0): Output DisplayPort-2 disconnected
[  1574.525] (II) AMDGPU(0): Output HDMI-A-3 disconnected
[  1574.525] (II) AMDGPU(0): Output HDMI-A-4 disconnected
[  1574.525] (II) AMDGPU(0): Output DVI-D-0 disconnected

So I did these actions to fix this:

  • Went back to LTS kernel
  • Disabled XMP in firmware settings
  • Updated firmware
  • Unplugged plugged display
  • Shutdown and cut off power from all devices
  • Unplugged second display (smaller Samsung monitor)

Non of the above sold the problem so I turned back to newest kernel and enabled XMP again.

I fixed the problem by swapping connections between HDMI port 1 and 2 of the LG monitor.

Here is my system info:

  Host: siavosh-ms7b18 Kernel: 5.19.1-3-MANJARO arch: x86_64 bits: 64
    compiler: gcc v: 12.1.1 parameters: BOOT_IMAGE=/boot/vmlinuz-5.19-x86_64
    root=UUID=0baecea2-6a30-4ac4-ab13-4c58bcf15c2f rw quiet
    udev.log_priority=3 zswap.enabled=0
  Desktop: KDE Plasma v: 5.24.6 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
  Type: Desktop System: Micro-Star product: MS-7B18 v: 1.0
    serial: <superuser required>
  Mobo: Micro-Star model: MAG Z390 TOMAHAWK (MS-7B18) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.C2
    date: 11/19/2021
  Device-1: hidpp_battery_0 model: Logitech K850 Performance Wireless
    Keyboard serial: 4062-d2-0e-20-3a charge: 55% (should be ignored)
    rechargeable: yes status: discharging
  RAM: total: 15.37 GiB used: 8.08 GiB (52.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
  Info: model: Intel Core i7-9700K bits: 64 type: MCP arch: Coffee Lake
    gen: core 9 level: v3 built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xC (12) microcode: 0xF0
  Topology: cpus: 1x cores: 8 smt: <unsupported> 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: 1500 high: 3600 min/max: 800/4900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3600 2: 800 3: 800
    4: 800 5: 3600 6: 800 7: 800 8: 800 bogomips: 57616
  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 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 sgx sgx_lc smap smep smx 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
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: HDMI-A-3 empty: DP-3,HDMI-A-4,HDMI-A-5 bus-ID: 00:02.0
    chip-ID: 8086:3e98 class-ID: 0380
  Device-2: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: Sapphire Nitro+ driver: amdgpu v: kernel arch: GCN-4
    code: Arctic Islands process: GF 14nm built: 2016-20 pcie: gen: 3
    speed: 8 GT/s lanes: 8 link-max: lanes: 16 ports: active: HDMI-A-2
    empty: DP-1, DP-2, DVI-D-1, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:67df
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: amdgpu,modesetting alternate: fbdev,vesa gpu: amdgpu,i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1080 s-dpi: 96 s-size: 1182x285mm (46.54x11.22")
    s-diag: 1216mm (47.87")
  Monitor-1: not-matched mapped: HDMI-1-3 pos: primary,left res: 1920x1080
    hz: 60 dpi: 102 size: 477x268mm (18.78x10.55") diag: 547mm (21.54")
    modes: N/A
  Monitor-2: not-matched mapped: HDMI-A-1 pos: primary,right res: 2560x1080
    hz: 60 dpi: 81 size: 798x334mm (31.42x13.15") diag: 865mm (34.06")
    modes: N/A
  OpenGL: renderer: AMD Radeon RX 580 Series (polaris10 LLVM 14.0.6 DRM
    3.47 5.19.1-3-MANJARO) v: 4.6 Mesa 22.1.6 direct render: Yes
  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: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: Sapphire driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0
    class-ID: 0403
  Sound Server-1: ALSA v: k5.19.1-3-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
  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: down mac: 00:d8:61:10:ae:5a
  Device-2: Intel I211 Gigabit Network vendor: Micro-Star MSI driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 04:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp4s0 state: down mac: 00:d8:61:10:ae:5b
  Device-3: Realtek RTL8812AE 802.11ac PCIe Wireless Network Adapter
    driver: rtl8821ae v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 05:00.0 chip-ID: 10ec:8812 class-ID: 0280
  IF: wlp5s0 state: up mac: a8:63:7d:42:09:2e
  IP v4: type: dynamic noprefixroute scope: global
  IP v6: fe80::a348:6db8:695d:e4fb/64 type: noprefixroute scope: link
  IF-ID-1: br-060fa0bb413f state: up speed: 10000 Mbps duplex: unknown
    mac: 02:42:c4:e8:f1:7f
  IP v4: scope: global broadcast:
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
  IF-ID-2: br-d751fc7560f4 state: down mac: 02:42:62:f0:a7:a7
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
  IF-ID-3: docker0 state: down mac: 02:42:89:7a:70:22
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
  IF-ID-4: veth6bfc2fe state: up speed: 10000 Mbps duplex: full
    mac: 56:07:77:f5:78:8e
  IF-ID-5: veth7ec9d3d state: up speed: 10000 Mbps duplex: full
    mac: be:44:ff:4c:5f:29
  Message: No bluetooth data found.
  Message: No logical block device data found.
  Message: No RAID data found.
  Local Storage: total: 6.16 TiB used: 3 TiB (48.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVL2256HCHQ-00B00 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: S674NF0R111147
    rev: GXA7301Q temp: 37.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Transcend model: TS512GSSD230S
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: E825370225 rev: 7BNR scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST6000NM0115-1YZ110
    size: 5.46 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: ZAD9G8D5 rev: SN05 scheme: GPT
  Message: No optical or floppy data found.
  ID-1: / raw-size: 238.17 GiB size: 233.38 GiB (97.99%) used: 52.9 GiB
    (22.7%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: 0baecea2-6a30-4ac4-ab13-4c58bcf15c2f
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 316 KiB
    (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: NO_LABEL
    uuid: 6A3D-F50F
  ID-3: /run/media/siavoshk/620E10310E1000A9 raw-size: 476.34 GiB
    size: 476.34 GiB (100.00%) used: 331.34 GiB (69.6%) fs: ntfs dev: /dev/sda4
    maj-min: 8:4 label: N/A uuid: 620E10310E1000A9
  ID-4: /run/media/siavoshk/Seagate 6T raw-size: 5.46 TiB size: 5.46 TiB
    (100.00%) used: 2.63 TiB (48.1%) fs: ntfs dev: /dev/sdb2 maj-min: 8:18
    label: Seagate 6T uuid: B0106F77106F4386
  Kernel: swappiness: 80 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 16 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
  ID-2: swap-2 type: zram size: 30.74 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-1: /dev/sda1 maj-min: 8:1 size: 499 MiB fs: ntfs label: N/A
    uuid: CA2ED3FB2ED3DE8F
  ID-2: /dev/sda2 maj-min: 8:2 size: 100 MiB fs: vfat label: N/A
    uuid: DCFC-E19D
  ID-3: /dev/sda3 maj-min: 8:3 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-4: /dev/sdb1 maj-min: 8:17 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-4:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-5:3 info: A4Tech Optical Mouse Opto 510D / OP-620D
    type: Mouse driver: a4tech,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 09da:000a class-ID: 0301
  Device-3: 1-7:4 info: Micro Star MYSTIC LIGHT type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 500mA chip-ID: 1462:7b18 class-ID: 0300 serial: A02018080110
  Hub-2: 1-13:5 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Hub-3: 2-0:1 info: Super-speed hub ports: 10 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  System Temperatures: cpu: 29.0 C pch: 44.0 C mobo: N/A gpu: amdgpu
    temp: 45.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1712
  Processes: 292 Uptime: 17m wakeups: 2 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.1.1 clang: 14.0.6
  Packages: 1349 pm: pacman pkgs: 1339 libs: 332 tools: pamac pm: flatpak
  pkgs: 10 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.21