HDMI idle, no video after a while

Hi everyone,

I’m experiencing a persistent issue with my Manjaro setup (Kernel 6.12.44-3-MANJARO, GNOME desktop environment - GNOME Shell 48.4) on a Lenovo Legion 5 (Ryzen 7 5800H CPU, Nvidia RTX 3070 GPU; with hybrid graphics disabled).

I’m trying to use my laptop as a permanent desktop, closed, always on and connected to an external display via HDMI. I’ve taken the following steps:

  • Disabled the internal display.
  • Set the lid close behavior to “ignore” (/etc/systemd/logind.confHandleLidSwitch=ignore)
  • Disabled DPMS and screen blanking on the X Window System following the instructions in Display Power Management Signaling (created the /etc/X11/xorg.conf.d/10-extensions.conf and /etc/X11/xorg.conf.d/10-serverflags.conf
  • Configured power settings to prevent suspend and hibernate.

However, after I turn the external display off for a period of idle time (a couple of hours), the HDMI output stops working. I can workaround this by disconnecting and reconnecting the HDMI cable. I can confirm the laptop is not on suspend over that period of time, as I have a few Docker containers that are reachable over the network even when there is no HDMI video. The issue is somewhat similar to this post from 2022 (with no resolution)

I also tried installing the Gnome Extension Caffeine and set it on indefinitelly, but I still get the issue even with that extension.

I’m wondering if anyone has encountered a similar problem. Any suggestions for troubleshooting this would be greatly appreciated.

Thanks in advance for any help!

What I’d suggest is to check in BIOS/UEFI settings for any power-saving options on the ports; apart from that I don’t have any potentially useful ideas at present.

I’d recommend posting the output of inxi -zv8 as this may provide some useful information (please use proper code formatting! :wink: ).

Thanks for replying, sadly the bios in the laptop is very limited and there are no power saving options on the ports.

I also tried generating the x config with nvidia-xconfig and moved the file to /etc/X11/xorg.conf.d, but the issue persists.

Please see the contents of the 20-nvidia.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 575.64.05

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS" "false" ## <-- I added the "false" here
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

and the output of inxi -zv8

System:
  Kernel: 6.12.44-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: hpet avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.12-x86_64
    root=UUID=25d330b2-ad34-4c43-b423-23f07d8b44d0 rw rootflags=subvol=@
    quiet splash resume=UUID=4dd0b3fe-ae5f-4836-ad0a-293672022a2f
    udev.log_priority=3
  Desktop: GNOME v: 48.4 tk: GTK v: 3.24.50 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: 1: GDM v: 48.0 2: SDDM note: stopped
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82JU v: Legion 5 15ACH6H
    serial: <superuser required> Chassis: type: 10 v: Legion 5 15ACH6H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> part-nu: LENOVO_MT_82JU_BU_idea_FM_Legion 5
    15ACH6H uuid: <superuser required> UEFI: LENOVO v: GKCN65WW
    date: 01/16/2024
Battery:
  ID-1: BAT0 charge: 74.1 Wh (100%) condition: 74.1/80 Wh (92.6%) volts: 17.09
    min: 15.36 model: Celxpert L20C4PC1 type: Li-poly serial: <filter> charging:
    status: full cycles: 137
  Device-1: hid-dc:2c:26:f5:da:cf-battery model: Keychron K2 serial: N/A
    charge: N/A status: discharging
  Device-2: hidpp_battery_0 model: Logitech MX Master 3S serial: <filter>
    charge: 85% rechargeable: yes status: discharging
Memory:
  System RAM: total: 64 GiB available: 62.65 GiB used: 4.31 GiB (6.9%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB note: est. slots: 2 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 32 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Crucial
    part-no: CT32G4SFD832A.C16FE serial: <filter>
  Device-2: Channel-B DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 32 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Crucial
    part-no: CT32G4SFD832A.C16FE serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA500012
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    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: 1100 min/max: 400/4463 boost: enabled scaling:
    driver: amd-pstate-epp governor: performance cores: 1: 1100 2: 1100 3: 1100
    4: 1100 5: 1100 6: 1100 7: 1100 8: 1100 9: 1100 10: 1100 11: 1100 12: 1100
    13: 1100 14: 1100 15: 1100 16: 1100 bogomips: 102241
  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 xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
    xtopology
  Vulnerabilities:
  ...
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 575.64.05 alternate: nouveau,nvidia_drm
    non-free: 550-580.xx+ status: current (as of 2025-08; 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,eDP-1 empty: DP-1,DP-2 bus-ID: 01:00.0
    chip-ID: 10de:24dd class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: gnome-shell driver: X: loaded: nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa
    gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: HDMI-1 model: GSM LG TV SSCR2 res: mode: 3840x2160 hz: 60
    scale: 100% (1) dpi: 61 size: 1600x900mm (62.99x35.43")
    diag: 1836mm (72.27") modes: N/A
  Monitor-2: HDMI-A-1 model: LG (GoldStar) TV SSCR2 serial: <filter>
    built: 2022 res: 3840x2160 dpi: 61 gamma: 1.2 chroma: red: x: 0.639 y: 0.329
    green: x: 0.298 y: 0.600 blue: x: 0.149 y: 0.059 white: x: 0.314 y: 0.329
    size: 1600x900mm (62.99x35.43") diag: 1836mm (72.3") ratio: 16:9
    modes: 3840x2160, 4096x2160, 2560x1440, 1920x1080, 1280x1024, 1152x864,
    1280x720, 1024x768, 800x600, 720x576, 720x480, 640x480
  EDID-Warnings: 1: parse_edid: unhandled CEA mode 97 2: parse_edid:
    unhandled CEA mode 96 3: parse_edid: unhandled CEA mode 102 4: parse_edid:
    unhandled CEA mode 101 5: parse_edid: unhandled CEA mode 93 6: parse_edid:
    unhandled CEA mode 94 7: parse_edid: unhandled CEA mode 95 8: parse_edid:
    unhandled CEA mode 98 9: parse_edid: unhandled CEA mode 99 10: parse_edid:
    unhandled CEA mode 100
  Monitor-3: eDP-1 model: LG Display 0x06a5 built: 2020 res: 1920x1080
    dpi: 142 gamma: 1.2 chroma: red: x: 0.639 y: 0.329 green: x: 0.298 y: 0.620
    blue: x: 0.149 y: 0.055 white: x: 0.314 y: 0.329
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: 1920x1080
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
    x11: drv: nvidia inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 575.64.05
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3070 Laptop
    GPU/PCIe/SSE2 memory: 7.81 GiB display-ID: :0.0
  API: Vulkan v: 1.4.321 layers: 6 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3070 Laptop GPU driver: nvidia v: 575.64.05
    device-ID: 10de:24dd 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: NVIDIA GA104 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 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: Advanced Micro Devices [AMD] Audio Coprocessor vendor: Lenovo
    driver: N/A alternate: snd_pci_acp3x, snd_rn_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, snd_sof_amd_vangogh,
    snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.12.44-3-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
 ...
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:3 chip-ID: 8087:0029
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
 ...
  Message: No optical or floppy data found.
Partition:
  ...
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 64.58 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
    uuid: 4dd0b3fe-ae5f-4836-ad0a-293672022a2f
Unmounted:
  ID-1: /dev/nvme1n1p1 maj-min: 259:5 size: 260 MiB fs: vfat label: SYSTEM_DRV
    uuid: C6F1-A9E8
  ID-2: /dev/nvme1n1p2 maj-min: 259:6 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme1n1p3 maj-min: 259:7 size: 1.82 TiB fs: bitlocker
    label: LAPTOP-0468QAJH Windows-SSD 01/04/2023
    uuid: e39d2f2e-78c1-47f9-8931-5fc844ea1ecb
  ID-4: /dev/nvme1n1p4 maj-min: 259:8 size: 1000 MiB fs: ntfs
    label: WINRE_DRV uuid: 2E54F3C154F38A3B
USB:
  ...
Sensors:
  System Temperatures: cpu: 52.8 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 1696 pm: pacman pkgs: 1687 libs: 410 tools: gnome-software,pamac
    pm: flatpak pkgs: 9
  Active pacman repo servers in: /etc/pacman.d/mirror
...
Processes:
...
Info:
  Processes: 446 Power: uptime: 5h 40m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 25.03 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Compilers: clang: 20.1.8 gcc: 15.2.1 Shell: Zsh v: 5.9 running-in: kgx
    inxi: 3.3.39

Please provide the full requested inxi output;

System Information

While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes it’s better to ask your system directly; :eyes:

Output of the inxi command (with appropriate parameters, and formatted according to forum guidelines) will generate information useful for those wishing to help:

inxi --filter --verbosity=8

or the short form (preferred):

inxi -zv8

But you are not using Xorg for your display:

1 Like

Thanks for pointing I was wrong when I assumed I was using Xorg, I’ll look for a way to control this behaviour on Wayland.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.