Black screen after wake up and wrong resolution with the fix












4















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?










share|improve this question























  • do you have bumblebee installed? sudo apt-get install bumblebee-nvidia

    – Andrea Borga
    Jan 23 at 8:20






  • 1





    I thought that the bumblebee project was abandonned.

    – Wizix
    Jan 23 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.

    – Andrea Borga
    Jan 23 at 8:42
















4















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?










share|improve this question























  • do you have bumblebee installed? sudo apt-get install bumblebee-nvidia

    – Andrea Borga
    Jan 23 at 8:20






  • 1





    I thought that the bumblebee project was abandonned.

    – Wizix
    Jan 23 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.

    – Andrea Borga
    Jan 23 at 8:42














4












4








4








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?










share|improve this question














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?







drivers nvidia 18.04 nouveau






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 20 at 11:18









WizixWizix

714




714













  • do you have bumblebee installed? sudo apt-get install bumblebee-nvidia

    – Andrea Borga
    Jan 23 at 8:20






  • 1





    I thought that the bumblebee project was abandonned.

    – Wizix
    Jan 23 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.

    – Andrea Borga
    Jan 23 at 8:42



















  • do you have bumblebee installed? sudo apt-get install bumblebee-nvidia

    – Andrea Borga
    Jan 23 at 8:20






  • 1





    I thought that the bumblebee project was abandonned.

    – Wizix
    Jan 23 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.

    – Andrea Borga
    Jan 23 at 8:42

















do you have bumblebee installed? sudo apt-get install bumblebee-nvidia

– Andrea Borga
Jan 23 at 8:20





do you have bumblebee installed? sudo apt-get install bumblebee-nvidia

– Andrea Borga
Jan 23 at 8:20




1




1





I thought that the bumblebee project was abandonned.

– Wizix
Jan 23 at 8:41







I thought that the bumblebee project was abandonned.

– Wizix
Jan 23 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.

– Andrea Borga
Jan 23 at 8:42





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.

– Andrea Borga
Jan 23 at 8:42










2 Answers
2






active

oldest

votes


















0














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.






share|improve this answer































    0














    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_DEFAULT="nosplash"
    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.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111337%2fblack-screen-after-wake-up-and-wrong-resolution-with-the-fix%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      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.






      share|improve this answer




























        0














        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.






        share|improve this answer


























          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 23 at 17:34









          Gabriel FairGabriel Fair

          981215




          981215

























              0














              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_DEFAULT="nosplash"
              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.






              share|improve this answer




























                0














                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_DEFAULT="nosplash"
                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.






                share|improve this answer


























                  0












                  0








                  0







                  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_DEFAULT="nosplash"
                  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.






                  share|improve this answer













                  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_DEFAULT="nosplash"
                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 26 at 18:38









                  VoltBitVoltBit

                  713




                  713






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111337%2fblack-screen-after-wake-up-and-wrong-resolution-with-the-fix%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Questions related to Moebius Transform of Characteristic Function of the Primes

                      List of scandals in India

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?