Annoying flickering in 16.04 LTS - Chrome
Solution 1:
After some research, I found a solution to this problem. It is working for me now.
I disabled hardware acceleration for my browser from
Settings > Advance Settings > System > uncheck the hardware acceleration
Hope this works on your machine.
I am using google-chrome-stable Version 50.0.2661.94 (64-bit)
on Ubuntu 16.04
-----EDIT----
If you encounter scrolling lag and screen tear. Do as suggested by Amos Folarin in the comment below:
Go to: chrome://flags/#smooth-scrolling
and Enable it.
Solution 2:
I had same problem, setting GPU rasterization to 'Force-enabled for all layers' seems to be finally working:
Solution 3:
I fixed it as follows:
sudo apt-get purge xserver-xorg-video-intel
then reboot. This is because Intel drivers moved to modesetting. For more info see this comment in the Chromium bug thread.
Solution 4:
Open a terminal and enter this command:
sudo nano /usr/share/applications/chromium-browser.desktop
and scroll down until you get to this line:
Exec= chromium-browser
Then add these two parameters
--disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers
Press Ctrl+O to save and Ctrl+X to exit.
Then enter this command:
sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf
and add these lines
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "DRI" "3"
EndSection
Press Ctrl+O then Ctrl+X.
Open Chromium and write to address bar: chrome://flags/
and enter.
- Enable-zero-copy
- Enable Override Software Rendering List
- Enable Display 2D List Canvas
Finally open chrome settings and click on:
- Use hardware acceleration when available
Solution 5:
None of these answers seemed to help me. What I ended up doing which seems to have fixed it (My reference was this site http://www.bang-olufsen.com/ which flickered like CRAZY and now it works smoothly) is this:
1.- Navigated to chrome://gpu/
. This is what it showed:
2.- I tried fixing the problems one by one. In my case, enabling these flags fixed some of them: GPU rasterization
, Override software rendering list
. Then it showed like this:
3.- I edited the desktop launcher and added the parameters --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers
.
4.- After that, no more problems detected, everything shows as "hardware accelerated" and, more importantly, no more flickering:
If you add the parameters to the launcher first, the list of problems should be shorter and it'll probably be easier to figure out which flags will help you with the problems you have left.