NVidia blank screen with cursor












0














[Note: I know there are many questions on nvidia and blank screen, but none so far have brought me closer to a solution, I've tried a lot, see below]



Problem:
Running Xubuntu 18.10 on a Dell XPS 9570 (which has a GeForce GTX 1050 Ti card, along with built-in Intel graphics), the nvidia 410 and 415 drivers stopped working.
All I get when I start Linux after the scrolling boot messages, is a black screen with (non-blinking) white cursor on the upper left corner. nouveau drivers work fine, but they only allow me to use the built-in laptop screen but not ones attached to the laptop via HDMI.



It used to work (if you can call it that, when it boots to a working desktop environment 2 out of 3 times, and stays black otherwise) until today morning (when I did an apt upgrade, which installed linux-image-4.18.0-13.



What I have tried so far to resolve this:




  • tried booting the linux-image-4.18.0-12, same issue

  • as recommended here, I added nomodeset kernel option to be set through grub (I already set this a while ago, this was required to get it working in the first place)

  • as recommended most of the time on blank screen related nvidia questions, I tried purging everything nvidia-related (everything listed by dpkg --list | grep nvidia), and reinstalling 410 drivers

  • I also added graphics-drivers ppa and installed 415 drivers from there (https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa) (a few times with purging in between)

  • Tried Bumblebee: https://wiki.ubuntu.com/Bumblebee (the guide there doesn't seem to activate the nvidia driver, right? At least for me it didn't, nouveau still was used)

  • As for the issue mentioned above, when the GUI would only load every 2 out of 3 times, I tried xdm, gdm, lddm - but with them, I got a black screen all the time; only lightdm (where I remember an issue a while back causing exactly the symptoms I saw) seems to work togehter with nvidia driver...


As for errors in the journal, I see something regard to the nvidia-persistenced and some bumblebee reference (the latter only after installing bumblebee, of course). There don't seem to be any real nvidia-related errors now (and there weren't previously on the occasions when the screen stayed blank):



$ journalctl --since today | grep -i nvidia | grep -i "(err|fail)"
Dez 21 07:04:45 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
Dez 21 13:44:00 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
Dez 21 13:44:00 nertha nvidia-persistenced[743]: nvidia-persistenced failed to initialize. Check syslog for more details.
Dez 21 13:44:00 nertha nvidia-persistenced[749]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
Dez 21 13:44:00 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Dez 21 13:44:00 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
Dez 21 13:47:49 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
Dez 21 13:47:49 nertha nvidia-persistenced[772]: nvidia-persistenced failed to initialize. Check syslog for more details.
Dez 21 13:47:49 nertha nvidia-persistenced[780]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
Dez 21 13:47:49 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Dez 21 13:47:49 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
Dez 21 13:47:50 nertha nvidia-persistenced[875]: Failed to unlink PID file: No such file or directory
Dez 21 13:47:50 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
Dez 21 13:47:50 nertha nvidia-persistenced[951]: Failed to unlink PID file: No such file or directory
Dez 21 13:47:50 nertha nvidia-persistenced[971]: Failed to unlink PID file: No such file or directory
Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
Dez 21 13:58:06 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
Dez 21 14:09:52 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
Dez 21 14:09:52 nertha nvidia-persistenced[754]: nvidia-persistenced failed to initialize. Check syslog for more details.
Dez 21 14:09:52 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
Dez 21 14:09:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Dez 21 14:09:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
Dez 21 14:10:53 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
Dez 21 14:10:53 nertha nvidia-persistenced[809]: nvidia-persistenced failed to initialize. Check syslog for more details.
Dez 21 14:10:53 nertha nvidia-persistenced[811]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
Dez 21 14:10:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Dez 21 14:10:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
Dez 21 14:10:54 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[920]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[926]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[956]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[975]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[988]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1016]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1058]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1068]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1089]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1105]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1113]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1121]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1131]: Failed to unlink PID file: No such file or directory
Dez 21 14:10:54 nertha nvidia-persistenced[1142]: Failed to unlink PID file: No such file or directory
Dez 21 14:31:05 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
Dez 21 14:31:05 nertha nvidia-persistenced[756]: nvidia-persistenced failed to initialize. Check syslog for more details.
Dez 21 14:31:05 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
Dez 21 14:31:05 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Dez 21 14:31:05 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548701] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548716] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548724] [ERROR]Failed to unload module 'nvidia' (ref count: 77).
Dez 21 14:48:44 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 410.78 Sat Nov 10 22:09:04 CST 2018 (using threaded interrupts)
Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564388] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564420] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564428] [ERROR]Failed to unload module 'nvidia' (ref count: 77).


I really would like to use nvidia drivers again, as with nouveau, external screens don't seem to be recognized. What else can I try? If you need more info, let me know!










share|improve this question





























    0














    [Note: I know there are many questions on nvidia and blank screen, but none so far have brought me closer to a solution, I've tried a lot, see below]



    Problem:
    Running Xubuntu 18.10 on a Dell XPS 9570 (which has a GeForce GTX 1050 Ti card, along with built-in Intel graphics), the nvidia 410 and 415 drivers stopped working.
    All I get when I start Linux after the scrolling boot messages, is a black screen with (non-blinking) white cursor on the upper left corner. nouveau drivers work fine, but they only allow me to use the built-in laptop screen but not ones attached to the laptop via HDMI.



    It used to work (if you can call it that, when it boots to a working desktop environment 2 out of 3 times, and stays black otherwise) until today morning (when I did an apt upgrade, which installed linux-image-4.18.0-13.



    What I have tried so far to resolve this:




    • tried booting the linux-image-4.18.0-12, same issue

    • as recommended here, I added nomodeset kernel option to be set through grub (I already set this a while ago, this was required to get it working in the first place)

    • as recommended most of the time on blank screen related nvidia questions, I tried purging everything nvidia-related (everything listed by dpkg --list | grep nvidia), and reinstalling 410 drivers

    • I also added graphics-drivers ppa and installed 415 drivers from there (https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa) (a few times with purging in between)

    • Tried Bumblebee: https://wiki.ubuntu.com/Bumblebee (the guide there doesn't seem to activate the nvidia driver, right? At least for me it didn't, nouveau still was used)

    • As for the issue mentioned above, when the GUI would only load every 2 out of 3 times, I tried xdm, gdm, lddm - but with them, I got a black screen all the time; only lightdm (where I remember an issue a while back causing exactly the symptoms I saw) seems to work togehter with nvidia driver...


    As for errors in the journal, I see something regard to the nvidia-persistenced and some bumblebee reference (the latter only after installing bumblebee, of course). There don't seem to be any real nvidia-related errors now (and there weren't previously on the occasions when the screen stayed blank):



    $ journalctl --since today | grep -i nvidia | grep -i "(err|fail)"
    Dez 21 07:04:45 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
    Dez 21 13:44:00 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
    Dez 21 13:44:00 nertha nvidia-persistenced[743]: nvidia-persistenced failed to initialize. Check syslog for more details.
    Dez 21 13:44:00 nertha nvidia-persistenced[749]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
    Dez 21 13:44:00 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
    Dez 21 13:44:00 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
    Dez 21 13:47:49 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
    Dez 21 13:47:49 nertha nvidia-persistenced[772]: nvidia-persistenced failed to initialize. Check syslog for more details.
    Dez 21 13:47:49 nertha nvidia-persistenced[780]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
    Dez 21 13:47:49 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
    Dez 21 13:47:49 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
    Dez 21 13:47:50 nertha nvidia-persistenced[875]: Failed to unlink PID file: No such file or directory
    Dez 21 13:47:50 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
    Dez 21 13:47:50 nertha nvidia-persistenced[951]: Failed to unlink PID file: No such file or directory
    Dez 21 13:47:50 nertha nvidia-persistenced[971]: Failed to unlink PID file: No such file or directory
    Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
    Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
    Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
    Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
    Dez 21 13:58:06 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
    Dez 21 14:09:52 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
    Dez 21 14:09:52 nertha nvidia-persistenced[754]: nvidia-persistenced failed to initialize. Check syslog for more details.
    Dez 21 14:09:52 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
    Dez 21 14:09:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
    Dez 21 14:09:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
    Dez 21 14:10:53 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
    Dez 21 14:10:53 nertha nvidia-persistenced[809]: nvidia-persistenced failed to initialize. Check syslog for more details.
    Dez 21 14:10:53 nertha nvidia-persistenced[811]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
    Dez 21 14:10:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
    Dez 21 14:10:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
    Dez 21 14:10:54 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[920]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[926]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[956]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[975]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[988]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1016]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1058]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1068]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1089]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1105]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1113]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1121]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1131]: Failed to unlink PID file: No such file or directory
    Dez 21 14:10:54 nertha nvidia-persistenced[1142]: Failed to unlink PID file: No such file or directory
    Dez 21 14:31:05 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
    Dez 21 14:31:05 nertha nvidia-persistenced[756]: nvidia-persistenced failed to initialize. Check syslog for more details.
    Dez 21 14:31:05 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
    Dez 21 14:31:05 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
    Dez 21 14:31:05 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
    Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
    Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
    Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548701] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
    Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548716] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
    Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548724] [ERROR]Failed to unload module 'nvidia' (ref count: 77).
    Dez 21 14:48:44 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 410.78 Sat Nov 10 22:09:04 CST 2018 (using threaded interrupts)
    Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
    Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
    Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564388] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
    Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564420] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
    Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564428] [ERROR]Failed to unload module 'nvidia' (ref count: 77).


    I really would like to use nvidia drivers again, as with nouveau, external screens don't seem to be recognized. What else can I try? If you need more info, let me know!










    share|improve this question



























      0












      0








      0







      [Note: I know there are many questions on nvidia and blank screen, but none so far have brought me closer to a solution, I've tried a lot, see below]



      Problem:
      Running Xubuntu 18.10 on a Dell XPS 9570 (which has a GeForce GTX 1050 Ti card, along with built-in Intel graphics), the nvidia 410 and 415 drivers stopped working.
      All I get when I start Linux after the scrolling boot messages, is a black screen with (non-blinking) white cursor on the upper left corner. nouveau drivers work fine, but they only allow me to use the built-in laptop screen but not ones attached to the laptop via HDMI.



      It used to work (if you can call it that, when it boots to a working desktop environment 2 out of 3 times, and stays black otherwise) until today morning (when I did an apt upgrade, which installed linux-image-4.18.0-13.



      What I have tried so far to resolve this:




      • tried booting the linux-image-4.18.0-12, same issue

      • as recommended here, I added nomodeset kernel option to be set through grub (I already set this a while ago, this was required to get it working in the first place)

      • as recommended most of the time on blank screen related nvidia questions, I tried purging everything nvidia-related (everything listed by dpkg --list | grep nvidia), and reinstalling 410 drivers

      • I also added graphics-drivers ppa and installed 415 drivers from there (https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa) (a few times with purging in between)

      • Tried Bumblebee: https://wiki.ubuntu.com/Bumblebee (the guide there doesn't seem to activate the nvidia driver, right? At least for me it didn't, nouveau still was used)

      • As for the issue mentioned above, when the GUI would only load every 2 out of 3 times, I tried xdm, gdm, lddm - but with them, I got a black screen all the time; only lightdm (where I remember an issue a while back causing exactly the symptoms I saw) seems to work togehter with nvidia driver...


      As for errors in the journal, I see something regard to the nvidia-persistenced and some bumblebee reference (the latter only after installing bumblebee, of course). There don't seem to be any real nvidia-related errors now (and there weren't previously on the occasions when the screen stayed blank):



      $ journalctl --since today | grep -i nvidia | grep -i "(err|fail)"
      Dez 21 07:04:45 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 13:44:00 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 13:44:00 nertha nvidia-persistenced[743]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 13:44:00 nertha nvidia-persistenced[749]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 13:44:00 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 13:44:00 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:47:49 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 13:47:49 nertha nvidia-persistenced[772]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 13:47:49 nertha nvidia-persistenced[780]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 13:47:49 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 13:47:49 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:47:50 nertha nvidia-persistenced[875]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha nvidia-persistenced[951]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha nvidia-persistenced[971]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
      Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
      Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:58:06 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 14:09:52 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
      Dez 21 14:09:52 nertha nvidia-persistenced[754]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 14:09:52 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 14:09:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 14:09:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 14:10:53 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
      Dez 21 14:10:53 nertha nvidia-persistenced[809]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 14:10:53 nertha nvidia-persistenced[811]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 14:10:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 14:10:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 14:10:54 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[920]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[926]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[956]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[975]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[988]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1016]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1058]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1068]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1089]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1105]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1113]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1121]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1131]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1142]: Failed to unlink PID file: No such file or directory
      Dez 21 14:31:05 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
      Dez 21 14:31:05 nertha nvidia-persistenced[756]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 14:31:05 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 14:31:05 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 14:31:05 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
      Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
      Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548701] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
      Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548716] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
      Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548724] [ERROR]Failed to unload module 'nvidia' (ref count: 77).
      Dez 21 14:48:44 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 410.78 Sat Nov 10 22:09:04 CST 2018 (using threaded interrupts)
      Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
      Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
      Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564388] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
      Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564420] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
      Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564428] [ERROR]Failed to unload module 'nvidia' (ref count: 77).


      I really would like to use nvidia drivers again, as with nouveau, external screens don't seem to be recognized. What else can I try? If you need more info, let me know!










      share|improve this question















      [Note: I know there are many questions on nvidia and blank screen, but none so far have brought me closer to a solution, I've tried a lot, see below]



      Problem:
      Running Xubuntu 18.10 on a Dell XPS 9570 (which has a GeForce GTX 1050 Ti card, along with built-in Intel graphics), the nvidia 410 and 415 drivers stopped working.
      All I get when I start Linux after the scrolling boot messages, is a black screen with (non-blinking) white cursor on the upper left corner. nouveau drivers work fine, but they only allow me to use the built-in laptop screen but not ones attached to the laptop via HDMI.



      It used to work (if you can call it that, when it boots to a working desktop environment 2 out of 3 times, and stays black otherwise) until today morning (when I did an apt upgrade, which installed linux-image-4.18.0-13.



      What I have tried so far to resolve this:




      • tried booting the linux-image-4.18.0-12, same issue

      • as recommended here, I added nomodeset kernel option to be set through grub (I already set this a while ago, this was required to get it working in the first place)

      • as recommended most of the time on blank screen related nvidia questions, I tried purging everything nvidia-related (everything listed by dpkg --list | grep nvidia), and reinstalling 410 drivers

      • I also added graphics-drivers ppa and installed 415 drivers from there (https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa) (a few times with purging in between)

      • Tried Bumblebee: https://wiki.ubuntu.com/Bumblebee (the guide there doesn't seem to activate the nvidia driver, right? At least for me it didn't, nouveau still was used)

      • As for the issue mentioned above, when the GUI would only load every 2 out of 3 times, I tried xdm, gdm, lddm - but with them, I got a black screen all the time; only lightdm (where I remember an issue a while back causing exactly the symptoms I saw) seems to work togehter with nvidia driver...


      As for errors in the journal, I see something regard to the nvidia-persistenced and some bumblebee reference (the latter only after installing bumblebee, of course). There don't seem to be any real nvidia-related errors now (and there weren't previously on the occasions when the screen stayed blank):



      $ journalctl --since today | grep -i nvidia | grep -i "(err|fail)"
      Dez 21 07:04:45 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 13:44:00 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 13:44:00 nertha nvidia-persistenced[743]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 13:44:00 nertha nvidia-persistenced[749]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 13:44:00 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 13:44:00 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:47:49 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 13:47:49 nertha nvidia-persistenced[772]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 13:47:49 nertha nvidia-persistenced[780]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 13:47:49 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 13:47:49 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:47:50 nertha nvidia-persistenced[875]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha nvidia-persistenced[951]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha nvidia-persistenced[971]: Failed to unlink PID file: No such file or directory
      Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
      Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:47:50 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'start-limit-hit'.
      Dez 21 13:47:50 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 13:58:06 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.23 Thu Dec 6 21:34:12 CST 2018 (using threaded interrupts)
      Dez 21 14:09:52 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
      Dez 21 14:09:52 nertha nvidia-persistenced[754]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 14:09:52 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 14:09:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 14:09:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 14:10:53 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
      Dez 21 14:10:53 nertha nvidia-persistenced[809]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 14:10:53 nertha nvidia-persistenced[811]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 14:10:53 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 14:10:53 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 14:10:54 nertha nvidia-persistenced[912]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[920]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[926]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[956]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[975]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[988]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1016]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1058]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1068]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1089]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1105]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1113]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1121]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1131]: Failed to unlink PID file: No such file or directory
      Dez 21 14:10:54 nertha nvidia-persistenced[1142]: Failed to unlink PID file: No such file or directory
      Dez 21 14:31:05 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.25 Wed Dec 12 10:22:08 CST 2018 (using threaded interrupts)
      Dez 21 14:31:05 nertha nvidia-persistenced[756]: nvidia-persistenced failed to initialize. Check syslog for more details.
      Dez 21 14:31:05 nertha nvidia-persistenced[759]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
      Dez 21 14:31:05 nertha systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
      Dez 21 14:31:05 nertha systemd[1]: Failed to start NVIDIA Persistence Daemon.
      Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
      Dez 21 14:31:06 nertha systemd-udevd[403]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
      Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548701] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
      Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548716] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
      Dez 21 14:31:06 nertha bumblebeed[783]: [ 5.548724] [ERROR]Failed to unload module 'nvidia' (ref count: 77).
      Dez 21 14:48:44 nertha kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 410.78 Sat Nov 10 22:09:04 CST 2018 (using threaded interrupts)
      Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
      Dez 21 14:48:45 nertha systemd-udevd[427]: Process '/bin/mknod -m 666 /dev/nvidia0 c 195 0' failed with exit code 1.
      Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564388] [ERROR]Failed to unload module 'nvidia_drm' (ref count: 2).
      Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564420] [ERROR]Failed to unload module 'nvidia_modeset' (ref count: 2).
      Dez 21 14:48:45 nertha bumblebeed[804]: [ 5.564428] [ERROR]Failed to unload module 'nvidia' (ref count: 77).


      I really would like to use nvidia drivers again, as with nouveau, external screens don't seem to be recognized. What else can I try? If you need more info, let me know!







      drivers nvidia nvidia-optimus bumblebee






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 21 at 15:08

























      asked Dec 21 at 14:19









      codeling

      4302518




      4302518



























          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%2f1103597%2fnvidia-blank-screen-with-cursor%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          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.





          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%2f1103597%2fnvidia-blank-screen-with-cursor%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 did Captain America manage to do this?

          迪纳利

          南乌拉尔铁路局