close
» » Tearing on free video drivers in Linux Mint Xfce 18.2

Tearing on free video drivers in Linux Mint Xfce 18.2

System
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!!!

Print version

Add comments

  • Local comments
  • Facebook comments
Krystyn
Krystyn 12 July 2017 15:37
This line:

sudo nano /etc/X11/xorg.conf.d/20-intel.conf


Gives me this response when I try to save the file:

Error writing /etc/X11/xorg.conf.d/20-intel.conf: No such file or directory


Should I just go ahead and make that directory?

Note, I am trying this in Linux Mint 18.2 Cinnamon becasue I have screen tearing on my Thinkpad x220
  • 0
Shekin 13 July 2017 16:59
Krystyn,
sudo touch /etc/X11/xorg.conf.d/20-intel.conf
--------------------
x64 Linux Mint 18.2 cinnamon
  • 0
kafran
kafran 14 July 2017 14:42
Shouldn't it be /usr/share/X11/xorg.conf.d/ ??
  • 0
  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
CrossOver Linux