simple (hopefully) question; I have a Dell XPS 13 with a Skylake processor, running Ubuntu 16.04. Some webpages cause flickering (namely Twitch); I have Googled solutions and came across hardware acceleration as an option to fix it, which worked but caused a lot of screen tearing and increased page load times. Any other suggestions on a solution?
According to this discussion, launching Chrome with following flags fixes the problem (it did solve it for me too):
I think the answer is in this post. As the best answer there:
"I disabled hardware acceleration for my browser from
Settings > Advance Settings > System > uncheck the hardware acceleration"
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 and unchecking hardware acceleration
I am using google-chrome-stable Version 50.0.2661.94 (64-bit) on Ubuntu 16.04
If you encounter scrolling lag and screen tearing, try
Go to: chrome://flags/#smooth-scrolling and Enable it.
Open a terminal as root 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 this two parameters
"--disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers" click Ctrl+O to save and Ctrl+X to exit.
Then enter this command as root again:
"sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf" and add this lines
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "AccelMethod" "sna" Option "TearFree" "true" Option "DRI" "3" EndSection
Ctrl+O and 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"
I'm on a Dell Inspiron 7559 and have had the same problem on and off for some weeks. I've tried all of the possible solutions I've found (most of which are mentioned above) in various configurations. Some stopped the tearing and flickering for a while or to some extent, but it always seemed to start again.
Some of the solutions actually broke my os (when I changed the xorg file data).
In the end, I switched to using Firefox as my main browser and admitted defeat.
(Edit): My issue seemed to stem not from Ubuntu but rather from the Nvidia drivers installed with Bumblebee.