I had in all video applications (VLC, XBMC, KODI …) problems with video tearing.
While watching a movie there are anoying vertical stripes in scenes with fast moving content or during camera movements.
Specially in KODI and VLC the problem occurs.
The solution is quite easy. Just do the following:
sudo nano /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
Add the -bs option to the xserver line. After adding the content of the file looks like that:
# Dump core
xserver-command=X -bs -core
Do a reboot and enjoy your movies.
This is tested on my Dell Latitude E7440 with Ubuntu 14.04 . You may also need to change the file again, after upgrading to a newer Ubunut version.
UPDATE for UBUNTU 15.04
To solve the problem in Ubuntu 15.04 with Intel-Chipset under my Dell Latitude E7440:
sudo apt-get install mesa-utils
sudo mkdir /etc/X11/xorg.conf.d/
echo -e ‚Section „Device“\n Identifier „Intel Graphics“\n Driver „Intel“\n Option „AccelMethod“ „sna“\n Option „TearFree“ „true“\nEndSection‘ | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
In Ubuntu 14.04.3 LTS the above solutions suddenly stops working for me. After some reading I find the following which works again for me.
You need to create the file
TearFree is disabled by default. To enable it add in
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "AccelMethod" "sna" Option "TearFree" "true" EndSection
Same problem suddenly happens again. No solution above works for me anymore.
So here is the very new fix that worked for me so far:
sudo apt-add-repository ppa:timo-jyrinki/ppa
sudo apt-get update
sudo apt-get install libsdl1.2debian