After upgrading to nvidia 375, glitchy borders around windows [duplicate]

Solution 1:

Same problem. My driver was updated to nvidia-375 after upgrading cuda.

I found that restarting the window manager with

unity --replace

fixed this, although some windows crashed (Chrome for example) in the process.

Restarting compiz mighty also work, though I haven't tried it.

Edit: compiz --replace seems to work better for this, with little or no window crashing.

Solution 2:

Got the same issue with new drivers (378.13). Try to set old version in System Settings -> Additional Drivers. In my case work fine with 367.57