See if this works:
This method works only if you’re using Intel Graphics with an Intel SandyBridge (2nd generation) CPU or newer.
Create an empty file anywhere using right-click menu. Name it 20-intel.conf Open it using any text editor (like Gedit, Mousepad etc.) and add the following lines:-
Identifier "Intel Graphics"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Now save the file. Open your file manager with root privilege (
sudo -i nautilus for Ubuntu). Paste the file in /etc/X11/xorg.conf.d
Create the requisite folders if they don’t exist. Restart the system after it’s done.
If you experience issues like pixelated graphics, corrupt text, etc. after this, replace the word
uxa within the text.