I'm attempting to install the drivers for my Nvidia GPU by following the steps listed here, but after launching the installer it informs me that I must disable the Nouveau kernel driver before installation can continue (There is also an error message displayed before this stating that the 'distribution-provided pre-install script failed', but from what I've read in other posts it shouldn't be a problem to just continue and ignore it?).
Anyway, I've followed the steps listed here in an attempt to disable the Nouveau driver with no such luck. I've run
sudoedit /etc/modprobe.d/nvidia-graphics-drivers.conf and populated the file with the given data and saved it, I've edited a line within the
/etc/default/grub file so that it now reads
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=1 nomodset quiet splash", and I've attempted to install the driver from within tty1 by first disabling gdm3 using
sudo service gdm3 stop and then using the command
sudo sh NVIDIA-Linux-x86_64-384.69.run. Even after doing all this the same error informing me that Nouveau needs to be disabled appears.
I should mention at this point that I used this method of installing the driver once before a few days ago and it worked. For the life of me I can't remember how I got it to work or why it won't work this time around. Also this is essentially a completely fresh install of Ubuntu Gnome 16.04 LTS, the only alterations I've made so far are the installation of Chromium, Discord, a couple of extensions and I've made a few UI changes in the Tweak tool.
So, can anyone offer any more advice on how to disable Nouveau? I feel that if I can get this disabled entirely then I'll be able to install the driver without further issue, but until I can figure this out I can't currently continue using my system because the default Nouveau driver causes the UI to freeze without reason or warning sporadically. In fact it crashed while I was typing this out, lucky for me Chromium saved what I'd written.
Thanks in advance for any help and advice!