2

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.

  • (since i can't comment I'll ask in the form of an answer, then update accordingly) Is it on a laptop or Desktop? (specifically it's very nice to know if it's actually an GTX 760M, with optimus, as that changes the situation slightly ) also, could you please post the output of: find /lib/modules/$(uname -r) -name 'nvidia*.ko*' – user3801839 Dec 22 '17 at 10:00
  • Here is the output: /lib/modules/4.11.7-041107-generic/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko /lib/modules/4.11.7-041107-generic/extra/nvidia_387.ko /lib/modules/4.11.7-041107-generic/extra/nvidia_387_uvm.ko /lib/modules/4.11.7-041107-generic/extra/nvidia_387_drm.ko /lib/modules/4.11.7-041107-generic/extra/nvidia_387_modeset.ko And I'm on a desktop. – Danacus Dec 22 '17 at 10:57
1

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 nvidia-396

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.

Sources:

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

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