I'm using the latest Nvidia graphics drivers. They're working very well, but sometimes when my desktop wakes up from suspend, I get a black screen, before and/or after I log in. The screen will light up and stay black. Sometimes the issue is resolved by pressing the power button on the monitor to restart it. If it doesn't work, I have to press F1 and restart lightdm the fix it. It's very annoying and I would really like to be able to fix it. I'm currently using elementary os 0.4.1 and I have a GTX 760 (OEM). With black screen I actually mean it looks like the screen fades out, it also happens sometimes when I close a fullscreen application.
I had this problem not only with elementaryOS, but with Lubuntu as well. Its a driver problem.
Do not use the
nvidia drivers included in the AppCenter, this is a known bug that happens with the legacy drivers included in most LTS variations of Ubuntu.
To fix just update your drivers using nvidia's driver repo.
sudo apt-get purge nvidia* sudo add-apt-repository ppa:graphics-drivers sudo apt-get update
Check your Graphics cards for a compatible Driver, for example, my GPU is Nvidia GeForce GTX 1050, so it's compatible with the Latest Short Lived branch which is
sudo apt-get install nvidia-XXX
Replace XXX with the version your GPU is compatible with. The latest, the better.
Restart, the problem should be fixed.