I'm trying to fix the Nouveau driver bug. When I wake up my computer from sleep, the screen remain black, no image. So I added the nouveau.modeset=0 in the grub file and after a reboot, the screen resolution is on 800x600. And there is no other options available in the config menu.

I also tried to install the last nVidia driver from the PPA but the computer become extremly laggy after a reboot. I have a nVidia 980M with Ubuntu 18.04.

How can I fix the nouveau bug while the usual fix creates other bugs?

  • do you have bumblebee installed? sudo apt-get install bumblebee-nvidia Jan 23 '19 at 8:20
  • 1
    I thought that the bumblebee project was abandonned. Jan 23 '19 at 8:41
  • yes, but it is worth I try. I used it some time ago on 16.04 LTS and it solved issues I had with black screens and hibernation. Jan 23 '19 at 8:42

I was wrestling around with this for the past two days. I've found that if you have performed a apt upgrade anytime since you first installed ubuntu, then the nvidia drivers will not work. As they are compiled for a specific kernal using a specific gcc version.

If you were to either drop back to the default linux kernal that came with your ubuntu image. (In your case Linux kernel 4.15). Or install the nvidia drivers first after a clean install without performing an upgrade, your issue will be fixed. (Please still remember to update).

I have found that using the lambda stack installer will automatically find the right nvidia driver to download and install and will automatically configure CUDA correctly.


I have already posted an answer here:

Screen doesn't resume after putting on sleep mode after installing NVidia drivers, how to fix it?

Try this grub configuration:

GRUB_CMDLINE_LINUX="nouveau.blacklist=1 acpi_rev_override=1 acpi_osi=Linux nouveau.modeset=0 pcie_aspm=force drm.vblankoffdelay=1 scsi_mod.use_blk_mq=1 nouveau.runpm=0 mem_sleep_default=deep"

Update grub and reboot. Works with kernel 4.20.3 (probably works with 4.17+ too) and driver 415.27 from ppa:graphics-drivers.

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.