Cant load driver-440 on ubuntu 5.4.0-47-generic (but loads on recovery root shell)

Hi all - I am on a dell xps with a GeForce GTX 1650.

I am having a problem where if I try to boot with nvidia I get stuck on the login window (can’t move mouse, can’t see the user). If I boot into a recovery mode root shell, nvidia-smi recognized the gpu correctly. But then I have to switch to intel to log in, and nvidia-smi returns:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

nvidia-settings -q all

ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system

I already:

  • disabled secure boot;
  • purge nvidia* cuda* and did a clean install of drivers 430, 440, 450 and got the same error;
  • tried disabling wayland;
  • removed every nvidia blacklist from lib/modprobe.d/*;

I would appreciate the help because I really dont know what to try next. A few concerning messages from the log (linked below):

error related to driver 390 even tho I only installed 440

Sep 16 23:26:46 victor-xps kernel: [    3.112943] nvidia-nvlink: Unregistered the Nvlink Core, major device number 234
Sep 16 23:26:46 victor-xps kernel: [    3.365512] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Sep 16 23:26:46 victor-xps kernel: [    3.385239] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1f91)
Sep 16 23:26:46 victor-xps kernel: [    3.385239] NVRM: installed in this system is not supported by the
Sep 16 23:26:46 victor-xps kernel: [    3.385239] NVRM: NVIDIA 390.138 driver release.
Sep 16 23:26:46 victor-xps kernel: [    3.385239] NVRM: Please see 'Appendix A - Supported NVIDIA GPU Products'
Sep 16 23:26:46 victor-xps kernel: [    3.385239] NVRM: in this release's README, available on the operating system
Sep 16 23:26:46 victor-xps kernel: [    3.385239] NVRM: specific graphics driver download page at www.nvidia.com.
Sep 16 23:26:46 victor-xps kernel: [    3.385353] NVRM: The NVIDIA probe routine failed for 1 device(s).
Sep 16 23:26:46 victor-xps kernel: [    3.385354] NVRM: None of the NVIDIA graphics adapters were initialized!
Sep 16 23:26:46 victor-xps kernel: [    3.436942] nvidia-nvlink: Unregistered the Nvlink Core, major device number 234
Sep 16 23:26:46 victor-xps kernel: [    3.564343] nvidia-nvlink: Nvlink Core is being initialized, major device number 234

Sep 16 21:10:56 victor-xps kernel: [    3.120798] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Sep 16 21:10:56 victor-xps kernel: [    3.170962] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  440.95.01  Thu May 28 07:03:08 UTC 2020
Sep 16 21:10:56 victor-xps kernel: [    3.223719] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  440.95.01  Thu May 28 07:04:22 UTC 2020
Sep 16 21:10:56 victor-xps kernel: [    3.225751] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Sep 16 21:10:56 victor-xps kernel: [    3.225753] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
Sep 16 21:10:56 victor-xps kernel: [    3.254250] nvidia-uvm: Loaded the UVM driver, major device number 510.
Sep 16 21:11:02 victor-xps kernel: [   12.188990] NVRM: GPU at PCI:0000:01:00: GPU-8634ab17-56ad-13c7-d0ed-5d2d5f2289f9
Sep 16 21:11:02 victor-xps kernel: [   12.189007] NVRM: Xid (PCI:0000:01:00): 79, pid=1113, GPU has fallen off the bus.
Sep 16 21:11:02 victor-xps kernel: [   12.189009] NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.
Sep 16 21:11:02 victor-xps kernel: [   12.189028] NVRM: A GPU crash dump has been created. If possible, please run
Sep 16 21:11:02 victor-xps kernel: [   12.189028] NVRM: nvidia-bug-report.sh as root to collect this data before
Sep 16 21:11:02 victor-xps kernel: [   12.189028] NVRM: the NVIDIA kernel module is unloaded.
Sep 16 21:15:31 victor-xps kernel: [    3.499847] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Sep 16 21:15:31 victor-xps kernel: [    3.552226] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  440.95.01  Thu May 28 07:03:08 UTC 2020

nvidia-bug-report.log.gz (164.3 KB)

Thanks a lot!