Ubuntu 18.10: Installing nvidia drivers leads to black screen after GRUB
I had this issue too with the nvidia drivers and Ubuntu 18.10. I found a thread on the French Ubuntu website which helped me. It's a fix for Ubuntu 17.10 but it worked for me on 18.10.
Try this:
-
Edit
/etc/gdm3/custom.conf
:sudo gedit /etc/gdm3/custom.conf
-
Here uncomment the line
#WaylandEnable=false
which becomes also
WaylandEnable=false
Don't forget to save!
With this you should be able to install the nvidia drivers (I'm using the 390 version which works for me).
Source
This thread helped me with the same problem (Ubuntu 18.04 GTX1080)
sudo apt install linux-headers-$(uname -r)
for low latency kernel headers then add
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"
to your grub. Then you need to regenerate the initramfs and the Kernel modules. Dont forget to update your grub.sudo update-grub2
.
Hope this helps.