Resume from suspense or wake from DPMS causes screen to "glitch"
Brief summary of the problem:
Under Wayland session, resume from suspend causes artifacting/glitching. The issue can be reproduced when wayland asks to turn off screen via command line.
Hardware description:
- CPU: AMD Ryzen 9 7950X 16-Core Processor
- GPU: 0e:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1)
- System Memory: 32GiB
- Display(s): 'Samsung Electric Company', model: 'U32J59x/HX5W200393'
- Type of Display Connection: HDMI
System information:
- Distro name and Version: Arch Linux
- Kernel version: Linux colorless 6.9.6-arch1-1 #1 (closed) SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
Wait screen to turn off (via suspend or lock screen) or forcibly running /bin/dbus-send --session --print-reply --dest=org.kde.kglobalaccel /component/org_kde_powerdevil org.kde.kglobalaccel.Component.invokeShortcut string:'Turn Off Screen'