Problems coming out of sleep

I have seen some posts that resemble my issue.
I have learned to live with it so I just want to document that I have this issue to add to the reports of it.
I am on unstable and will include my latest system info below.
I don’t know if there is some settings to change to help this.
I’m on plasma and after waking up from closing the laptop lid which is set to put computer to sleep , not every time but most of the time when I either click the terminal or go to the upper left with the cursor the screen fills with triangle that move around and change shapes as I move the cursor around.
That is the best way I can describe it.
Sometimes if I get the upper left process to show the open windows correctly and click on the terminal one. I can’t see it but I can type sudo reboot and get the machine to reboot.
My work around right now is to just shut the machine down instead of letting it go to sleep.
Thanks

[demo@manjaro ventoy]$ inxi -Faz
System:
  Kernel: 6.0.10-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=45ca132d-4a37-4dc3-afa0-be2e80d6a4a2 rw quiet pci=nocrs
    acpi=force "acpi_osi=Windows 2022" ibt=off mem_sleep_default=s2idle
  Desktop: KDE Plasma v: 5.26.3 tk: Qt v: 5.15.7 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Convertible System: HP product: HP Spectre x360 Convertible 15-df1xxx
    v: N/A serial: <superuser required> Chassis: type: 31
    serial: <superuser required>
  Mobo: HP model: 863F v: 54.24 serial: <superuser required> UEFI: AMI
    v: F.28 date: 07/14/2022
Battery:
  ID-1: BAT0 charge: 66.9 Wh (100.0%) condition: 66.9/66.9 Wh (100.0%)
    volts: 13.0 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
    status: full cycles: 182
  Device-1: hid-0018:04F3:2992.0001-battery model: ELAN2514:00 04F3:2992
    serial: N/A charge: N/A status: N/A
CPU:
  Info: model: Intel Core i7-10510U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 10 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 2112 high: 2300 min/max: 400/4900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2300 2: 2300 3: 800
    4: 2300 5: 2300 6: 2300 7: 2300 8: 2300 bogomips: 36812
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  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: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:9b41
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard
    driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 4
    bus-ID: 3b:00.0 chip-ID: 10de:1d13 class-ID: 0302
  Device-3: Chicony HP Wide Vision FHD Camera type: USB driver: uvcvideo
    bus-ID: 1-5:2 chip-ID: 04f2:b67b class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
    s-diag: 1165mm (45.88")
  Monitor-1: eDP-1 mapped: eDP-1-1 model: AU Optronics 0x30eb built: 2017
    res: 3840x2160 hz: 60 dpi: 284 gamma: 1.2 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.5") ratio: 16:9 modes: 3840x2160
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce
    MX250/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-cnl
    alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:02c8 class-ID: 0401
  Sound API: ALSA v: k6.0.10-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.60 running: yes
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 270.01 GiB (29.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  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: 41.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 239 GiB size: 234.94 GiB (98.30%) used: 44.47 GiB (18.9%)
    fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 68.8 MiB (71.6%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-3: /home raw-size: 415.57 GiB size: 407.98 GiB (98.17%)
    used: 225.47 GiB (55.3%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 48.0 C pch: 46.0 C mobo: N/A gpu: nvidia
    temp: 56 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 241 Uptime: 42m wakeups: 2547 Memory: 15.26 GiB
  used: 3.76 GiB (24.6%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1645
  pm: pacman pkgs: 1639 libs: 432 tools: pamac,pikaur,yay pm: flatpak pkgs: 6
  pm: snap pkgs: 0 Shell: Bash v: 5.1.16 running-in: konsole inxi: 3.3.23

I’ve experienced something similar that I’m yet to tell where it is coming from.
It seems you don’t have swap enabled. I have the same amount of RAM, but I enabled zram instead of systemd-swap for better stability. You could give it a go to either and see if it helps, but I ain’t sure if that’s the culprit. What is showing out in the system logs?