Grapical glitches after wake from suspend

On wayland, after waking from suspend, sections of the screen sometimes flicker continuously until I press a mouse button.
The bug is present on both proprietary and free Nvidia video drivers. This bug has presented itself from time to time for the past eight months or so.

Here’s A video of some strange glitches I encountered on fedora kinoite

My inxi -Faz:

System:
  Kernel: 5.17.7-300.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-27.fc36
    parameters: BOOT_IMAGE=(hd1,gpt2)/ostree/fedora-8c7287fa769301554afb4e5f96406b7482015b378bfcfd310cef28a42d34de01/vmlinuz-5.17.7-300.fc36.x86_64
    rd.luks.uuid=luks-ac2be2a2-3a0d-463c-a10e-db33888ea41d rhgb quiet
    root=UUID=ab093a6e-4634-4015-bcc4-9cd2d90a1c94 rootflags=subvol=root
    dev.i915.perf_stream_paranoid=0 sysrd.driver.blacklist=nouveau
    modprobe.blacklist=nouveau nvidia-drm.modeset=1
    ostree=/ostree/boot.1/fedora/8c7287fa769301554afb4e5f96406b7482015b378bfcfd310cef28a42d34de01/0
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.3 wm: kwin_wayland vt: 1
    dm: SDDM Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Laptop System: Notebook product: P95xER v: N/A
    serial: <superuser required> Chassis: No Enclosure type: 10
    serial: <superuser required>
  Mobo: Notebook model: P95xER serial: <superuser required>
    UEFI: American Megatrends v: 1.07.15 date: 11/16/2018
Battery:
  ID-1: BAT0 charge: 39.1 Wh (89.5%) condition: 43.7/53.2 Wh (82.1%)
    volts: 16.6 min: 15.2 model: Notebook BAT type: Li-ion serial: <filter>
    status: N/A
CPU:
  Info: model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 9 MiB desc: 1x9 MiB
  Speed (MHz): avg: 4065 high: 4101 min/max: 800/4100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4098 2: 4097 3: 4062
    4: 4101 5: 4051 6: 4075 7: 4064 8: 4060 9: 3991 10: 4088 11: 4064
    12: 4032 bogomips: 52799
  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
    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
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: CLEVO/KAPOK
    driver: i915 v: kernel ports: active: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] vendor: CLEVO/KAPOK
    driver: nvidia v: 510.68.02 alternate: nouveau,nvidia_drm pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
    active: none empty: DP-1,DP-2,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1ba1
    class-ID: 0300
  Device-3: Chicony USB 2.0 Camera type: USB driver: uvcvideo bus-ID: 1-8:3
    chip-ID: 04f2:b5a7 class-ID: 0e02
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.1
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
    gpu: i915,nvidia display-ID: 0
  Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    v: 4.6 Mesa 22.0.3 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Sound Server-1: ALSA v: k5.17.7-300.fc36.x86_64 running: yes
  Sound Server-2: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel Wireless-AC 9260 vendor: Rivet Networks driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 8086:2526 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: CLEVO/KAPOK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
    v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0025 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 2.05 TiB used: 449.29 GiB (21.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 960 EVO 250GB size: 232.89 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 3B7QCXE7 temp: 36.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000LX001-1RG174
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: SDM1
Partition:
  ID-1: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%)
    used: 165.5 MiB (17.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%)
    used: 9.8 MiB (1.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 53.0 C pch: 61.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 352 Uptime: 33m wakeups: 1 Memory: 31.2 GiB
  used: 3.85 GiB (12.3%) Init: systemd v: 250 runlevel: 5
  target: graphical.target tool: systemctl Compilers: gcc: 12.1.1 Packages:
  note: see --pkg flatpak: 86 Shell: Zsh v: 5.8.1 running-in: alacritty
  inxi: 3.3.14

I also see this on my system with AMD GPU, and laptop with Intel integrated graphics.

1 Like