Ubuntu – 20.04 – Google Chrome Display Glitches after wake up

20.04display-resolutiongoogle-chromenvidia

If I had chrome opened, and I put my laptop to sleep. When I log back in, google chrome's display gets distorted and becomes black (seen in screenshot below).

All tabs becomes black and when I move the mouse over the black spaces, the black squares move.

This problem started happening when I upgraded from 18.04 to 20.04

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:    20.04
Codename:   focal

I'm using NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] and Nvidia 440 driver.

enter image description here

Best Answer

I tried the enable-vulkan option which worked but I ended up having a lot of lag. I found another option that is to add --use-cmd-decoder=validating --use-gl=desktop when launching.

I.e. I copied the /usr/share/applications/google-chrome.desktop to ~/.local/share/applications and edited the Exec line to add those options.

Related Question