GTX660M glitches on Ubuntu 18.04.1 LTS 4.15.0-23-generic

WebGL and Ubuntu desktop experience glitches after suspend/resume on Ubuntu 18.04.1 LTS 4.15.0-23-generic. These show as a black and green chequered pattern, usually with some further distortion.

Package nvidia-driver-410 installed from ppa:graphics-drivers


01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GTX 660M] (rev a1)


nvidia_uvm 786432 0
nvidia_drm 40960 11
nvidia_modeset 1040384 17 nvidia_drm
nvidia 16560128 748 nvidia_modeset,nvidia_uvm
drm_kms_helper 167936 2 i915,nvidia_drm
drm 401408 15 i915,nvidia_drm,drm_kms_helper
ipmi_msghandler 53248 2 nvidia,ipmi_devintf

Please see attached screenshots and nvidia-bug-report.log.gz

nvidia-bug-report.log.gz (1.08 MB)

I dont wanna be this guy, but for a 660M you will have a better experience with nouveau

322997am, I need this driver because the nouveau driver doesn’t have full API support.