Ubuntu 18.04 Cannot log in after NVIDIA install

I have installed Nvidia drivers following guides and it seemed to work great (although it asked me multiple questions throughout the install). If I rebooted with secure boot enabled, Nvidia drivers failed to load. NVIDIA-SMI showed “no drivers found error”

If I disable secure boot via BIOS, I cannot even log in at all, it just loops when I place in my password the screen flickers and then ask me again.

if I attempt to console via ssh I can log in all day and NVIDIA-SMI shows my 2070 card just fine…

How do i fix this? Thank you all in advance.

nvidia-bug-report.log.gz (1.07 MB)

Please run nvidia-bug-report.sh as root and attach the resulting .gz file to your post. Hovering the mouse over an existing post of yours will reveal a paperclip icon.
[url]https://devtalk.nvidia.com/default/topic/1043347/announcements/attaching-files-to-forum-topics-posts/[/url]

Great just did, thanks

It’s an Optimus notebook, so you can’t really use the .run installer.
Please follow this:

  • remove the .run installer driver using the --uninstall option
  • delete /etc/X11/xorg.conf
  • reinstall the driver from repo (sudo apt install --reinstall nvidia-driver-430)
  • install nvidia-prime (sudo apt install nvidia-prime)
  • switch to nvidia (sudo prime-select nvidia)
  • remove stray blacklist files (sudo rm /lib/modprobe.d/blacklist-nvidia.conf /etc/modprobe.d/blacklist-nvidia.conf)
  • update the initrd (sudo update-initramfs -u)
  • reboot
    If this doesn’t resolve the issue, please create a new nvidia-bug-report.log.

Thank you, Before I try that let me ask. If I was to erase and reimage from scratch 18.04, can I save myself a good amount of steps? I dont mind reimaging if i have to as I just imaged this one just yesterday am. Thanks

If you’re going to do a clean reinstall anyway, the best way to install the driver is right during install, choosing the option to “Install Third-Party-Software” and then select the nvidia driver. This will also set up module signing in case you have secure boot enabled and save you a lot of hassle.

Ok I will try that now, I do recall checking that box but never being prompted to install Nvidia etc , I am going to attempt disabling Secure Boot from BIOS before reimage as well… Thank you for your help!

Thank you, I found it in the software section upon logging in after clean install… THANK YOU