Ubuntu – black screen after resuming from suspend


My laptop screen goes black after I resume it from suspend while using nvidia as default graphics manager, but when I use Intel graphics as default I dont have this issue. Nothing works, even restarting lightdm is useless.

I have pm-suspend.log file here

NOTE: I can switch between Intel Intergrated graphics and NVIDIA Dedicated graphics using Nvidia-optimus drivers. NVIDIA graphics card named 820m. I am using nouveau driver v346.47(as shown below).

additional drivers -nvidia drivers - ubuntu

nvidia control panel ubuntu

Best Answer

This is a common problem with that nouveau driver that is still relevant as of three days ago. I got bricked by a kernel update, had to switch to the nouveau driver and my pet supercomputer basically became unusable with all these exact symptoms, to the letter.

If you still haven't solved this problem, please try this once you get yourself into the text mode with one of those magic key combinations:

first check your kernel version:

uname -a

then attempt to install a package linux-headers that matches your kernel version. It may say that you're already up to date, which is good. If it tries to install, then good, let it. Something like this:

sudo apt-get install linux-headers-<your kernel version from uname>

After that, install the NVIDIA drivers:

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt-get update

sudo apt-get install nvidia-396

The latest version that I use is 396. I'm on 4.13.0-39 kernel. Your version might be different depending on what you're using.

Hope this helps.

Related Question