Fix graphics glitches upon resume with Nvidia GPU on Ubuntu

Ubuntu 16.04 with Nvidia driver version 375 may experience rainbow banding effects where shadows are cast. Here’s a workaround.

setsid compiz --replace

This does not require sudo.

  • In the end I temporarily reverted back to Nvidia driver 340 while waiting for the fix in Nvidia driver 38x.
  • Nouveau also works OK.

Reference

https://askubuntu.com/a/802744

Leave a Comment