This question already has an answer here:

After waking my computer up from suspend, I was confronted with this:

appearance after first wake from suspend

It is reproducible, however the second time, it looked slightly different:

enter image description here

Notice the strange edges of all open windows, which seem to be showing the receptive area of the windows (perhaps the part that measures how close they are to other windows for snapping into place?)

Has anyone seen this before and is it a known issue, with a solution?

I haven't been able to find this problem explained anywhere else - perhaps because I don't know what to search for.

This machine has a newly installed Ubuntu 16.04 running on an Intel 6850k with an Nvidia graphics card using the driver 375 (installed via ppa).

marked as duplicate by Dan, Zanna, Android Dev, Eric Carvalho, Elder Geek Apr 4 '17 at 12:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Yep, seems to be the same problem that is described in that link. There are other solutions suggested in that thread, and the information is better summarised. I did actually post this question a day earlier though :) – n1k31t4 Apr 3 '17 at 15:22

I have just found this issue mentioned on an Nvidia forum, and it seems to be related to the latest drivers, although the ones mentioned in the forum are slightly newer than my own. I have driver 375 and the issue is reported under 378.

It seems to be an issue involving compiz, and so simply killing (and presumably restarting) the process works.
A workaround solution posted by one user is to kill the process in a script that runs after the system wakes up:

kill $(ps -C compiz -o pid=)

I tried this during a session, by finding and killing the process:

~$ ps -C compiz
   PID TTY          TIME CMD
   4158 ?        00:00:11 compiz

~$ kill 4158

This leads to a few moments of weirdness, before compiz restarts - then everything is fine once again. As this is a reported bug, I would expect it to be fixed in the next driver release from Nvidia.

Not the answer you're looking for? Browse other questions tagged or ask your own question.