Display won't always come back up after suspend

I use suspend/sleep heavily on my system (when I’m away from it, it’s sleeping). After installing Manjaro, I have found that one or both of my displays, especially the one connected over HDMI, does not reliably come back up. This is not predictable or consistent, though I think if I have the PC suspended for a longer period of time (several hours or more) it happens more often. What often happens is both displays display no lock screen/UI, but the cursor is visible. If this happens, the only solution I have is to switch to a terminal and reboot.

Other times, both displays will show the lock screen, but as soon as I enter my password and return to the desktop, the HDMI monitor shuts back off.

I did try the steps on the wiki at “Configure NVIDIA (non-free) settings and load them on Startup” but Xorg seems to “forget” my screen configuration, and I have to reopen nvidia-settings and reconfigure the display. At that point, it usually comes back on without too much issue. Any ideas?

System:
  Kernel: 5.15.78-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=cf6806d7-6115-42e0-a863-e9db7359ce5b rw quiet
    resume=UUID=34b1ceaf-a2a7-4361-8639-fc5ffdc1a914 udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.3 tk: Qt v: 5.15.7 wm: kwin_x11 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: X470 Master SLI/ac serial: <filter>
    UEFI: American Megatrends v: P3.40 date: 07/18/2019
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.55 GiB used: 4.64 GiB (29.8%)
  Array-1: capacity: 128 GiB slots: 4 EC: None max-module-size: 32 GiB
    note: est.
  Device-1: DIMM 0 type: no module installed
  Device-2: DIMM 1 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2 width (bits):
    data: 64 total: 64 manufacturer: Crucial part-no: BLS8G4D32AESBK.M8FE
    serial: <filter>
  Device-3: DIMM 0 type: no module installed
  Device-4: DIMM 1 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2 width (bits):
    data: 64 total: 64 manufacturer: Crucial part-no: BLS8G4D32AESBK.M8FE
    serial: <filter>
CPU:
  Info: model: AMD Ryzen 7 2700X socket: AM4 bits: 64 type: MT MCP arch: Zen+
    gen: 2 level: v3 note: check built: 2018-21 process: GF 12nm
    family: 0x17 (23) model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 2x8 MiB
  Speed (MHz): avg: 2262 high: 3200 min/max: 2200/3700 boost: enabled
    base/boost: 3700/4350 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.2 V ext-clock: 100 MHz cores: 1: 2200 2: 2200 3: 2200 4: 2200
    5: 2200 6: 2200 7: 2200 8: 3200 9: 2200 10: 2200 11: 2200 12: 2200 13: 2200
    14: 2200 15: 2200 16: 2200 bogomips: 118203
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb
    cpuid cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c
    flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf
    lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor movbe msr mtrr
    mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdrand rdseed rdtscp rep_good
    sep sev sev_es sha_ni skinit smap smca sme smep ssbd sse sse2 sse4_1
    sse4_2 sse4a ssse3 succor svm svm_lock syscall tce topoext tsc tsc_scale
    v_vmsave_vmload vgif vmcb_clean vme vmmcall 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: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  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: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070 Ti] vendor: eVga.com. driver: nvidia
    v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0a:00.0 chip-ID: 10de:2482
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 7680x2160 s-dpi: 152 s-size: 1283x361mm (50.51x14.21")
    s-diag: 1333mm (52.47")
  Monitor-1: DP-0 pos: right res: 3840x2160 hz: 60 dpi: 154
    size: 632x360mm (24.88x14.17") diag: 727mm (28.64") modes: N/A
  Monitor-2: HDMI-0 pos: primary,left res: 3840x2160 hz: 60 dpi: 154
    size: 632x360mm (24.88x14.17") diag: 727mm (28.64") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce RTX 3070
    Ti/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel bus-ID: 1-6:3 chip-ID: 9886:002c pcie: gen: 3
    class-ID: 0300 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 0a:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 0c:00.3
    chip-ID: 1022:1457 class-ID: 0403
  Device-3: Astro Gaming A50 type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k5.15.78-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: no
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 8086:24fb class-ID: 0280
  IF: wlp3s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-9:5 chip-ID: 8087:0aa7 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:
  Local Storage: total: 1.47 TiB used: 66.77 GiB (4.4%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 43.9 C scheme: GPT
  SMART: yes health: PASSED on: 237d 7h cycles: 2,243
    read-units: 69,611,775 [35.6 TB] written-units: 50,393,584 [25.8 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
    family: based SSDs size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: 2B6Q temp: 27 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 2y 5d 18h cycles: 5859
    written: 24.92 TiB
  ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 840 EVO 120GB
    family: based SSDs size: 111.79 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: DB6Q temp: 25 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 2y 171d 5h cycles: 6797
    written: 10.35 TiB
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 922.42 GiB size: 906.86 GiB (98.31%) used: 66.77 GiB (7.4%)
    fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: cf6806d7-6115-42e0-a863-e9db7359ce5b
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: NO_LABEL uuid: 84B4-371A
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
    uuid: 34b1ceaf-a2a7-4361-8639-fc5ffdc1a914
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 465.76 GiB fs: ntfs label: 500GB SSD
    uuid: 0A664A9C664A8901
  ID-2: /dev/sdb1 maj-min: 8:17 size: 111.79 GiB fs: ntfs label: 120GB SSD
    uuid: AEAE27E7AE27A6B5
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 14 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: Cyber Power System CP1500 AVR UPS type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 2mA
    chip-ID: 0764:0501 class-ID: 0300 serial: <filter>
  Device-2: 1-6:3 info: Astro Gaming A50 type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 7 rev: 2.0
    speed: 12 Mb/s power: 500mA chip-ID: 9886:002c class-ID: 0300
  Device-3: 1-7:4 info: Razer USA DeathAdder V2 X HyperSpeed
    type: Mouse,Keyboard driver: hid-generic,usbhid interfaces: 5 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 1532:009c class-ID: 0300
    serial: <filter>
  Device-4: 1-9:5 info: Intel Wireless-AC 3168 Bluetooth type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0aa7 class-ID: e001
  Device-5: 1-14:7 info: Microsoft Xbox One S Controller
    type: <vendor specific> driver: xpad interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 500mA chip-ID: 045e:02ea class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 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
  Device-1: 3-4:2 info: Fnatic Gear miniSTREAK type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 500mA
    chip-ID: 2f0e:0102 class-ID: 0300 serial: <filter>
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 44.8 C mobo: N/A gpu: nvidia temp: 50 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 321 Uptime: 1h 56m wakeups: 0 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: pm: pacman pkgs: 1193 libs: 317 tools: pamac Shell: Zsh (sudo)
  v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.23

In case anyone else runs into this issue, I have found the cause, and it is the NVIDIA driver.

I discovered that installing the nvidia-470xx driver through Manjaro’s Hardware Configuration menu (aka mhwd) resolved the issue. However I later found that 470 is a >1 year old driver kept for legacy GPU support. Going to NVIDIA’s site and looking at the Linux x64 driver, there are two available branches: “Production” and “New Feature”. Lo and behold, in the patch notes for the New Feature branch, is this:

Fixed a regression in 515.76 that caused blank screens and hangs when starting an X server on RTX 30 series GPUs in some configurations where the boot display is connected via HDMI.

To resolve this issue, either revert to a driver earlier than 515.76, or update to the “New Feature Branch” which is 520.56.06, available on NVIDIA’s site. (Or, if you can, avoid using HDMI with this driver.)

Why this is news for you when was mentioned over and over again on the update announcements? Here is on stable announcement.

Not sure why there’s any need to be rude about it, I’m a new user and I don’t think it’s reasonable to expect that every user will have read every announcement. Also I wouldn’t define once as “over and over again”. The second announcement you linked has nothing to do with my issue, the first one is. But regardless I appreciate the information - my issue is resolved.

Nobody was rude about anything, till you felt the need to call me rude. This is a technical and support forum that has a search function. For future post, see Forum Rules - Manjaro

Manjaro uses unstable and testing branches too. Those help find issues and also inform people to what to be prepared when the packages will hit stable branch. Here is mentioned on testing

The issue you had, was also mentioned before on stable branch, prior to the latest update.

So, was mentioned multiple times.

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

…available in the Manjaro stable and testing branch. 525.60.11 is available in the unstable branch.

:warning: Do not install NVIDIA drivers directly from their website. Instead, install them via Manjaro Settings Manager or via mhwd.