HDMI only works after login, DP works since kernel boots. How to make HDMI behave like DP?

I have my laptop connected to external monitor supporting both DP and HDMI. With DP, I can even see the kernel messages before it enters the login screen. With HDMI, it will only display something after login. I need to use HDMI due to a DP issue in this monitor where it can never properly sleep, always wake up again not long after the screen is off. No issue with HDMI.

I’ve tried early loading amdgpu in mkinitcpio.conf, but that doesn’t seem to be the problem here as it still doesn’t work.

Forgot to tell, this laptop has 6800H + RTX3060, but I choose hybrid graphics through optimus manager, so amdgpu should be the one loaded. Curious, I’ve tried echoing xrandr --listmonitors to a file in /tmp in optimus manager xsetup script. Indeed, the HDMI display is not listed there. Only after login it is.

check your hardwaremanual and the bios-settings for displaysettings.

Unfortunately there’s nothing HDMI specific, only:

  • To use hybrid / discrete graphics
  • How much RAM should be allocated for the iGPU

besides, if I have to mess with it, wouldn’t DP be affected also?

this whole hdmi is a too complex issue that i cannot give any straight answer. keep in mind that even the hdmi-cable differ because of several versions and specifications. it could happen that changing the cable might change the behaviour. the next is the behaviour of the bios that starts the initial booting. this depends on the manufacturer. there are too many possibilities.
the only tip i can give from here is that it’s worth to check if the hdmi-cable is the right standard and to check the settings of the hdmi-screen in the screen itself.

Does this happen from a cold start or only from a restart? My monitor behaves like that on HDMI connection when I reboot, it doesn’t even show BIOS display, and the only fix is to power it off and on again. It did the same thing with Windows 7 and different GPU many years ago so I think it’s something to do with the monitor itself. Just doesn’t annoy me enough to replace it yet :stuck_out_tongue:

Of course HDMI on boot is possible. Please edit your topic title to be more clear and concise about what issue you’re having.

You’ve been around long enough to know about the following:

Both. Well it could be the monitor, or the cable, maybe the laptop? I don’t know, HDMI is mysterious compared to DP due to its closed spec nature.

Good enough now? To be fair, I seldom ask, I mostly answer. Perhaps my asking skill is rusty.

1 Like

is the hdmi-port active if you reboot ? is the behaviour different between boot/powering the computer and a reset of the computer ? do you use the original hdmi cable that came with the hdmi-display ? what kind/version (1.4 , 2 …) of hdmi is the display ?
also can you post the output of

inxi -v8zy

to get an overview which bios,display etc it is.

No idea how to check that, but that port won’t work in the firmware setup utility or boot manager, only when an OS is deliberately sending signal there.

Nope, the same, it’s consistent.

No, or to be precise: not sure. I store and arrange my cables by type, not by where it comes from.

As it can hit 1440p@144Hz, I believe it is 2.0.

Man, that’s a lot of output, hope it’s not overwhelming:

System:
  Kernel: 6.7.7-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.7-x86_64
    root=UUID=78545740-395e-49d2-bd38-acd2208ad062 rw net.ifnames=0 audit=0
    scsi_mod.use_blk_mq=1 nmi_watchdog=0 threadirqs nvidia_drm.modeset=1
    resume=UUID=11f85fe1-8b97-4891-8de7-ee89ad79f7a5 udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82RD v: Legion 5 15ARH7H
    serial: <superuser required> Chassis: type: 10 v: Legion 5 15ARH7H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76493 WIN
    serial: <superuser required> part-nu: LENOVO_MT_82RD_BU_idea_FM_Legion 5
    15ARH7H uuid: <superuser required> UEFI: LENOVO v: JUCN63WW
    date: 09/18/2023
Battery:
  ID-1: BAT0 charge: 82.3 Wh (98.9%) condition: 83.2/80.0 Wh (104.0%)
    volts: 16.4 min: 15.4 model: Sunwoda L21D4PC1 type: Li-poly serial: <filter>
    status: full cycles: 6
  Device-1: hid-dc:2c:26:e2:bf:b7-battery model: keycool Keyboard 5.0
    serial: N/A charge: N/A status: discharging
Memory:
  System RAM: total: 32 GiB available: 30.55 GiB used: 10.08 GiB (33.0%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 2 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: P0 CHANNEL A DIMM 0 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 4800 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMSX32GX5M2A4800C40 serial: N/A
  Device-2: P0 CHANNEL B DIMM 0 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 4800 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMSX32GX5M2A4800C40 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 6800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
    family: 0x19 (25) model-id: 0x44 (68) stepping: 1 microcode: 0xA404102
  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: 2492 high: 4355 min/max: 400/4785 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 3457 2: 1946 3: 4213
    4: 4128 5: 3212 6: 400 7: 2063 8: 2680 9: 2529 10: 3022 11: 2459 12: 2366
    13: 2253 14: 400 15: 400 16: 4355 bogomips: 102254
  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 cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de debug_swap 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 rapl 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 user_shstk v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 550.54.14 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2024-02; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none off: HDMI-A-1
    empty: DP-7,DP-8,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:2560 class-ID: 0300
  Device-2: AMD Rembrandt [Radeon 680M] vendor: Lenovo driver: amdgpu
    v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22
    pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none off: eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6 bus-ID: 35:00.0
    chip-ID: 1002:1681 class-ID: 0300 temp: 46.0 C
  Device-3: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2
    chip-ID: 30c9:0056 class-ID: fe01 serial: <filter>
  Device-4: Realtek NYK NEMESIS driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1.1.3:7
    chip-ID: 0bda:0567 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: radeonsi
    gpu: amdgpu,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: HDMI-A-1 mapped: HDMI-1-0 note: disabled pos: primary
    model: 27E3Q serial: <filter> built: 2023 res: 2560x1440 dpi: 109 gamma: 1.2
    chroma: red: x: 0.682 y: 0.314 green: x: 0.255 y: 0.678 blue: x: 0.149
    y: 0.051 white: x: 0.314 y: 0.329 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: 2560x1440, 1920x1080, 1680x1050,
    1280x1024, 1440x900, 1280x720, 1024x768, 800x600, 720x576, 720x480,
    640x480
  Monitor-2: eDP-1 note: disabled model-id: CSO 0x1509 built: 2021
    res: 2560x1440 dpi: 189 gamma: 1.2 chroma: red: x: 0.643 y: 0.329 green:
    x: 0.294 y: 0.608 blue: x: 0.149 y: 0.059 white: x: 0.314 y: 0.329
    size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
    modes: 2560x1440, 1920x1200, 1920x1080, 1600x1200, 1680x1050, 1280x1024,
    1440x900, 1280x800, 1280x720, 1024x768, 800x600, 640x480
  EDID-Warnings: 1: parse_edid: unknown tag 112
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: nvidia x11: drv: radeonsi
    inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.0.2-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    rembrandt LLVM 16.0.6 DRM 3.57 6.7.7-1-MANJARO) device-ID: 1002:1681
    memory: 500 MiB unified: no
  API: Vulkan v: 1.3.276 layers: 12 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV REMBRANDT) driver: mesa radv v: 24.0.2-manjaro1.1
    device-ID: 1002:1681 surfaces: xcb,xlib device: 1 type: discrete-gpu
    name: NVIDIA GeForce RTX 3060 Laptop GPU driver: nvidia v: 550.54.14
    device-ID: 10de:2560 surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GA106 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228e class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 35:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 35:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 35:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Device-5: Realtek NYK NEMESIS driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1.1.3:7
    chip-ID: 0bda:0567 class-ID: 0102 serial: <filter>
  Device-6: C-Media Audio Adapter (Unitek Y-247A)
    driver: cmedia_hs100b,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-2.1:6 chip-ID: 0d8c:0014 class-ID: 0300
  Device-7: Samson C01U Pro condenser microphone
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-2.2:8 chip-ID: 17a0:0303 class-ID: 0300
  API: ALSA v: k6.7.7-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,alsamixergui,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 8086:2725 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v4: <filter> type: secondary dynamic scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo RTL8111/8168/8411 driver: r8169 v: kernel modules: r8168 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 04:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Info: services: NetworkManager, nginx, smbd, systemd-networkd,
    systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-3:5 chip-ID: 8087:0032
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c010c
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 3.66 TiB used: 1.82 TiB (49.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:8 vendor: Kingston model: SNV2S1000G
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: SBM02103 temp: 36.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: MZVL2512HCJQ-00BL2
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: CL1QGXA7 temp: 45.9 C
    scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: MZVLW256HEHP-000L2
    size: 238.47 GiB block-size: physical: 2048 B logical: 512 B type: USB
    rev: 3.2 spd: 10 Gb/s lanes: 1 mode: 3.2 gen-2x1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: SanDisk model: Extreme 55AE
    size: 465.73 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 3001 scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-5: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000LX015-1U7172
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 5400
    serial: <filter> fw-rev: 0009 scheme: GPT
  ID-6: /dev/sdd maj-min: 8:48 vendor: Hitachi model: HTS547575A9E384
    size: 698.64 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 5400
    serial: <filter> fw-rev: 0009 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 352.03 GiB size: 345.44 GiB (98.13%)
    used: 278.54 GiB (80.6%) fs: ext4 dev: /dev/nvme1n1p7 maj-min: 259:7
    label: N/A uuid: 78545740-395e-49d2-bd38-acd2208ad062
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 133.2 MiB (52.0%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:1
    label: SYSTEM_DRV uuid: 9A21-F367
  ID-3: /mnt/Data raw-size: 400 GiB size: 400 GiB (100.00%)
    used: 153.3 GiB (38.3%) fs: btrfs dev: /dev/sdc5 maj-min: 8:37 label: Data
    uuid: dd580bc5-aaa3-459a-8b63-8d2ce16e5b4c
  ID-4: /mnt/Extra raw-size: 238.47 GiB size: 233.67 GiB (97.99%)
    used: 220.15 GiB (94.2%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: Extra
    uuid: e9cc5918-86b8-4dfa-bc18-43f2ee27dc87
  ID-5: /mnt/LeleXtremeSSD raw-size: 465.73 GiB size: 457.35 GiB (98.20%)
    used: 49.91 GiB (10.9%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17
    label: LeleXtremeSSD uuid: 2f1f24c0-e09d-404f-8220-b3db0044f803
  ID-6: /mnt/LinuxShared raw-size: 16 GiB size: 16 GiB (100.00%)
    used: 11.36 GiB (71.0%) fs: btrfs dev: /dev/sdc4 maj-min: 8:36
    label: LinuxShared uuid: bd80d7b0-20c3-4d67-8562-8b496f3feba7
  ID-7: /mnt/Multimedia raw-size: 515.51 GiB size: 515.51 GiB (100.00%)
    used: 481.82 GiB (93.5%) fs: btrfs dev: /dev/sdc6 maj-min: 8:38
    label: Multimedia uuid: 58a91b35-5578-4e17-a1e8-a9a6a4ae0a80
  ID-8: /run/media/leledumbo/LELEPORTHD2 raw-size: 698.64 GiB
    size: 698.47 GiB (99.98%) used: 669.62 GiB (95.9%) fs: vfat dev: /dev/sdd1
    maj-min: 8:49 label: LELEPORTHD2 uuid: E92A-DBF2
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:9 size: 931.51 GiB fs: ext4 label: ExtraNew
    uuid: db6a5f7d-5262-49cb-be56-866a548d0711
  ID-2: /dev/nvme1n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme1n1p3 maj-min: 259:3 size: 46.88 GiB fs: ntfs label: N/A
    uuid: 2A5AF9495AF91275
  ID-4: /dev/nvme1n1p4 maj-min: 259:4 size: 1.95 GiB fs: ntfs
    label: WINRE_DRV uuid: 4E2022C82022B73D
  ID-5: /dev/nvme1n1p5 maj-min: 259:5 size: 8 GiB fs: swap label: N/A
    uuid: 7ff2f28a-ff30-4956-a8bf-dc0a2e16770b
  ID-6: /dev/nvme1n1p6 maj-min: 259:6 size: 20.94 GiB fs: ext4 label: N/A
    uuid: a7d52b6b-5a04-440f-a25f-75ab760e9829
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: Luxvisions Innotech Integrated RGB Camera type: video
    driver: uvcvideo interfaces: 3 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 30c9:0056 class-ID: fe01 serial: <filter>
  Device-2: 1-4:3 info: Integrated Express ITE Device(8910) type: keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 048d:c102 class-ID: 0301
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 3 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 3-1:2 info: VIA Labs VL813 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2109:2813
    class-ID: 0900
  Hub-5: 3-1.1:4 info: VIA Labs VL813 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2109:2813
    class-ID: 0900
  Device-1: 3-1.1.3:7 info: Realtek NYK NEMESIS type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 0bda:0567 class-ID: 0102 serial: <filter>
  Hub-6: 3-2:3 info: Realtek RTS5411 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0bda:5411
    class-ID: 0900
  Device-1: 3-2.1:6 info: C-Media Audio Adapter (Unitek Y-247A)
    type: audio,HID driver: cmedia_hs100b,snd-usb-audio,usbhid interfaces: 4
    rev: 1.1 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 0d8c:0014 class-ID: 0300
  Device-2: 3-2.2:8 info: Samson C01U Pro condenser microphone
    type: audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4
    rev: 1.1 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 17a0:0303 class-ID: 0300
  Device-3: 3-3:5 info: Intel AX210 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0032 class-ID: e001
  Hub-7: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 4-1:2 info: VIA Labs VL813 Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 2109:0813
    class-ID: 0900
  Hub-9: 4-1.1:4 info: VIA Labs VL813 Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 2109:0813
    class-ID: 0900
  Device-1: 4-1.4:5 info: SanDisk Extreme 55AE type: mass storage driver: uas
    interfaces: 1 rev: 3.2 speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1
    power: 896mA chip-ID: 0781:55ae class-ID: 0806 serial: <filter>
  Hub-10: 4-2:3 info: Realtek Hub ports: 3 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0bda:0411
    class-ID: 0900
  Device-1: 4-2.3:6 info: JMicron / USA JMS56x Series type: mass storage
    driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s) lanes: 1
    mode: 3.2 gen-1x1 power: 8mA chip-ID: 152d:0565 class-ID: 0806
    serial: <filter>
  Hub-11: 5-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-1:2 info: Integrated Express ITE Device(8295)
    type: keyboard,HID driver: hid-generic,usbfs,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 048d:c975 class-ID: 0300
  Hub-12: 6-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-13: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-14: 8-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-15: 9-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-16: 10-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 10-1:2 info: Realtek RTL9210 M.2 NVME Adapter type: mass storage
    driver: uas interfaces: 1 rev: 3.2 speed: 10 Gb/s (1.16 GiB/s) lanes: 1
    mode: 3.2 gen-2x1 power: 896mA chip-ID: 0bda:9210 class-ID: 0806
    serial: <filter>
Sensors:
  System Temperatures: cpu: 53.5 C mobo: N/A gpu: amdgpu temp: 45.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 3358 libs: 656
    tools: octopi,pamac,yay
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
    2: https://mirror.freedif.org/Manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 566
  1: cpu: 25.7% command: konsole pid: 564815 mem: 211.6 MiB (0.6%)
  2: cpu: 6.1% command: betterbird pid: 2302 mem: 887.8 MiB (2.8%)
  3: cpu: 6.0% command: chrome pid: 565049 mem: 103.7 MiB (0.3%)
  4: cpu: 5.3% command: plasmashell pid: 2138 mem: 746.7 MiB (2.3%)
  5: cpu: 3.5% command: bash pid: 564832 mem: 9.14 MiB (0.0%)
  Memory top: 5 of 566
  1: mem: 887.8 MiB (2.8%) command: betterbird pid: 2302 cpu: 6.1%
  2: mem: 870.8 MiB (2.7%) command: chrome pid: 4832 cpu: 2.2%
  3: mem: 748.1 MiB (2.3%) command: chrome pid: 5295 cpu: 0.7%
  4: mem: 746.7 MiB (2.3%) command: plasmashell pid: 2138 cpu: 5.3%
  5: mem: 509.9 MiB (1.6%) command: slack pid: 7356 cpu: 2.0%
Info:
  Processes: 566 Power: uptime: 1d 21h 57m states: freeze,mem,disk
    suspend: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.18 GiB services: org_kde_powerdevil,upowerd
    Init: systemd v: 255 default: graphical tool: systemctl
  Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: konsole inxi: 3.3.33

well and now the output of

echo $XDG_SESSION_TYPE && glxinfo | grep server

Well that’s it then. If you can’t even get the BIOS setup working on that port then nothing else will (until presumably the OS is loaded and activates it).

Perhaps there is some setting in your BIOS somewhere for preferred output on boot? If not then I’m out of ideas.

Much simpler:

x11
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

No, unfortunately. Despite the modern look, this BIOS is somewhat locked, not much configuration available.

that’s one issue. switch to nvidia as primary gpu to handle the external displays.

While that might work, I don’t want it except for my gaming session. And even there, I’ll choose the DP output for the higher refresh rate. Nevertheless, despite not making sense to me (AFAIK, optimus manager will power down the GPU when it starts, so before that it should already be on), it’s worth trying, just to see if it can really work. According to Lenovo as well as some reviewers, all display outputs (HDMI + USB-C DP Alt Mode) are directly linked to the GPU.

EXACT the GPU NOT the iGPU !

Yes, I forgot these days you have to be clear whether to refer to dGPU or iGPU :sweat_smile: be sure in this case GPU means dGPU.

Sooo… I tried using discrete graphics mode only from the BIOS and there’s a progress! Even the login screen is now blank as well (but usable! I can type my password and it will log me in, showing the desktop in a flash on internal screen, then switch to the HDMI connected external monitor), not only on the external monitor! I think I’ve read this either in arch forum or sddm github…

Not sure this is related but there is an issue with Lenovo machines (Amd&Intel) when choosing “hybrid mode” in the Lenovo Vantage app under windows, search:
lenovo Legion hybrid mode stutter
Workaround seems to be to disable iGPU in bios or, for Win, in the app. If that’s firmware related it may well mess with linux optimus as well.

I choose it from BIOS, but I think it’s the same, since Lenovo Vantage provides that hardware level access. And no, I have no such a problem, it could be for the newer Legion 5, mine is from 2022. FYI, while can’t be compared due to conceptual differences, Windows login screen can output HDMI. AFAIK, Linux display managers draw directly on kernel’s framebuffer, away from X11 or Wayland. So it could be that the kernel’s framebuffer only recognizes DP but not HDMI. Or, for HDMI is needs certain kernel parameter. I’ll try digging those in.