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
- In the end I temporarily reverted back to Nvidia driver 340 while waiting for the fix in Nvidia driver 38x.
- Nouveau also works OK.