I am using xfwm4 with compositing and vblank=xpresent (better than vblank=opengl on my machine).
I have tearing issues every time I unplug the external monitor from my laptop or when the laptop is undocked.
How to reproduce:
- connect an external monitor to the laptop and select extended display or external monitor only
(there is no tearing)
- unplug the monitor
- play a tearing test video in fullscreen with vlc or mpv (XV or opengl)
As a workaround, if the dialog box for the display layouts is still open, selecting "laptop screen only" fixes the issue.
I have also replaced the compositor with compton and have no tearing issues.
xfwm4 4.14.0 with vblank=xpresent
xorg-server 1.20.5 and Intel SNA (I have also the same issue with modesetting and xorg-server-git, since vsync seems to be broken in 1.20.5)
edit: I meant vblank=glx instead of vblank=opengl
I can no longer reproduce the issue.