Ubuntu 18.04 Stuck at Shutdown/Reboot. Possible issue with graphics card












2















I upgraded from Ubuntu 17.10 to Ubuntu 18.04. Since then it always gets stuck on shutdown or rebooting while running through some commands. As a result, I have to do a hard reboot by pressing the power button. I have dual boot with Windows 10 with secure boot disabled.
When I boot to Ubuntu again, it gets stuck sometimes before login screen with a black screen or after login screen with a purple blank screen but I can login to tty.
Though it boots well if I run dpkg from the GRUB menu each time.
Even when I can log in, there is no brightness control working. Many times, Ubuntu fails to identify the lan connection.
How could I fix the shutdown problem?
System info:



Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Intel Skylake GT2 [HD Graphics 520]
AMD radeon R7 M440
Ubuntu 18.04, kernel: 4.15.0-22-generic










share|improve this question



























    2















    I upgraded from Ubuntu 17.10 to Ubuntu 18.04. Since then it always gets stuck on shutdown or rebooting while running through some commands. As a result, I have to do a hard reboot by pressing the power button. I have dual boot with Windows 10 with secure boot disabled.
    When I boot to Ubuntu again, it gets stuck sometimes before login screen with a black screen or after login screen with a purple blank screen but I can login to tty.
    Though it boots well if I run dpkg from the GRUB menu each time.
    Even when I can log in, there is no brightness control working. Many times, Ubuntu fails to identify the lan connection.
    How could I fix the shutdown problem?
    System info:



    Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
    Intel Skylake GT2 [HD Graphics 520]
    AMD radeon R7 M440
    Ubuntu 18.04, kernel: 4.15.0-22-generic










    share|improve this question

























      2












      2








      2








      I upgraded from Ubuntu 17.10 to Ubuntu 18.04. Since then it always gets stuck on shutdown or rebooting while running through some commands. As a result, I have to do a hard reboot by pressing the power button. I have dual boot with Windows 10 with secure boot disabled.
      When I boot to Ubuntu again, it gets stuck sometimes before login screen with a black screen or after login screen with a purple blank screen but I can login to tty.
      Though it boots well if I run dpkg from the GRUB menu each time.
      Even when I can log in, there is no brightness control working. Many times, Ubuntu fails to identify the lan connection.
      How could I fix the shutdown problem?
      System info:



      Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
      Intel Skylake GT2 [HD Graphics 520]
      AMD radeon R7 M440
      Ubuntu 18.04, kernel: 4.15.0-22-generic










      share|improve this question














      I upgraded from Ubuntu 17.10 to Ubuntu 18.04. Since then it always gets stuck on shutdown or rebooting while running through some commands. As a result, I have to do a hard reboot by pressing the power button. I have dual boot with Windows 10 with secure boot disabled.
      When I boot to Ubuntu again, it gets stuck sometimes before login screen with a black screen or after login screen with a purple blank screen but I can login to tty.
      Though it boots well if I run dpkg from the GRUB menu each time.
      Even when I can log in, there is no brightness control working. Many times, Ubuntu fails to identify the lan connection.
      How could I fix the shutdown problem?
      System info:



      Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
      Intel Skylake GT2 [HD Graphics 520]
      AMD radeon R7 M440
      Ubuntu 18.04, kernel: 4.15.0-22-generic







      boot dual-boot drivers 18.04 amd-graphics






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 5 '18 at 5:30









      dmishradmishra

      330112




      330112






















          2 Answers
          2






          active

          oldest

          votes


















          1














          I got the very simimlar issue. After a new installation of ubuntu 18.04.2 on my laptop, everytime when I try to restart or shutdown the system, it stucks on the shutdown screen with a Ubuntu log like the following screen and I have to press power button to shutdown:



          enter image description here



          And I solved the problem by switch from Nouveau driver to NVIDIA driver, using Software & Updates App, as following screenshot. The problem disappers after using NVIDIA driver, so I guess there are some potential bugs in Nouveau driver.



          enter image description here





          And here is my video cards info (the laptop have two video cards, one Intel integrated video card and one NVIDIA card):



          $ sudo lshw -c video
          # OR
          $ sudo lshw -c display
          *-display
          description: VGA compatible controller
          product: HD Graphics 620
          vendor: Intel Corporation
          physical id: 2
          bus info: pci@0000:00:02.0
          version: 02
          width: 64 bits
          clock: 33MHz
          capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
          configuration: driver=i915 latency=0
          resources: irq:128 memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:4000(size=64) memory:c0000-dffff
          *-display
          description: 3D controller
          product: GP108M [GeForce MX150]
          vendor: NVIDIA Corporation
          physical id: 0
          bus info: pci@0000:01:00.0
          version: a1
          width: 64 bits
          clock: 33MHz
          capabilities: pm msi pciexpress bus_master cap_list
          configuration: driver=nvidia latency=0
          resources: irq:133 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)




          $ ubuntu-drivers devices
          == /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
          modalias : pci:v000010DEd00001D12sv00001D72sd00001604bc03sc02i00
          vendor : NVIDIA Corporation
          driver : nvidia-driver-390 - distro non-free recommended
          driver : xserver-xorg-video-nouveau - distro free builtin





          share|improve this answer

































            0














            I had the same problem 'stuck at shutdown/reboot' But I found a workaround.



            How about trying old linux-kernels ? --- for example, v4.0-vivid, v4.1-wily ~ v4.5-wily





            1. Install ukuu:



              sudo add-apt-repository ppa:teejee2008/ppa
              sudo apt-get update
              sudo apt-get install ukuu



            2. Check the list of available kernels:



              sudo ukuu --list



            3. install old kernels:



              sudo ukuu --install v4.5-wily



            4. Remove current kernel:



              reboot by advanced mode and choose old kernel.open terminal.



              sudo ukuu --remove (current kernel)







            share|improve this answer


























            • I did not try going back to this long, but I tried a few kernels which were there by default, 4.15.20 and 4.15.18 iirc. That had not helped. But now I have reinstalled Ubuntu overwriting the previous version.

              – dmishra
              Aug 10 '18 at 6:15












            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%2f1043701%2fubuntu-18-04-stuck-at-shutdown-reboot-possible-issue-with-graphics-card%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









            1














            I got the very simimlar issue. After a new installation of ubuntu 18.04.2 on my laptop, everytime when I try to restart or shutdown the system, it stucks on the shutdown screen with a Ubuntu log like the following screen and I have to press power button to shutdown:



            enter image description here



            And I solved the problem by switch from Nouveau driver to NVIDIA driver, using Software & Updates App, as following screenshot. The problem disappers after using NVIDIA driver, so I guess there are some potential bugs in Nouveau driver.



            enter image description here





            And here is my video cards info (the laptop have two video cards, one Intel integrated video card and one NVIDIA card):



            $ sudo lshw -c video
            # OR
            $ sudo lshw -c display
            *-display
            description: VGA compatible controller
            product: HD Graphics 620
            vendor: Intel Corporation
            physical id: 2
            bus info: pci@0000:00:02.0
            version: 02
            width: 64 bits
            clock: 33MHz
            capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
            configuration: driver=i915 latency=0
            resources: irq:128 memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:4000(size=64) memory:c0000-dffff
            *-display
            description: 3D controller
            product: GP108M [GeForce MX150]
            vendor: NVIDIA Corporation
            physical id: 0
            bus info: pci@0000:01:00.0
            version: a1
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi pciexpress bus_master cap_list
            configuration: driver=nvidia latency=0
            resources: irq:133 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)




            $ ubuntu-drivers devices
            == /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
            modalias : pci:v000010DEd00001D12sv00001D72sd00001604bc03sc02i00
            vendor : NVIDIA Corporation
            driver : nvidia-driver-390 - distro non-free recommended
            driver : xserver-xorg-video-nouveau - distro free builtin





            share|improve this answer






























              1














              I got the very simimlar issue. After a new installation of ubuntu 18.04.2 on my laptop, everytime when I try to restart or shutdown the system, it stucks on the shutdown screen with a Ubuntu log like the following screen and I have to press power button to shutdown:



              enter image description here



              And I solved the problem by switch from Nouveau driver to NVIDIA driver, using Software & Updates App, as following screenshot. The problem disappers after using NVIDIA driver, so I guess there are some potential bugs in Nouveau driver.



              enter image description here





              And here is my video cards info (the laptop have two video cards, one Intel integrated video card and one NVIDIA card):



              $ sudo lshw -c video
              # OR
              $ sudo lshw -c display
              *-display
              description: VGA compatible controller
              product: HD Graphics 620
              vendor: Intel Corporation
              physical id: 2
              bus info: pci@0000:00:02.0
              version: 02
              width: 64 bits
              clock: 33MHz
              capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
              configuration: driver=i915 latency=0
              resources: irq:128 memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:4000(size=64) memory:c0000-dffff
              *-display
              description: 3D controller
              product: GP108M [GeForce MX150]
              vendor: NVIDIA Corporation
              physical id: 0
              bus info: pci@0000:01:00.0
              version: a1
              width: 64 bits
              clock: 33MHz
              capabilities: pm msi pciexpress bus_master cap_list
              configuration: driver=nvidia latency=0
              resources: irq:133 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)




              $ ubuntu-drivers devices
              == /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
              modalias : pci:v000010DEd00001D12sv00001D72sd00001604bc03sc02i00
              vendor : NVIDIA Corporation
              driver : nvidia-driver-390 - distro non-free recommended
              driver : xserver-xorg-video-nouveau - distro free builtin





              share|improve this answer




























                1












                1








                1







                I got the very simimlar issue. After a new installation of ubuntu 18.04.2 on my laptop, everytime when I try to restart or shutdown the system, it stucks on the shutdown screen with a Ubuntu log like the following screen and I have to press power button to shutdown:



                enter image description here



                And I solved the problem by switch from Nouveau driver to NVIDIA driver, using Software & Updates App, as following screenshot. The problem disappers after using NVIDIA driver, so I guess there are some potential bugs in Nouveau driver.



                enter image description here





                And here is my video cards info (the laptop have two video cards, one Intel integrated video card and one NVIDIA card):



                $ sudo lshw -c video
                # OR
                $ sudo lshw -c display
                *-display
                description: VGA compatible controller
                product: HD Graphics 620
                vendor: Intel Corporation
                physical id: 2
                bus info: pci@0000:00:02.0
                version: 02
                width: 64 bits
                clock: 33MHz
                capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
                configuration: driver=i915 latency=0
                resources: irq:128 memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:4000(size=64) memory:c0000-dffff
                *-display
                description: 3D controller
                product: GP108M [GeForce MX150]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=nvidia latency=0
                resources: irq:133 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)




                $ ubuntu-drivers devices
                == /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
                modalias : pci:v000010DEd00001D12sv00001D72sd00001604bc03sc02i00
                vendor : NVIDIA Corporation
                driver : nvidia-driver-390 - distro non-free recommended
                driver : xserver-xorg-video-nouveau - distro free builtin





                share|improve this answer















                I got the very simimlar issue. After a new installation of ubuntu 18.04.2 on my laptop, everytime when I try to restart or shutdown the system, it stucks on the shutdown screen with a Ubuntu log like the following screen and I have to press power button to shutdown:



                enter image description here



                And I solved the problem by switch from Nouveau driver to NVIDIA driver, using Software & Updates App, as following screenshot. The problem disappers after using NVIDIA driver, so I guess there are some potential bugs in Nouveau driver.



                enter image description here





                And here is my video cards info (the laptop have two video cards, one Intel integrated video card and one NVIDIA card):



                $ sudo lshw -c video
                # OR
                $ sudo lshw -c display
                *-display
                description: VGA compatible controller
                product: HD Graphics 620
                vendor: Intel Corporation
                physical id: 2
                bus info: pci@0000:00:02.0
                version: 02
                width: 64 bits
                clock: 33MHz
                capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
                configuration: driver=i915 latency=0
                resources: irq:128 memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:4000(size=64) memory:c0000-dffff
                *-display
                description: 3D controller
                product: GP108M [GeForce MX150]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=nvidia latency=0
                resources: irq:133 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)




                $ ubuntu-drivers devices
                == /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
                modalias : pci:v000010DEd00001D12sv00001D72sd00001604bc03sc02i00
                vendor : NVIDIA Corporation
                driver : nvidia-driver-390 - distro non-free recommended
                driver : xserver-xorg-video-nouveau - distro free builtin






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 8 at 2:00

























                answered Feb 27 at 2:33









                YaOzIYaOzI

                1414




                1414

























                    0














                    I had the same problem 'stuck at shutdown/reboot' But I found a workaround.



                    How about trying old linux-kernels ? --- for example, v4.0-vivid, v4.1-wily ~ v4.5-wily





                    1. Install ukuu:



                      sudo add-apt-repository ppa:teejee2008/ppa
                      sudo apt-get update
                      sudo apt-get install ukuu



                    2. Check the list of available kernels:



                      sudo ukuu --list



                    3. install old kernels:



                      sudo ukuu --install v4.5-wily



                    4. Remove current kernel:



                      reboot by advanced mode and choose old kernel.open terminal.



                      sudo ukuu --remove (current kernel)







                    share|improve this answer


























                    • I did not try going back to this long, but I tried a few kernels which were there by default, 4.15.20 and 4.15.18 iirc. That had not helped. But now I have reinstalled Ubuntu overwriting the previous version.

                      – dmishra
                      Aug 10 '18 at 6:15
















                    0














                    I had the same problem 'stuck at shutdown/reboot' But I found a workaround.



                    How about trying old linux-kernels ? --- for example, v4.0-vivid, v4.1-wily ~ v4.5-wily





                    1. Install ukuu:



                      sudo add-apt-repository ppa:teejee2008/ppa
                      sudo apt-get update
                      sudo apt-get install ukuu



                    2. Check the list of available kernels:



                      sudo ukuu --list



                    3. install old kernels:



                      sudo ukuu --install v4.5-wily



                    4. Remove current kernel:



                      reboot by advanced mode and choose old kernel.open terminal.



                      sudo ukuu --remove (current kernel)







                    share|improve this answer


























                    • I did not try going back to this long, but I tried a few kernels which were there by default, 4.15.20 and 4.15.18 iirc. That had not helped. But now I have reinstalled Ubuntu overwriting the previous version.

                      – dmishra
                      Aug 10 '18 at 6:15














                    0












                    0








                    0







                    I had the same problem 'stuck at shutdown/reboot' But I found a workaround.



                    How about trying old linux-kernels ? --- for example, v4.0-vivid, v4.1-wily ~ v4.5-wily





                    1. Install ukuu:



                      sudo add-apt-repository ppa:teejee2008/ppa
                      sudo apt-get update
                      sudo apt-get install ukuu



                    2. Check the list of available kernels:



                      sudo ukuu --list



                    3. install old kernels:



                      sudo ukuu --install v4.5-wily



                    4. Remove current kernel:



                      reboot by advanced mode and choose old kernel.open terminal.



                      sudo ukuu --remove (current kernel)







                    share|improve this answer















                    I had the same problem 'stuck at shutdown/reboot' But I found a workaround.



                    How about trying old linux-kernels ? --- for example, v4.0-vivid, v4.1-wily ~ v4.5-wily





                    1. Install ukuu:



                      sudo add-apt-repository ppa:teejee2008/ppa
                      sudo apt-get update
                      sudo apt-get install ukuu



                    2. Check the list of available kernels:



                      sudo ukuu --list



                    3. install old kernels:



                      sudo ukuu --install v4.5-wily



                    4. Remove current kernel:



                      reboot by advanced mode and choose old kernel.open terminal.



                      sudo ukuu --remove (current kernel)








                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 8 '18 at 5:06









                    Stephen Rauch

                    1,1546716




                    1,1546716










                    answered Aug 8 '18 at 2:16









                    bayoubayou

                    415




                    415













                    • I did not try going back to this long, but I tried a few kernels which were there by default, 4.15.20 and 4.15.18 iirc. That had not helped. But now I have reinstalled Ubuntu overwriting the previous version.

                      – dmishra
                      Aug 10 '18 at 6:15



















                    • I did not try going back to this long, but I tried a few kernels which were there by default, 4.15.20 and 4.15.18 iirc. That had not helped. But now I have reinstalled Ubuntu overwriting the previous version.

                      – dmishra
                      Aug 10 '18 at 6:15

















                    I did not try going back to this long, but I tried a few kernels which were there by default, 4.15.20 and 4.15.18 iirc. That had not helped. But now I have reinstalled Ubuntu overwriting the previous version.

                    – dmishra
                    Aug 10 '18 at 6:15





                    I did not try going back to this long, but I tried a few kernels which were there by default, 4.15.20 and 4.15.18 iirc. That had not helped. But now I have reinstalled Ubuntu overwriting the previous version.

                    – dmishra
                    Aug 10 '18 at 6:15


















                    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%2f1043701%2fubuntu-18-04-stuck-at-shutdown-reboot-possible-issue-with-graphics-card%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

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                     ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕