sudo apt-get install mesa-utils
sudo apt-get install intel-gpu-tools
vi /etc/X11/xorg.conf.d/20-intel.conf 
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option     "AccelMethod"  "sna"
   Option  "TripleBuffer" "true"
   Option      "TearFree" "true"
   Option      "DRI"          "false"
   Option           "DRI" "3"
EndSection