Chrome not rendering properly in Ubuntu
I keep getting artifacts when using Chrome in Ubuntu (black bars, multiple pages mixing together, as shown in the attached images). I had the same issue on my old laptop. My GPU card was damaged so I assumed that was the issue. Now I have a brand new laptop (Acer Predator, GPU nvidia GTX 1660 ti) with the same problem. The driver I'm using is 440. I wonder if there's something I could do to fix this issue.
I solved it by doing the following:
In Chrome:
Go to Settings -> Advanced -> System -> Disable the option "Use hardware acceleration when available"
Source: https://support.google.com/chrome/thread/8581885?hl=en&msgid=16395751
Go to chrome://flags/ And set Vulkan to enable.
The only workaround I have found is to completely restart Chrome after sleep. To do this in a way that preserves your windows and tabs is:
chrome://restart
I actually made this into a bookmark.