However, even after a reboot, the output of nvidia-smi is
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
For details, my bug report is attached. Does anyone know why my nvidia driver is not working?
I am running a Win 10 / Ubuntu 20.04 dual boot on a Dell Precision 5550 laptop. I have had this problem for about 3 years now, and so I would really like to get to the bottom of it.
Thank you very much for your quick reply. This was indeed my issue. I commented out the GRUB_CMDLINE_LINUX_DEFAULT="module_blacklist=nvidia" line in my /etc/default/grub and rebooted and now it works. I still can’t believe it, thank you very much!
The reason that I blacklisted nvidia a couple of years ago (and subsequently forgot), is because I was having freezing on boot issues with ALL (even proprietary) nvidia drivers back then (see https://itsfoss.com/fix-ubuntu-freezing/). However, I recently decided to have another attempt at fixing the problem, and I am glad that it works now with the 535 driver.