[Xorg] Compositor kicks in while playing Battlefield 4 (window gets redirected)
Affected version
- Arch Linux
- linux 5.16.13
- mutter 41.4
- gnome-shell 41.4
- mesa 21.3.7
- xorg-server 21.1.3
- xf86-video-amdgpu 22.0.0
- proton 7.0
Bug summary
I noticed that Battlefield 4 would start stuttering during gameplay. Alt-tabbing back to the game would momentarily fix the issue. CLUTTER_PAINT=redraws
shows that the game window gets redirected in some circumstances, which prevents Freesync from working.
Steps to reproduce
- Start gnome-shell with
CLUTTER_PAINT=redraws
- Run the game
- Load any level or move the mouse up and down quickly during gameplay
What happened
The game window gets redirected.
What did you expect to happen
The game window should stay unredirected.
Edited by Clément Guérin