Frame drops while recording vulkan window
Affected version
Arch Linux
Linux 5.17.5
mutter 42.0 (wayland)
mesa 22.0.2
amdgpu
Hardware:
Rx 570 4Gb
Monitor LG 24GN600-B 1080p 144hz
Bug summary
Mutter drops frames while screencasting an instensive vulkan game
Steps to reproduce
- Run a intensive Vulkan game like War Thunder
- Use Pipewire Window Screen Capture On OBS and capture the game window or screen (don't even need to start recording)
What happened
Mutter started to drop frames like crazy everything was slugish when in game even though the game itself was running at well over 70 fps at all times, sometimes reaching the 100s fps.
What did you expect to happen
Smooth gameplay while capturing the screen.