Fixing Intel Graphics Glitching (Docky/Plank/Tint2) in Openbox on Samsung Ativ Book 8

I had a fairly subtle glitching issue on my Samsung Ativ Book 8 running Openbox on Debian Jessie. Basically icons in Docky/Plank had a orange box outline and Tint2 icons also looked unsmooth.

In order to fix I did the following:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
cd /etc/X11/xorg.conf.d/
cd /etc/X11/xorg.conf.d/
cd /etc/X11/xorg.conf.d/
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo nano 20-intel.conf
sudo nano 20-intel.conf
sudo nano 20-intel.conf

Then put the following in the file:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "AccelMethod" "sna" Option "TearFree" "true" EndSection
Section "Device"

Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"

EndSection