Weird graphics artifacts with Ubuntu 18 and Nvidia card











up vote
2
down vote

favorite












I've used Ubuntu 16.04 on my laptop for more than 1.5 years without major problems, but yesterday it hang during start-up. I spent some time trying to fix it and
eventually decided that it would be easier to reinstall, so I downloaded Ubuntu 18.04 and installed that.
However Ubuntu 18 is showing strange artifacts on the screen; blinking blocks of light blue dots all over the screen, and sometimes diagonal gray stripes or blocks and/or little cluster of black dots (see for example the screenshot below). It does this on both my laptop screen as well as on my secondary monitor.



enter image description here



This is what I tried so far to fix it



Step 1:



I did't check what drivers where installed initially, but one of the first things I did was make sure that nvidia drivers were installed using sudo ubuntu-drivers autoinstall



Output of ubuntu-drivers devices is
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001618sv00001558sd00007503bc03sc00i00
vendor : NVIDIA Corporation
model : GM204M [GeForce GTX 970M]
driver : nvidia-driver-390 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin



Step 2:



I then tried switching to the X.Org Nouveau driver (via Software & Updates -> Additional Drivers -> Using X.Org X -server). However this caused my laptop screen to revert to a 640x480 resolution and no option to change that (xrandr -q only showed 640x480)



Step 3:



Next I tried adding the graphics-drivers PPA repository and installed nvidia-driver-396. This didn't solve it and even introduced new problems, such as a completely black top menu and background at startup, only to become visible when you click on the 'applications' button in the side bar.
I also tried nvidia-driver-410 but that resulted in a completely black screen which I could only fix by booting into recovery mode, purging the 410 driver and reinstalling the 390 driver.



So what else can I try to fix these graphics problem? Or is my only option to reinstall Ubuntu 16.04 again?










share|improve this question


























    up vote
    2
    down vote

    favorite












    I've used Ubuntu 16.04 on my laptop for more than 1.5 years without major problems, but yesterday it hang during start-up. I spent some time trying to fix it and
    eventually decided that it would be easier to reinstall, so I downloaded Ubuntu 18.04 and installed that.
    However Ubuntu 18 is showing strange artifacts on the screen; blinking blocks of light blue dots all over the screen, and sometimes diagonal gray stripes or blocks and/or little cluster of black dots (see for example the screenshot below). It does this on both my laptop screen as well as on my secondary monitor.



    enter image description here



    This is what I tried so far to fix it



    Step 1:



    I did't check what drivers where installed initially, but one of the first things I did was make sure that nvidia drivers were installed using sudo ubuntu-drivers autoinstall



    Output of ubuntu-drivers devices is
    == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
    modalias : pci:v000010DEd00001618sv00001558sd00007503bc03sc00i00
    vendor : NVIDIA Corporation
    model : GM204M [GeForce GTX 970M]
    driver : nvidia-driver-390 - distro non-free recommended
    driver : xserver-xorg-video-nouveau - distro free builtin



    Step 2:



    I then tried switching to the X.Org Nouveau driver (via Software & Updates -> Additional Drivers -> Using X.Org X -server). However this caused my laptop screen to revert to a 640x480 resolution and no option to change that (xrandr -q only showed 640x480)



    Step 3:



    Next I tried adding the graphics-drivers PPA repository and installed nvidia-driver-396. This didn't solve it and even introduced new problems, such as a completely black top menu and background at startup, only to become visible when you click on the 'applications' button in the side bar.
    I also tried nvidia-driver-410 but that resulted in a completely black screen which I could only fix by booting into recovery mode, purging the 410 driver and reinstalling the 390 driver.



    So what else can I try to fix these graphics problem? Or is my only option to reinstall Ubuntu 16.04 again?










    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I've used Ubuntu 16.04 on my laptop for more than 1.5 years without major problems, but yesterday it hang during start-up. I spent some time trying to fix it and
      eventually decided that it would be easier to reinstall, so I downloaded Ubuntu 18.04 and installed that.
      However Ubuntu 18 is showing strange artifacts on the screen; blinking blocks of light blue dots all over the screen, and sometimes diagonal gray stripes or blocks and/or little cluster of black dots (see for example the screenshot below). It does this on both my laptop screen as well as on my secondary monitor.



      enter image description here



      This is what I tried so far to fix it



      Step 1:



      I did't check what drivers where installed initially, but one of the first things I did was make sure that nvidia drivers were installed using sudo ubuntu-drivers autoinstall



      Output of ubuntu-drivers devices is
      == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
      modalias : pci:v000010DEd00001618sv00001558sd00007503bc03sc00i00
      vendor : NVIDIA Corporation
      model : GM204M [GeForce GTX 970M]
      driver : nvidia-driver-390 - distro non-free recommended
      driver : xserver-xorg-video-nouveau - distro free builtin



      Step 2:



      I then tried switching to the X.Org Nouveau driver (via Software & Updates -> Additional Drivers -> Using X.Org X -server). However this caused my laptop screen to revert to a 640x480 resolution and no option to change that (xrandr -q only showed 640x480)



      Step 3:



      Next I tried adding the graphics-drivers PPA repository and installed nvidia-driver-396. This didn't solve it and even introduced new problems, such as a completely black top menu and background at startup, only to become visible when you click on the 'applications' button in the side bar.
      I also tried nvidia-driver-410 but that resulted in a completely black screen which I could only fix by booting into recovery mode, purging the 410 driver and reinstalling the 390 driver.



      So what else can I try to fix these graphics problem? Or is my only option to reinstall Ubuntu 16.04 again?










      share|improve this question













      I've used Ubuntu 16.04 on my laptop for more than 1.5 years without major problems, but yesterday it hang during start-up. I spent some time trying to fix it and
      eventually decided that it would be easier to reinstall, so I downloaded Ubuntu 18.04 and installed that.
      However Ubuntu 18 is showing strange artifacts on the screen; blinking blocks of light blue dots all over the screen, and sometimes diagonal gray stripes or blocks and/or little cluster of black dots (see for example the screenshot below). It does this on both my laptop screen as well as on my secondary monitor.



      enter image description here



      This is what I tried so far to fix it



      Step 1:



      I did't check what drivers where installed initially, but one of the first things I did was make sure that nvidia drivers were installed using sudo ubuntu-drivers autoinstall



      Output of ubuntu-drivers devices is
      == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
      modalias : pci:v000010DEd00001618sv00001558sd00007503bc03sc00i00
      vendor : NVIDIA Corporation
      model : GM204M [GeForce GTX 970M]
      driver : nvidia-driver-390 - distro non-free recommended
      driver : xserver-xorg-video-nouveau - distro free builtin



      Step 2:



      I then tried switching to the X.Org Nouveau driver (via Software & Updates -> Additional Drivers -> Using X.Org X -server). However this caused my laptop screen to revert to a 640x480 resolution and no option to change that (xrandr -q only showed 640x480)



      Step 3:



      Next I tried adding the graphics-drivers PPA repository and installed nvidia-driver-396. This didn't solve it and even introduced new problems, such as a completely black top menu and background at startup, only to become visible when you click on the 'applications' button in the side bar.
      I also tried nvidia-driver-410 but that resulted in a completely black screen which I could only fix by booting into recovery mode, purging the 410 driver and reinstalling the 390 driver.



      So what else can I try to fix these graphics problem? Or is my only option to reinstall Ubuntu 16.04 again?







      drivers nvidia 18.04 graphics






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 30 at 11:58









      THelper

      251211




      251211






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          After about 2 weeks working with Ubuntu 18 I suddenly realized that my graphics was much improved. The weird artifacts are completely gone. Occasionally I still get a black screen for a second, but that occurs much less often than before.



          I'm not sure what happened, but I suspect a particular automatic update improved it. I checked the history.log in /var/log/apt and my guess is it was something in one of the 2 updates below:




          Upgrade: libparted2:amd64 (3.2-20, 3.2-20ubuntu0.1), libparted-fs-resize0:amd64 (3.2-20, 3.2-20ubuntu0.1), parted:amd64 (3.2-20, 3.2-20ubuntu0.1)



          Upgrade: gir1.2-nm-1.0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libsystemd0:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), udev:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnm0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), network-manager:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libudev1:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-myhostname:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd-sysv:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libpam-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), network-manager-config-connectivity-ubuntu:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1)







          share|improve this answer























          • Glad it worked out! I can do the same if my old graphics card (GeForce 9600 GT) will do similar things.
            – Bajiru
            Nov 25 at 13:45











          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',
          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%2f1088548%2fweird-graphics-artifacts-with-ubuntu-18-and-nvidia-card%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








          up vote
          1
          down vote



          accepted










          After about 2 weeks working with Ubuntu 18 I suddenly realized that my graphics was much improved. The weird artifacts are completely gone. Occasionally I still get a black screen for a second, but that occurs much less often than before.



          I'm not sure what happened, but I suspect a particular automatic update improved it. I checked the history.log in /var/log/apt and my guess is it was something in one of the 2 updates below:




          Upgrade: libparted2:amd64 (3.2-20, 3.2-20ubuntu0.1), libparted-fs-resize0:amd64 (3.2-20, 3.2-20ubuntu0.1), parted:amd64 (3.2-20, 3.2-20ubuntu0.1)



          Upgrade: gir1.2-nm-1.0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libsystemd0:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), udev:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnm0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), network-manager:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libudev1:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-myhostname:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd-sysv:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libpam-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), network-manager-config-connectivity-ubuntu:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1)







          share|improve this answer























          • Glad it worked out! I can do the same if my old graphics card (GeForce 9600 GT) will do similar things.
            – Bajiru
            Nov 25 at 13:45















          up vote
          1
          down vote



          accepted










          After about 2 weeks working with Ubuntu 18 I suddenly realized that my graphics was much improved. The weird artifacts are completely gone. Occasionally I still get a black screen for a second, but that occurs much less often than before.



          I'm not sure what happened, but I suspect a particular automatic update improved it. I checked the history.log in /var/log/apt and my guess is it was something in one of the 2 updates below:




          Upgrade: libparted2:amd64 (3.2-20, 3.2-20ubuntu0.1), libparted-fs-resize0:amd64 (3.2-20, 3.2-20ubuntu0.1), parted:amd64 (3.2-20, 3.2-20ubuntu0.1)



          Upgrade: gir1.2-nm-1.0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libsystemd0:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), udev:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnm0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), network-manager:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libudev1:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-myhostname:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd-sysv:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libpam-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), network-manager-config-connectivity-ubuntu:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1)







          share|improve this answer























          • Glad it worked out! I can do the same if my old graphics card (GeForce 9600 GT) will do similar things.
            – Bajiru
            Nov 25 at 13:45













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          After about 2 weeks working with Ubuntu 18 I suddenly realized that my graphics was much improved. The weird artifacts are completely gone. Occasionally I still get a black screen for a second, but that occurs much less often than before.



          I'm not sure what happened, but I suspect a particular automatic update improved it. I checked the history.log in /var/log/apt and my guess is it was something in one of the 2 updates below:




          Upgrade: libparted2:amd64 (3.2-20, 3.2-20ubuntu0.1), libparted-fs-resize0:amd64 (3.2-20, 3.2-20ubuntu0.1), parted:amd64 (3.2-20, 3.2-20ubuntu0.1)



          Upgrade: gir1.2-nm-1.0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libsystemd0:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), udev:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnm0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), network-manager:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libudev1:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-myhostname:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd-sysv:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libpam-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), network-manager-config-connectivity-ubuntu:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1)







          share|improve this answer














          After about 2 weeks working with Ubuntu 18 I suddenly realized that my graphics was much improved. The weird artifacts are completely gone. Occasionally I still get a black screen for a second, but that occurs much less often than before.



          I'm not sure what happened, but I suspect a particular automatic update improved it. I checked the history.log in /var/log/apt and my guess is it was something in one of the 2 updates below:




          Upgrade: libparted2:amd64 (3.2-20, 3.2-20ubuntu0.1), libparted-fs-resize0:amd64 (3.2-20, 3.2-20ubuntu0.1), parted:amd64 (3.2-20, 3.2-20ubuntu0.1)



          Upgrade: gir1.2-nm-1.0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libsystemd0:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), udev:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnm0:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), network-manager:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1), libudev1:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-myhostname:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd-sysv:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libpam-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), libnss-systemd:amd64 (237-3ubuntu10.3, 237-3ubuntu10.4), network-manager-config-connectivity-ubuntu:amd64 (1.10.6-2ubuntu1, 1.10.6-2ubuntu1.1)








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 25 at 12:28

























          answered Nov 25 at 12:20









          THelper

          251211




          251211












          • Glad it worked out! I can do the same if my old graphics card (GeForce 9600 GT) will do similar things.
            – Bajiru
            Nov 25 at 13:45


















          • Glad it worked out! I can do the same if my old graphics card (GeForce 9600 GT) will do similar things.
            – Bajiru
            Nov 25 at 13:45
















          Glad it worked out! I can do the same if my old graphics card (GeForce 9600 GT) will do similar things.
          – Bajiru
          Nov 25 at 13:45




          Glad it worked out! I can do the same if my old graphics card (GeForce 9600 GT) will do similar things.
          – Bajiru
          Nov 25 at 13:45


















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f1088548%2fweird-graphics-artifacts-with-ubuntu-18-and-nvidia-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á

          Eduardo VII do Reino Unido