Ubuntu 18.04 stopped working with NVIDIA drivers











up vote
12
down vote

favorite
6












I am running Ubuntu 18.04 on a CLEVO notebook and have the nvida-390 drivers and Cuda installed. It worked fine for a month, but - suddenly today it stopped working. I can still access the login screen, but the screen remains purple.



I've already tried to purge and reinstall the nvidia-390 drivers (I've also tried the 396 drivers version) without success. After the login the computer always stops working. I cannot even access tty. After purging the drivers I can login and all works fine with nouveau, but I really need Cuda for my work.



My specs:




  • i7-6700HQ

  • 8GB RAM

  • Nvidia GeForce GTX 970M

  • Intel Wireless 8260


Can someone please help me? Thanks.










share|improve this question
























  • Try booting an old kernel
    – Panther
    Jun 20 at 17:28






  • 1




    Please try out whether booting with the parameter nvidia-drm.modeset=1 solves the problem. :)
    – cl-netbox
    Jun 20 at 17:40












  • @cl-netbox it worked!! Thank you! Please answer the question so i can give you the actual right answer :)
    – Daniele Gamba
    Jun 20 at 17:58















up vote
12
down vote

favorite
6












I am running Ubuntu 18.04 on a CLEVO notebook and have the nvida-390 drivers and Cuda installed. It worked fine for a month, but - suddenly today it stopped working. I can still access the login screen, but the screen remains purple.



I've already tried to purge and reinstall the nvidia-390 drivers (I've also tried the 396 drivers version) without success. After the login the computer always stops working. I cannot even access tty. After purging the drivers I can login and all works fine with nouveau, but I really need Cuda for my work.



My specs:




  • i7-6700HQ

  • 8GB RAM

  • Nvidia GeForce GTX 970M

  • Intel Wireless 8260


Can someone please help me? Thanks.










share|improve this question
























  • Try booting an old kernel
    – Panther
    Jun 20 at 17:28






  • 1




    Please try out whether booting with the parameter nvidia-drm.modeset=1 solves the problem. :)
    – cl-netbox
    Jun 20 at 17:40












  • @cl-netbox it worked!! Thank you! Please answer the question so i can give you the actual right answer :)
    – Daniele Gamba
    Jun 20 at 17:58













up vote
12
down vote

favorite
6









up vote
12
down vote

favorite
6






6





I am running Ubuntu 18.04 on a CLEVO notebook and have the nvida-390 drivers and Cuda installed. It worked fine for a month, but - suddenly today it stopped working. I can still access the login screen, but the screen remains purple.



I've already tried to purge and reinstall the nvidia-390 drivers (I've also tried the 396 drivers version) without success. After the login the computer always stops working. I cannot even access tty. After purging the drivers I can login and all works fine with nouveau, but I really need Cuda for my work.



My specs:




  • i7-6700HQ

  • 8GB RAM

  • Nvidia GeForce GTX 970M

  • Intel Wireless 8260


Can someone please help me? Thanks.










share|improve this question















I am running Ubuntu 18.04 on a CLEVO notebook and have the nvida-390 drivers and Cuda installed. It worked fine for a month, but - suddenly today it stopped working. I can still access the login screen, but the screen remains purple.



I've already tried to purge and reinstall the nvidia-390 drivers (I've also tried the 396 drivers version) without success. After the login the computer always stops working. I cannot even access tty. After purging the drivers I can login and all works fine with nouveau, but I really need Cuda for my work.



My specs:




  • i7-6700HQ

  • 8GB RAM

  • Nvidia GeForce GTX 970M

  • Intel Wireless 8260


Can someone please help me? Thanks.







drivers nvidia 18.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 26 at 18:59







user364819

















asked Jun 20 at 17:04









Daniele Gamba

253110




253110












  • Try booting an old kernel
    – Panther
    Jun 20 at 17:28






  • 1




    Please try out whether booting with the parameter nvidia-drm.modeset=1 solves the problem. :)
    – cl-netbox
    Jun 20 at 17:40












  • @cl-netbox it worked!! Thank you! Please answer the question so i can give you the actual right answer :)
    – Daniele Gamba
    Jun 20 at 17:58


















  • Try booting an old kernel
    – Panther
    Jun 20 at 17:28






  • 1




    Please try out whether booting with the parameter nvidia-drm.modeset=1 solves the problem. :)
    – cl-netbox
    Jun 20 at 17:40












  • @cl-netbox it worked!! Thank you! Please answer the question so i can give you the actual right answer :)
    – Daniele Gamba
    Jun 20 at 17:58
















Try booting an old kernel
– Panther
Jun 20 at 17:28




Try booting an old kernel
– Panther
Jun 20 at 17:28




1




1




Please try out whether booting with the parameter nvidia-drm.modeset=1 solves the problem. :)
– cl-netbox
Jun 20 at 17:40






Please try out whether booting with the parameter nvidia-drm.modeset=1 solves the problem. :)
– cl-netbox
Jun 20 at 17:40














@cl-netbox it worked!! Thank you! Please answer the question so i can give you the actual right answer :)
– Daniele Gamba
Jun 20 at 17:58




@cl-netbox it worked!! Thank you! Please answer the question so i can give you the actual right answer :)
– Daniele Gamba
Jun 20 at 17:58










1 Answer
1






active

oldest

votes

















up vote
16
down vote



accepted
+200










You might need to have Direct Rendering Manager Kernel Mode Setting enabled on system boot.

NVIDIA driver's PRIME Synchronization support relies on DRM-KMS, which is disabled by default.

Find more comprehensive information in the discussion on the NVIDIA GPU Unix Graphics Forums.



Execute sudo nano /etc/default/grub and add the parameter nvidia-drm.modeset=1 to the line GRUB_CMDLINE_LINUX_DEFAULT. Save the change you've made and run sudo update-grub.

Restart the Ubuntu operating system, and now, everything should work properly - right as expected.






share|improve this answer



















  • 3




    Congrats on bounty you deserve it :)
    – WinEunuuchs2Unix
    Jun 24 at 17:27










  • Once I do this, the monitor running on NVidia will block on "Starting Gnome DISPLAY Manager" however the other monitor is fine. Remove the modeset from GRUB then all is fine, except screen tearing on NVidia. Any ideas how to diagnose or fix ?
    – abdelrahman-sinno
    Nov 14 at 14:24










  • @abdelrahman-sinno Without knowing any further details providing you with a correctly working solution is not possible. I suggest that you ask a new question including as much information as possible about your specific hardware and system setup and about what you have already tried so far to solve the problem. :)
    – cl-netbox
    Nov 14 at 15:25












  • @cl-netbox I have posted my question here (askubuntu.com/questions/1093409/…), please let me know if you need any further info
    – abdelrahman-sinno
    Nov 16 at 9:15












  • didn't work for me
    – fccoelho
    Dec 10 at 14:35










protected by WinEunuuchs2Unix Jun 24 at 19:49



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
16
down vote



accepted
+200










You might need to have Direct Rendering Manager Kernel Mode Setting enabled on system boot.

NVIDIA driver's PRIME Synchronization support relies on DRM-KMS, which is disabled by default.

Find more comprehensive information in the discussion on the NVIDIA GPU Unix Graphics Forums.



Execute sudo nano /etc/default/grub and add the parameter nvidia-drm.modeset=1 to the line GRUB_CMDLINE_LINUX_DEFAULT. Save the change you've made and run sudo update-grub.

Restart the Ubuntu operating system, and now, everything should work properly - right as expected.






share|improve this answer



















  • 3




    Congrats on bounty you deserve it :)
    – WinEunuuchs2Unix
    Jun 24 at 17:27










  • Once I do this, the monitor running on NVidia will block on "Starting Gnome DISPLAY Manager" however the other monitor is fine. Remove the modeset from GRUB then all is fine, except screen tearing on NVidia. Any ideas how to diagnose or fix ?
    – abdelrahman-sinno
    Nov 14 at 14:24










  • @abdelrahman-sinno Without knowing any further details providing you with a correctly working solution is not possible. I suggest that you ask a new question including as much information as possible about your specific hardware and system setup and about what you have already tried so far to solve the problem. :)
    – cl-netbox
    Nov 14 at 15:25












  • @cl-netbox I have posted my question here (askubuntu.com/questions/1093409/…), please let me know if you need any further info
    – abdelrahman-sinno
    Nov 16 at 9:15












  • didn't work for me
    – fccoelho
    Dec 10 at 14:35















up vote
16
down vote



accepted
+200










You might need to have Direct Rendering Manager Kernel Mode Setting enabled on system boot.

NVIDIA driver's PRIME Synchronization support relies on DRM-KMS, which is disabled by default.

Find more comprehensive information in the discussion on the NVIDIA GPU Unix Graphics Forums.



Execute sudo nano /etc/default/grub and add the parameter nvidia-drm.modeset=1 to the line GRUB_CMDLINE_LINUX_DEFAULT. Save the change you've made and run sudo update-grub.

Restart the Ubuntu operating system, and now, everything should work properly - right as expected.






share|improve this answer



















  • 3




    Congrats on bounty you deserve it :)
    – WinEunuuchs2Unix
    Jun 24 at 17:27










  • Once I do this, the monitor running on NVidia will block on "Starting Gnome DISPLAY Manager" however the other monitor is fine. Remove the modeset from GRUB then all is fine, except screen tearing on NVidia. Any ideas how to diagnose or fix ?
    – abdelrahman-sinno
    Nov 14 at 14:24










  • @abdelrahman-sinno Without knowing any further details providing you with a correctly working solution is not possible. I suggest that you ask a new question including as much information as possible about your specific hardware and system setup and about what you have already tried so far to solve the problem. :)
    – cl-netbox
    Nov 14 at 15:25












  • @cl-netbox I have posted my question here (askubuntu.com/questions/1093409/…), please let me know if you need any further info
    – abdelrahman-sinno
    Nov 16 at 9:15












  • didn't work for me
    – fccoelho
    Dec 10 at 14:35













up vote
16
down vote



accepted
+200







up vote
16
down vote



accepted
+200




+200




You might need to have Direct Rendering Manager Kernel Mode Setting enabled on system boot.

NVIDIA driver's PRIME Synchronization support relies on DRM-KMS, which is disabled by default.

Find more comprehensive information in the discussion on the NVIDIA GPU Unix Graphics Forums.



Execute sudo nano /etc/default/grub and add the parameter nvidia-drm.modeset=1 to the line GRUB_CMDLINE_LINUX_DEFAULT. Save the change you've made and run sudo update-grub.

Restart the Ubuntu operating system, and now, everything should work properly - right as expected.






share|improve this answer














You might need to have Direct Rendering Manager Kernel Mode Setting enabled on system boot.

NVIDIA driver's PRIME Synchronization support relies on DRM-KMS, which is disabled by default.

Find more comprehensive information in the discussion on the NVIDIA GPU Unix Graphics Forums.



Execute sudo nano /etc/default/grub and add the parameter nvidia-drm.modeset=1 to the line GRUB_CMDLINE_LINUX_DEFAULT. Save the change you've made and run sudo update-grub.

Restart the Ubuntu operating system, and now, everything should work properly - right as expected.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 21 at 15:55

























answered Jun 21 at 10:25









cl-netbox

25.7k572113




25.7k572113








  • 3




    Congrats on bounty you deserve it :)
    – WinEunuuchs2Unix
    Jun 24 at 17:27










  • Once I do this, the monitor running on NVidia will block on "Starting Gnome DISPLAY Manager" however the other monitor is fine. Remove the modeset from GRUB then all is fine, except screen tearing on NVidia. Any ideas how to diagnose or fix ?
    – abdelrahman-sinno
    Nov 14 at 14:24










  • @abdelrahman-sinno Without knowing any further details providing you with a correctly working solution is not possible. I suggest that you ask a new question including as much information as possible about your specific hardware and system setup and about what you have already tried so far to solve the problem. :)
    – cl-netbox
    Nov 14 at 15:25












  • @cl-netbox I have posted my question here (askubuntu.com/questions/1093409/…), please let me know if you need any further info
    – abdelrahman-sinno
    Nov 16 at 9:15












  • didn't work for me
    – fccoelho
    Dec 10 at 14:35














  • 3




    Congrats on bounty you deserve it :)
    – WinEunuuchs2Unix
    Jun 24 at 17:27










  • Once I do this, the monitor running on NVidia will block on "Starting Gnome DISPLAY Manager" however the other monitor is fine. Remove the modeset from GRUB then all is fine, except screen tearing on NVidia. Any ideas how to diagnose or fix ?
    – abdelrahman-sinno
    Nov 14 at 14:24










  • @abdelrahman-sinno Without knowing any further details providing you with a correctly working solution is not possible. I suggest that you ask a new question including as much information as possible about your specific hardware and system setup and about what you have already tried so far to solve the problem. :)
    – cl-netbox
    Nov 14 at 15:25












  • @cl-netbox I have posted my question here (askubuntu.com/questions/1093409/…), please let me know if you need any further info
    – abdelrahman-sinno
    Nov 16 at 9:15












  • didn't work for me
    – fccoelho
    Dec 10 at 14:35








3




3




Congrats on bounty you deserve it :)
– WinEunuuchs2Unix
Jun 24 at 17:27




Congrats on bounty you deserve it :)
– WinEunuuchs2Unix
Jun 24 at 17:27












Once I do this, the monitor running on NVidia will block on "Starting Gnome DISPLAY Manager" however the other monitor is fine. Remove the modeset from GRUB then all is fine, except screen tearing on NVidia. Any ideas how to diagnose or fix ?
– abdelrahman-sinno
Nov 14 at 14:24




Once I do this, the monitor running on NVidia will block on "Starting Gnome DISPLAY Manager" however the other monitor is fine. Remove the modeset from GRUB then all is fine, except screen tearing on NVidia. Any ideas how to diagnose or fix ?
– abdelrahman-sinno
Nov 14 at 14:24












@abdelrahman-sinno Without knowing any further details providing you with a correctly working solution is not possible. I suggest that you ask a new question including as much information as possible about your specific hardware and system setup and about what you have already tried so far to solve the problem. :)
– cl-netbox
Nov 14 at 15:25






@abdelrahman-sinno Without knowing any further details providing you with a correctly working solution is not possible. I suggest that you ask a new question including as much information as possible about your specific hardware and system setup and about what you have already tried so far to solve the problem. :)
– cl-netbox
Nov 14 at 15:25














@cl-netbox I have posted my question here (askubuntu.com/questions/1093409/…), please let me know if you need any further info
– abdelrahman-sinno
Nov 16 at 9:15






@cl-netbox I have posted my question here (askubuntu.com/questions/1093409/…), please let me know if you need any further info
– abdelrahman-sinno
Nov 16 at 9:15














didn't work for me
– fccoelho
Dec 10 at 14:35




didn't work for me
– fccoelho
Dec 10 at 14:35





protected by WinEunuuchs2Unix Jun 24 at 19:49



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents