Screen stays blank after autolock despite key presses

About one in seven times when switching the display on after a period of time it’s been off (normally induced by xfce power manager, but also after suspends and locks as well), the screen will stay black. The keyboard lights stay on and the fans continue to spin, but the screen will refuse to come on despite many button and touchpad combinations. The only workaround I’ve found is to reboot. Any ideas?

Things I’ve tried -

  1. swapping bumblebee to the noveau drivers - this got rid of a few errors in dmesg, but problem still persists. Could this issue be related to the error below?
kernel: pcieport 0000:00:1c.0: Data Link Layer Link Active not set in 1000 msec
kernel: pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
  1. Going straight to suspend instead of auto locking and turning display off - same failure rate as turning display off, no dice.

inxi output

System:
  Kernel: 5.10.70-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
  root=UUID=955107a0-12d6-4212-b20d-ed50f09e1471 rw
  i915.enable_dpcd_backlight=0 quiet apparmor=1 security=apparmor
  udev.log_priority=3 i915.enable_dpcd_backlight=0
  Desktop: i3 4.19.1 info: polybar vt: 7 dm: LightDM 1.30.0
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Convertible System: HP product: HP Spectre x360 Convertible 15-ch0xx
  v: N/A serial: <filter> Chassis: type: 31 serial: <filter>
  Mobo: HP model: 83BA v: 57.33 serial: <filter> UEFI: AMI v: F.31
  date: 05/20/2019
Battery:
  ID-1: BAT0 charge: 59.4 Wh (89.9%) condition: 66.1/66.1 Wh (100.0%)
  volts: 12.3 min: 11.6 model: HP Primary type: Li-ion serial: N/A
  status: Discharging
  Device-1: hid-0018:04F3:25BF.0001-battery model: ELAN2514:00 04F3:25BF
  serial: N/A charge: N/A status: N/A
Memory:
  RAM: total: 15.39 GiB used: 2.86 GiB (18.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: A (10)
  microcode: EA cache: L2: 8 MiB bogomips: 32012
  Speed: 900 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 900 2: 900 3: 900
  4: 900 5: 900 6: 900 7: 900 8: 900
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb 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 pti pts
  rdrand rdseed rdtscp rep_good sdbg sep smap smep 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 xtpr
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  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 generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
  v: kernel bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX150] driver: N/A alternate: nouveau
  bus-ID: 01:00.0 chip-ID: 10de:1d10 class-ID: 0302
  Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision FHD Camera
  type: USB driver: uvcvideo bus-ID: 1-5:2 chip-ID: 05c8:0815 class-ID: 0e02
  serial: <filter>
  Display: x11 server: X.Org 1.20.13 driver: loaded: intel display-ID: :0
  screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.0x22.5")
  s-diag: 1165mm (45.9")
  Monitor-1: eDP1 res: 3840x2160 dpi: 287 size: 340x190mm (13.4x7.5")
  diag: 389mm (15.3")
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.3
  direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
  chip-ID: 8086:9d71 class-ID: 0403
  Sound Server-1: ALSA v: k5.10.70-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
Network:
  Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel bus-ID: 3b:00.0
  chip-ID: 8086:2526 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
  v: 0.8 bus-ID: 1-7:3 chip-ID: 8087:0025 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: 715.44 GiB used: 79.59 GiB (11.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/mmcblk0 maj-min: 179:0 model: 00000 size: 238.5 GiB block-size:
  physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR
  ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HAJQ-000H1
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
  lanes: 4 type: SSD serial: <filter> rev: EXA73H1Q temp: 27.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 230.86 GiB size: 226.24 GiB (98.00%)
  used: 53.76 GiB (23.8%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6
  label: N/A uuid: 955107a0-12d6-4212-b20d-ed50f09e1471
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
  used: 62 MiB (24.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
  uuid: 64D1-4AA7
  ID-3: /home/<filter>/card raw-size: 238.5 GiB size: 238.5 GiB (100.00%)
  used: 25.77 GiB (10.8%) fs: ntfs dev: /dev/mmcblk0p1 maj-min: 179:1
  label: Swap uuid: DE0CCCC00CCC9545
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
  label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 230.86 GiB fs: ntfs label: Windows
  uuid: FCF41477F41435FC
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 980 MiB fs: ntfs
  label: Windows RE tools uuid: 4CC07A0CC079FC90
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 13.98 GiB fs: ntfs label: RECOVERY
  uuid: F8CA6898CA685542
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2
  info: Cheng Uei Precision Industry (Foxlink) HP Wide Vision FHD Camera
  type: Video driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
  power: 500mA chip-ID: 05c8:0815 class-ID: 0e02 serial: <filter>
  Device-2: 1-7:3 info: Intel Wireless-AC 9260 Bluetooth Adapter
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
  power: 100mA chip-ID: 8087:0025 class-ID: e001
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 223 Uptime: 13m wakeups: 3 Init: systemd v: 249 tool: systemctl
  Compilers: gcc: 11.1.0 Packages: pacman: 1451 lib: 411 Shell: fish v: 3.3.1
  running-in: urxvtd inxi: 3.3.08

Let me know if there’s any more info I could provide to help out. Any ideas?

Update - I modified my blurlock.sh at one point to turn off the screen with xset dpms force off. Removing this line seems to have fixed the issue!

As a side note, a utility that diffs these configuration files from manjaro defaults might be useful for the i3 fork, could be useful for debugging like this!