Use of NVIDIA graphics driver hangs computer












0















A while ago, I added the graphics-drivers PPA and installed the 415 driver. I decided to go back to my original driver, the 390, but seemingly made a mistake in doing so - I removed the PPA before switching. When I tried to switch from the 415 to the 390, I got an error message (I don't recall the exact message, but it mentioned cache).



When using the 390 driver, I cannot have NVIDIA prime-selected. If I do, I find that:




  • My system cannot cannot boot to the desktop properly, instead getting stuck in a short cycle between the Ubuntu loading logo and a terminal flooded with the following, repeated over and over:



Starting NVIDIA persistence daemon



Stopping NVIDIA persistence daemon





  • Use of certain NVIDIA tools causes the screen to hang. For example, if I use nvidia-settings, the screen freezes. If I use nvidia-bug-report.sh, the system freezes having only generated the following nvidia-bug-report.log.gz:


.



____________________________________________

Start of NVIDIA bug report log file. Please include this file, along
with a detailed description of your problem, when reporting a graphics
driver bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
or by sending email to 'linux-bugs@nvidia.com'.

nvidia-bug-report.sh Version: 23805530

Date: Wed 27 Feb 02:08:52 GMT 2019
uname: Linux u-rdm 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
command line flags:


When I run lspci -v, the graphics related entries seem to be the following:



00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
Subsystem: Dell UHD Graphics 620
Flags: bus master, fast devsel, latency 0, IRQ 130
Memory at d4000000 (64-bit, non-prefetchable) [size=16M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
Subsystem: Dell GM108M [GeForce 940MX]
Flags: bus master, fast devsel, latency 0, IRQ 142
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at d3000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau


If I run glxinfo, there is no reference to NVIDIA. It seems to go with the integrated graphics:



OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)


When the issue first occured, I recall trying to purge and re-install the NVIDIA packages, to no avail.



I notice that, running lsmod, there is no appearance of the nvidiafb module mentioned by lspci. Also, running modprobe nvidia yields the following:



modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.18.0-15-generic


Currently, dpkg -l | grep nvidia gives me the following output:



ii  libnvidia-common-390                       390.87-0ubuntu0~gpu18.04.2                   all          Shared files used by the NVIDIA libraries
rc libnvidia-compute-390:amd64 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA libcompute package
ii libnvidia-compute-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA libcompute package
ii libnvidia-decode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVENC Video Encoding runtime library
ii libnvidia-fbc1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
rc nvidia-compute-utils-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA compute utilities
rc nvidia-dkms-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA DKMS package
ii nvidia-kernel-common-390 390.87-0ubuntu0~gpu18.04.2 amd64 Shared files used with the kernel module
ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 415.27-0ubuntu0~gpu18.04.1 amd64 Tool for configuring the NVIDIA graphics driver








share



























    0















    A while ago, I added the graphics-drivers PPA and installed the 415 driver. I decided to go back to my original driver, the 390, but seemingly made a mistake in doing so - I removed the PPA before switching. When I tried to switch from the 415 to the 390, I got an error message (I don't recall the exact message, but it mentioned cache).



    When using the 390 driver, I cannot have NVIDIA prime-selected. If I do, I find that:




    • My system cannot cannot boot to the desktop properly, instead getting stuck in a short cycle between the Ubuntu loading logo and a terminal flooded with the following, repeated over and over:



    Starting NVIDIA persistence daemon



    Stopping NVIDIA persistence daemon





    • Use of certain NVIDIA tools causes the screen to hang. For example, if I use nvidia-settings, the screen freezes. If I use nvidia-bug-report.sh, the system freezes having only generated the following nvidia-bug-report.log.gz:


    .



    ____________________________________________

    Start of NVIDIA bug report log file. Please include this file, along
    with a detailed description of your problem, when reporting a graphics
    driver bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
    or by sending email to 'linux-bugs@nvidia.com'.

    nvidia-bug-report.sh Version: 23805530

    Date: Wed 27 Feb 02:08:52 GMT 2019
    uname: Linux u-rdm 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    command line flags:


    When I run lspci -v, the graphics related entries seem to be the following:



    00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
    Subsystem: Dell UHD Graphics 620
    Flags: bus master, fast devsel, latency 0, IRQ 130
    Memory at d4000000 (64-bit, non-prefetchable) [size=16M]
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

    01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
    Subsystem: Dell GM108M [GeForce 940MX]
    Flags: bus master, fast devsel, latency 0, IRQ 142
    Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at d0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    Expansion ROM at d3000000 [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau


    If I run glxinfo, there is no reference to NVIDIA. It seems to go with the integrated graphics:



    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)


    When the issue first occured, I recall trying to purge and re-install the NVIDIA packages, to no avail.



    I notice that, running lsmod, there is no appearance of the nvidiafb module mentioned by lspci. Also, running modprobe nvidia yields the following:



    modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.18.0-15-generic


    Currently, dpkg -l | grep nvidia gives me the following output:



    ii  libnvidia-common-390                       390.87-0ubuntu0~gpu18.04.2                   all          Shared files used by the NVIDIA libraries
    rc libnvidia-compute-390:amd64 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA libcompute package
    ii libnvidia-compute-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA libcompute package
    ii libnvidia-decode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA Video Decoding runtime libraries
    ii libnvidia-encode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVENC Video Encoding runtime library
    ii libnvidia-fbc1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii libnvidia-gl-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii libnvidia-ifr1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
    rc nvidia-compute-utils-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA compute utilities
    rc nvidia-dkms-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA DKMS package
    ii nvidia-kernel-common-390 390.87-0ubuntu0~gpu18.04.2 amd64 Shared files used with the kernel module
    ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
    ii nvidia-settings 415.27-0ubuntu0~gpu18.04.1 amd64 Tool for configuring the NVIDIA graphics driver








    share

























      0












      0








      0








      A while ago, I added the graphics-drivers PPA and installed the 415 driver. I decided to go back to my original driver, the 390, but seemingly made a mistake in doing so - I removed the PPA before switching. When I tried to switch from the 415 to the 390, I got an error message (I don't recall the exact message, but it mentioned cache).



      When using the 390 driver, I cannot have NVIDIA prime-selected. If I do, I find that:




      • My system cannot cannot boot to the desktop properly, instead getting stuck in a short cycle between the Ubuntu loading logo and a terminal flooded with the following, repeated over and over:



      Starting NVIDIA persistence daemon



      Stopping NVIDIA persistence daemon





      • Use of certain NVIDIA tools causes the screen to hang. For example, if I use nvidia-settings, the screen freezes. If I use nvidia-bug-report.sh, the system freezes having only generated the following nvidia-bug-report.log.gz:


      .



      ____________________________________________

      Start of NVIDIA bug report log file. Please include this file, along
      with a detailed description of your problem, when reporting a graphics
      driver bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
      or by sending email to 'linux-bugs@nvidia.com'.

      nvidia-bug-report.sh Version: 23805530

      Date: Wed 27 Feb 02:08:52 GMT 2019
      uname: Linux u-rdm 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
      command line flags:


      When I run lspci -v, the graphics related entries seem to be the following:



      00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
      Subsystem: Dell UHD Graphics 620
      Flags: bus master, fast devsel, latency 0, IRQ 130
      Memory at d4000000 (64-bit, non-prefetchable) [size=16M]
      Memory at b0000000 (64-bit, prefetchable) [size=256M]
      I/O ports at f000 [size=64]
      [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
      Capabilities: <access denied>
      Kernel driver in use: i915
      Kernel modules: i915

      01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
      Subsystem: Dell GM108M [GeForce 940MX]
      Flags: bus master, fast devsel, latency 0, IRQ 142
      Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
      Memory at c0000000 (64-bit, prefetchable) [size=256M]
      Memory at d0000000 (64-bit, prefetchable) [size=32M]
      I/O ports at e000 [size=128]
      Expansion ROM at d3000000 [disabled] [size=512K]
      Capabilities: <access denied>
      Kernel driver in use: nouveau
      Kernel modules: nvidiafb, nouveau


      If I run glxinfo, there is no reference to NVIDIA. It seems to go with the integrated graphics:



      OpenGL vendor string: Intel Open Source Technology Center
      OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)


      When the issue first occured, I recall trying to purge and re-install the NVIDIA packages, to no avail.



      I notice that, running lsmod, there is no appearance of the nvidiafb module mentioned by lspci. Also, running modprobe nvidia yields the following:



      modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.18.0-15-generic


      Currently, dpkg -l | grep nvidia gives me the following output:



      ii  libnvidia-common-390                       390.87-0ubuntu0~gpu18.04.2                   all          Shared files used by the NVIDIA libraries
      rc libnvidia-compute-390:amd64 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA libcompute package
      ii libnvidia-compute-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA libcompute package
      ii libnvidia-decode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA Video Decoding runtime libraries
      ii libnvidia-encode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVENC Video Encoding runtime library
      ii libnvidia-fbc1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
      ii libnvidia-gl-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
      ii libnvidia-ifr1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
      rc nvidia-compute-utils-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA compute utilities
      rc nvidia-dkms-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA DKMS package
      ii nvidia-kernel-common-390 390.87-0ubuntu0~gpu18.04.2 amd64 Shared files used with the kernel module
      ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
      ii nvidia-settings 415.27-0ubuntu0~gpu18.04.1 amd64 Tool for configuring the NVIDIA graphics driver








      share














      A while ago, I added the graphics-drivers PPA and installed the 415 driver. I decided to go back to my original driver, the 390, but seemingly made a mistake in doing so - I removed the PPA before switching. When I tried to switch from the 415 to the 390, I got an error message (I don't recall the exact message, but it mentioned cache).



      When using the 390 driver, I cannot have NVIDIA prime-selected. If I do, I find that:




      • My system cannot cannot boot to the desktop properly, instead getting stuck in a short cycle between the Ubuntu loading logo and a terminal flooded with the following, repeated over and over:



      Starting NVIDIA persistence daemon



      Stopping NVIDIA persistence daemon





      • Use of certain NVIDIA tools causes the screen to hang. For example, if I use nvidia-settings, the screen freezes. If I use nvidia-bug-report.sh, the system freezes having only generated the following nvidia-bug-report.log.gz:


      .



      ____________________________________________

      Start of NVIDIA bug report log file. Please include this file, along
      with a detailed description of your problem, when reporting a graphics
      driver bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
      or by sending email to 'linux-bugs@nvidia.com'.

      nvidia-bug-report.sh Version: 23805530

      Date: Wed 27 Feb 02:08:52 GMT 2019
      uname: Linux u-rdm 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
      command line flags:


      When I run lspci -v, the graphics related entries seem to be the following:



      00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
      Subsystem: Dell UHD Graphics 620
      Flags: bus master, fast devsel, latency 0, IRQ 130
      Memory at d4000000 (64-bit, non-prefetchable) [size=16M]
      Memory at b0000000 (64-bit, prefetchable) [size=256M]
      I/O ports at f000 [size=64]
      [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
      Capabilities: <access denied>
      Kernel driver in use: i915
      Kernel modules: i915

      01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
      Subsystem: Dell GM108M [GeForce 940MX]
      Flags: bus master, fast devsel, latency 0, IRQ 142
      Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
      Memory at c0000000 (64-bit, prefetchable) [size=256M]
      Memory at d0000000 (64-bit, prefetchable) [size=32M]
      I/O ports at e000 [size=128]
      Expansion ROM at d3000000 [disabled] [size=512K]
      Capabilities: <access denied>
      Kernel driver in use: nouveau
      Kernel modules: nvidiafb, nouveau


      If I run glxinfo, there is no reference to NVIDIA. It seems to go with the integrated graphics:



      OpenGL vendor string: Intel Open Source Technology Center
      OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)


      When the issue first occured, I recall trying to purge and re-install the NVIDIA packages, to no avail.



      I notice that, running lsmod, there is no appearance of the nvidiafb module mentioned by lspci. Also, running modprobe nvidia yields the following:



      modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.18.0-15-generic


      Currently, dpkg -l | grep nvidia gives me the following output:



      ii  libnvidia-common-390                       390.87-0ubuntu0~gpu18.04.2                   all          Shared files used by the NVIDIA libraries
      rc libnvidia-compute-390:amd64 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA libcompute package
      ii libnvidia-compute-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA libcompute package
      ii libnvidia-decode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA Video Decoding runtime libraries
      ii libnvidia-encode-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVENC Video Encoding runtime library
      ii libnvidia-fbc1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
      ii libnvidia-gl-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
      ii libnvidia-ifr1-390:i386 390.87-0ubuntu0~gpu18.04.2 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
      rc nvidia-compute-utils-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA compute utilities
      rc nvidia-dkms-390 390.87-0ubuntu0~gpu18.04.2 amd64 NVIDIA DKMS package
      ii nvidia-kernel-common-390 390.87-0ubuntu0~gpu18.04.2 amd64 Shared files used with the kernel module
      ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
      ii nvidia-settings 415.27-0ubuntu0~gpu18.04.1 amd64 Tool for configuring the NVIDIA graphics driver






      drivers nvidia crash video-driver





      share












      share










      share



      share










      asked 1 min ago









      VortixDevVortixDev

      988




      988






















          0






          active

          oldest

          votes











          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%2f1121576%2fuse-of-nvidia-graphics-driver-hangs-computer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1121576%2fuse-of-nvidia-graphics-driver-hangs-computer%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

          GameSpot

          connect to host localhost port 22: Connection refused

          Getting a Wifi WPA2 wifi connection