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












1















I am using an




  • Asus K510Q

  • i5 8th gen

  • NVidia 940mx

  • 8GB of RAM


I am running Ubuntu 18.04 LTS on it.

Whenever I install the NVidia drivers, the OS starts behaving in a weird fashion: the screen doesn't resume after I put the machine on sleep mode. I tried Ubuntu 16.04 also, but I faced the same problem.



I have reinstalled the OS twice because of facing this issue.

Can someone help me with what should I do in order to solve this problem?










share|improve this question





























    1















    I am using an




    • Asus K510Q

    • i5 8th gen

    • NVidia 940mx

    • 8GB of RAM


    I am running Ubuntu 18.04 LTS on it.

    Whenever I install the NVidia drivers, the OS starts behaving in a weird fashion: the screen doesn't resume after I put the machine on sleep mode. I tried Ubuntu 16.04 also, but I faced the same problem.



    I have reinstalled the OS twice because of facing this issue.

    Can someone help me with what should I do in order to solve this problem?










    share|improve this question



























      1












      1








      1








      I am using an




      • Asus K510Q

      • i5 8th gen

      • NVidia 940mx

      • 8GB of RAM


      I am running Ubuntu 18.04 LTS on it.

      Whenever I install the NVidia drivers, the OS starts behaving in a weird fashion: the screen doesn't resume after I put the machine on sleep mode. I tried Ubuntu 16.04 also, but I faced the same problem.



      I have reinstalled the OS twice because of facing this issue.

      Can someone help me with what should I do in order to solve this problem?










      share|improve this question
















      I am using an




      • Asus K510Q

      • i5 8th gen

      • NVidia 940mx

      • 8GB of RAM


      I am running Ubuntu 18.04 LTS on it.

      Whenever I install the NVidia drivers, the OS starts behaving in a weird fashion: the screen doesn't resume after I put the machine on sleep mode. I tried Ubuntu 16.04 also, but I faced the same problem.



      I have reinstalled the OS twice because of facing this issue.

      Can someone help me with what should I do in order to solve this problem?







      drivers nvidia 18.04 suspend






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 '18 at 22:24









      zx485

      1,45231114




      1,45231114










      asked Nov 17 '18 at 20:04









      Achintya ShankhdharAchintya Shankhdhar

      61




      61






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Somebody from the nvidia forums found a solution to this issue:



          https://devtalk.nvidia.com/default/topic/1044633/driver-does-not-wake-gpu-properly-after-suspend-ubuntu-18-10-with-branch-390-410-and-415-/



          The user mentions that for him it only works with lightdm, but I use gdm3 and it works fine.
          I will paste here the fix (a grub configuration):



          GRUB_DEFAULT=0
          GRUB_TIMEOUT_STYLE=menu
          ## GRUB_TIMEOUT=0
          GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
          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"


          Only the last two lines are important.



          To change the grub configuration edit:



          /etc/default/grub


          And then updated the grub:



          sudo update-grub


          My config:



          Ubuntu 18.04.1 LTS
          4.20.3-042003-generic
          Driver Version: 415.27





          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%2f1093818%2fscreen-doesnt-resume-after-putting-on-sleep-mode-after-installing-nvidia-driver%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Somebody from the nvidia forums found a solution to this issue:



            https://devtalk.nvidia.com/default/topic/1044633/driver-does-not-wake-gpu-properly-after-suspend-ubuntu-18-10-with-branch-390-410-and-415-/



            The user mentions that for him it only works with lightdm, but I use gdm3 and it works fine.
            I will paste here the fix (a grub configuration):



            GRUB_DEFAULT=0
            GRUB_TIMEOUT_STYLE=menu
            ## GRUB_TIMEOUT=0
            GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
            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"


            Only the last two lines are important.



            To change the grub configuration edit:



            /etc/default/grub


            And then updated the grub:



            sudo update-grub


            My config:



            Ubuntu 18.04.1 LTS
            4.20.3-042003-generic
            Driver Version: 415.27





            share|improve this answer




























              0














              Somebody from the nvidia forums found a solution to this issue:



              https://devtalk.nvidia.com/default/topic/1044633/driver-does-not-wake-gpu-properly-after-suspend-ubuntu-18-10-with-branch-390-410-and-415-/



              The user mentions that for him it only works with lightdm, but I use gdm3 and it works fine.
              I will paste here the fix (a grub configuration):



              GRUB_DEFAULT=0
              GRUB_TIMEOUT_STYLE=menu
              ## GRUB_TIMEOUT=0
              GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
              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"


              Only the last two lines are important.



              To change the grub configuration edit:



              /etc/default/grub


              And then updated the grub:



              sudo update-grub


              My config:



              Ubuntu 18.04.1 LTS
              4.20.3-042003-generic
              Driver Version: 415.27





              share|improve this answer


























                0












                0








                0







                Somebody from the nvidia forums found a solution to this issue:



                https://devtalk.nvidia.com/default/topic/1044633/driver-does-not-wake-gpu-properly-after-suspend-ubuntu-18-10-with-branch-390-410-and-415-/



                The user mentions that for him it only works with lightdm, but I use gdm3 and it works fine.
                I will paste here the fix (a grub configuration):



                GRUB_DEFAULT=0
                GRUB_TIMEOUT_STYLE=menu
                ## GRUB_TIMEOUT=0
                GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
                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"


                Only the last two lines are important.



                To change the grub configuration edit:



                /etc/default/grub


                And then updated the grub:



                sudo update-grub


                My config:



                Ubuntu 18.04.1 LTS
                4.20.3-042003-generic
                Driver Version: 415.27





                share|improve this answer













                Somebody from the nvidia forums found a solution to this issue:



                https://devtalk.nvidia.com/default/topic/1044633/driver-does-not-wake-gpu-properly-after-suspend-ubuntu-18-10-with-branch-390-410-and-415-/



                The user mentions that for him it only works with lightdm, but I use gdm3 and it works fine.
                I will paste here the fix (a grub configuration):



                GRUB_DEFAULT=0
                GRUB_TIMEOUT_STYLE=menu
                ## GRUB_TIMEOUT=0
                GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
                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"


                Only the last two lines are important.



                To change the grub configuration edit:



                /etc/default/grub


                And then updated the grub:



                sudo update-grub


                My config:



                Ubuntu 18.04.1 LTS
                4.20.3-042003-generic
                Driver Version: 415.27






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 26 at 18:22









                VoltBitVoltBit

                513




                513






























                    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%2f1093818%2fscreen-doesnt-resume-after-putting-on-sleep-mode-after-installing-nvidia-driver%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

                    How to make a Squid Proxy server?

                    Is this a new Fibonacci Identity?

                    19世紀