Tearing on free video drivers in Linux Mint Xfce 18.2

tearing on free video drivers in Linux Mint Xfce 18.2In the recently released Linux Mint 18.2 with the desktop Xfce had updated window manager Xfwm4, which added support for vertical sync through DRI 3/Present and OpenGL. It solves the problem of tearing already at the hardware level, but in Linux Mint 18.2 (as in Ubuntu 16.04) is not enabled by default interface DRI 3, so the point of this innovations 0. So you need to turn it on.
This method works with the free video drivers for Intel and AMD cards.
The essence of the method is to create a custom Xorg configuration file, which specifies the necessary options. Create this file:

sudo nano /etc/X11/xorg.conf.d/20-intel.conf
accordingly, for AMD it will be
sudo nano /etc/X11/xorg.conf.d/20-radeon.conf
insert the following config:
for Intel
Section “Device”
       Identifier  “Intel Graphics”
       Driver   “intel”
       Option  “AccelMethod”  “sna”
       Option  “DRI”  “3”
       Option  “TearFree”  “true”
EndSection
for Radeon
Section “Device”
       Identifier  “Radeon Graphics”
       Driver   “radeon”
       Option  “AccelMethod”  “glamor”
       Option  “DRI”  “3”
       Option  “TearFree”  “true”
EndSection
Save (Ctrl+x => Y => Enter) and reboot the system. After a reboot the tearing should be solved forever.
May the Force be with you,
Good Luck!!!

Share to friends
Shekin
Rate author
( No ratings yet )
MintGuide.Org
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Shekin
Shekin
2022 years ago

Krystyn,
sudo touch /etc/X11/xorg.conf.d/20-intel.conf