Linuxslaves.com - Well, I have a Google Chrome on Ubuntu 14.04 and 16.04. It has really annoying screen flicker while running with Intel-based integrated video on certain websites like YouTube, Google Maps, Twitch, Facebook, etc.
Glad, I found a solution to fix Google Chrome flicker issue in Ubuntu desktop Trusty Tahr and Xenial Xerus after some research. It is working for me now.
Glad, I found a solution to fix Google Chrome flicker issue in Ubuntu desktop Trusty Tahr and Xenial Xerus after some research. It is working for me now.
Let's get started!.
Method #1 Chrome Flickers
The first one is quite simple. You can try by disabling the hardware acceleration. To do that, simply launch Google Chrome and open :
- Settings
- Advance Settings
- System
- Toggle off Use hardware acceleration when available
It fixed the issue, but the browser will be much slower. Ah ya, you may encounter scrolling lag, screen tearing, and etc.
So you have to enable smooth scrolling. Copy and paste the text below in Chrome address bar :
chrome://flags/#smooth-scrolling
If the above steps didn't work for you, then go and try the second solution.
Method #2 Chrome Flickers
To solve Google Chrome Flickering in Ubuntu, you can disable GPU driver bug workarounds and enable native GPU memory buffers. Here's all you need to do :
Suggested read :
Step 1 - Run the following command :
sudo nano /usr/share/applications/google-chrome.desktop
You can change "nano" with your preferred text editor for Linux e.g Gedit, Vim, and so on.
Step 2 - Scroll down until you get Exec line
Step 3 - Then add these two parameters :
--disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers
So it should be look like this :
Exec=/usr/bin/google-chrome-stable –disable-gpu-driver-bug-workarounds –enable-native-gpu-memory-buffers %U
Press Ctrl+O to write out > Enter to save the changes > and Ctrl+X to close the editor.
Note : You'll have to repeat the steps above each time you upgrade Chrome.
Step 4 - Run the command below to create Intel configuration file :
sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf
Then add this line :
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "DRI" "3"
EndSection
Save the configuration by pressing Ctrl+O to write out > Enter to save the changes > and Ctrl+X to close the editor.
Step 5 - Open chrome://flags/ in address bar and enable :
- Zero-copy rasterizer
- Override Software Rendering List
Step 6 - Now open Chrome settings > Advance Settings > System > enable Use hardware acceleration when available
Hope that help for those who looking to fix Annoying flickering Chrome in Ubuntu Linux. Thanks for reading!.