r/SurfaceLinux • • Jun 19 '20

Help Surface pro 3 + ubuntu 20 tearing problems

I had ubuntu 18 a lot of time without problems, and now I installed ubuntu 20 and I am experenting tearing problems.

Have anybody same problems?

0 Upvotes

3 comments sorted by

2

u/k4ever07 Jun 19 '20 edited Jun 19 '20

I have a Surface Pro 4 and I'm just amazed that you didn't have these issues before.

Use the text editor to create an intel.conf file:

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

Then paste the following in it (Note: there shouldn't be spaces in between each line, reddit does that for some ungodly reason. You also want to tab the first words of every line except Section and EndSection):

Section "Device"

Identifier "Intel Graphics"

Driver "intel"

Option "AccelMethod" "sna"

Option "DRI" "3"

Option "TearFree" "true"

EndSection

Save, then log out and back in or reboot your Surface Pro. If you run into any issues afterwords, just remove the "AccelMethod" option line.

2

u/k4ever07 Jun 19 '20

Just so you are tracking, this is just a modified version of the following:

https://wiki.archlinux.org/index.php/intel_graphics#Tearing

The other options just ensure that your system is using the latest acceleration method (sna) and the latest version of the direct rendering infrastructure (DRI3). These should be enabled by default, but you never know...

2

u/davinazo Jun 20 '20

Thank you very much, works correctly. <3