RADV bug vulkan games/apps stutter with 99% gpu usage, after a cycle of keeping them running, then suspending the system and waking it, all in a sway/wayland enviroment.
Description
Opened vulkan rendered games/apps after a cycle of suspend/wake stutter and cause 99% gpu usage in a wayland desktop enviroment.
Steps to reproduce
- Open any video in mpv using the following mpv options:
gpu-api=vulkan
spirv-compiler=shaderc
gpu-context=waylandvk
- Pause the video and suspend the system
- Wake the system and resume the video play
- Observe the degraded performance and use
cat /sys/class/drm/card0/device/gpu_busy_percent
to monitor gpu usage.
System information
- OS: Manjaro
- GPU: RX 5500 XT 4GB
- Kernel version: 5.10+
- Mesa version: 21.1.5
- Desktop environment: Sway
If applicable
- DXVK version: 1.6+
- Wine/Proton version: 6.3+
Further information (optional)
You can also reproduce the issue by replacing mpv, with free dxvk games like warframe in steam and following the same steps.
It is not a regression, issue has been happening since forever.