2

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!

Meta
  • 59

2 Answers2

4

Based on the first link, I am assuming you are using the run file. I recently went through a similar process with my own computer (14.04). According to the instructions from Nvidia, you do the following to disable the nouveau drivers. Note that this does not require any changes to Grub or LightDM.

  1. Create /etc/modprobe.d/blacklist-nouveau.conf with the content:

    blacklist nouveau
    
  2. Run: sudo update-initramfs -u

Eliah Kagan
  • 119,640
3
  1. ctrl+alt+f1
  2. Login
  3. sudo service lightdm stop
  4. sudo modprobe -r nouveau
  5. sudo service lightdm start