Video players tearing when in fullscreen under Xorg
Affected version
Arch Linux 64 bit
GNOME 3.38.1
XOrg with RX 5700XT using mesa and xf86-video-amdgpu
Bug summary
When playing video in fullscreen (happens in totem, mpv, VLC, latest Firefox but not in nightly) video starts to tear from the top half of the screen. I know this issue happens because unredirection of fullscreen windows. You can partly fix this issue by enabling TearFree, but I don't consider this a complete fix because it adds input lag in games etc. in which I'm very sensitive.
Weird thing is that Firefox Nightly doesn't have this issue. So it's odd that native gnome video players have also tearing. So I assume they don't try bypassing the fullscreen uredirection which might be good idea with video players but not in games.
Steps to reproduce
- Open video player and play some video
- Put it in full screen
What happened
Video starts tearing from the top half of the screen.
What did you expect to happen
With video players I expect it to not unredirect fullscreen or just not to tear without TearFree because TearFree just complicates things and adds input lag in games. TearFree should only be relevant on DEs with no compositioning or for people who favor no tearing for added expense in input lag with gaming.
Relevant logs, screenshots, screencasts etc.
Might be able to take photo with my phone from the screen but It's kind of a hassle to get the photos to my PC. Also this issue happens at least also in Fedora 33. I would assume this might happen also with other Gnome 3.38 distros.