Fix tearing without breaking apps

I installed the GPD Win Max image of Ubuntu Mate on my GPD Win max.
on this page https://ubuntu-mate.org/ports/umpcs/ it says:

  • Enable TearFree rendering by default.

But I'm still getting a lot of vertical tearing which is very annoying.

I checked the xorg scripts and none of them have tearfree enabled for Intel.
So I did it myself by adding this:

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"

  Option "TearFree" "true"
EndSection

This works, but sadly it breaks certain apps like Electron apps like Discord, it causes them to flicker really badly.

Is there a way to get a tearfree image without breaking those apps?

I still have not fixed my issue

Try Compton.

(post must be 20+ chars...)