TEARING WHEN PLAYBACK VIDEO OR SCROLLING WEBPAGE (Intel Graphics)

Create file
/usr/share/X11/xorg.conf.d/20-intel.conf

or

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

Check folder first whether which one existed for *buntu mostly /usr/share/X11/xorg.conf.d/

Section "Device"
	Identifier "Intel Graphics"
	Driver "Intel"
		Option "AccelMethod" "sna"
		Option "TearFree" "true"
		Option "DRI" "3"
		Option "TripleBuffer" "true"
		Option "MigrationHeuristic" "greedy"
		Option "Tiling" "true"
EndSection

or

Section "Device"
	Identifier "Intel Graphics"
	Driver "Intel"
		Option "AccelMethod" "uxa"
		Option "DRI" "2"
		Option "TripleBuffer" "true"
		Option "MigrationHeuristic" "greedy"
		Option "Tiling" "true"
EndSection

for Skylake

Section "Device"
	Identifier "Intel Graphics"
	Driver "intel"
		Option "DRI" "false"
EndSection

 

Note

  1. SNA acceleration is default, change to UXA only you encounter pixelated graphics, corrupt text, etc.
  2. “TearFree” doesn’t work with UXA acceleration
  3. by default DRI is 3 change to 2 if you’re using virtual desktops and switching between desktops cause artifacts


References

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

https://www.x.org/archive/X11R7.5/doc/man/man4/intel.4.html

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s