I have not been able to install the new driver. I have done the following:
# get rid of cuda and old nvidia drivers
sudo apt-get remove --purge cuda
sudo apt autoremove
apt-get remove --purge nvidia-410 nvidia-modprobe nvidia-settings -y
Confirm all the cuda pre-installation conditions are satisfied: CUDA Installation Guide for Linux — Installation Guide for Linux 13.2 documentation
disable nouveau
put the following:
blacklist nouveau
options nouveau modeset=0
into:
/etc/modprobe.d/blacklist-nouveau.conf
then run:
sudo update-initramfs -u
sudo apt autoremove
sudo reboot
# confirm no nouveau or nvidia drivers running:
lsmod | grep nou
lsmod | grep nvidia
# Try to install latest nvidia driver
wget http://uk.download.nvidia.com/XFree86/Linux-x86_64/418.56/NVIDIA-Linux-x86_64-418.56.run
sudo sh ./NVIDIA-Linux-x86_64-418.56.run
Result:
“The distribution-provided pre-install script failed! Are you sure you want
to continue?”
When I choose to Abort, the installer advises me to look in the install log. There is no additional information information in the install log.
I can think of four possible ways forward:
I could ignore the warning and install anyway.
I could try using a 3rd party ppa:
I could reinstall the OS from scratch and try to make installing the nvidia driver the first thing I do, followed by a runfile install of cuda. I’m very hesistant to do this as it would take a long time to set everything back up again, and configure all the applications etc. etc.
I could just give up and use the older 142 kernel forever.
Which of these seems like the least-bad idea to you?