Apparently there are some major issues with the NVIDIA 36x drivers for Linux on Ubuntu 16 LTS. The installation of 361.45.11 and 367.18 (beta) are both resulting in a black screen on Ubuntu 16 with Kernel 188.8.131.52-generic and 184.108.40.206-generic (secure boot = disabled).
Thanks for the hint, I’ve downloaded 364.19 and tried to install it.
I had to stop lightdm before launching the install script. As soon as I started the script, I got the following message:
The distribution-provided pre-install script failed! Are you sure you want to continue?
I confirmed with Continue installation. However, right after that the next error message appeared:
ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
I pressed enter and got the next message:
For some distributions, Nouveau can be disabled by adding a file in the modprob configuration directory. Would you like nvidia-installer to attempt to create this modprobe file for you?
I confirmed with yes and rebooted the system. Afterwards I’ve tried to start the installation script again, which finally told me that the Nouveau kernel is still present and hence the installation failed :-(
I can’t say I’ve run into that. It should be impossible for the nouveau driver to be loaded if the nvidia installer properly blacklisted it. If you run ‘cat /etc/modprobe.d/nvidia-graphics-drivers.conf’, do you see a blacklist that contains nouveau and nouveau-lbm?
Here’s what I would do: After stopping lightdm, you can try unloading nouveau yourself (‘sudo rmmod nouveau’) and then restarting the installer. If it successfully unloads, or tells you it’s not loaded, then we’ll know the message from the installer is spurious.
- Open below file using vim editor(if vim editor is not present, Please install using command #apt-get install vim)
- vim /etc/modprobe.d/disable-nouveau.conf
- Add below lines in file
options nouveau modeset=0
- Save file and exit
- Now blacklist opensource nouveau driver for nvidia gpu.
- Open grub.conf file using vim editor - vim /boot/grub/grub.cfg
- Go to line stating with `linux` word. Its may looks like below:
linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=11bb801a-2f0e-4846-b730-a24435bc4439 ro quiet splash $vt_handoff
- now add string "rdblacklist=nouveau nouveau.modeset=0 vga=0" end of line.
- save file and exit
- reboot the system once.
- Stop X using commands `service lightdm stop` and `pkill X` and `pkill lightdm`.
- Now copy NV driver ***.run file to any folder and execute with command `sh NVIDIA-Linux-x86_64-***.run` and follow steps.
I had the same problem. I reinstalled my laptop (Ubuntu 16.04) and found out you can install Nvidia driver (nvidia-367) from synaptic (maybe in your computer there isn’t synaptic, then open a terminal:
I have spent hours now trying to get my GTX 970 working in Mint and/or Ubuntu Mate, whenever I install the driver I get a black screen then no input signal on my monitor, and the only way to get back into a graphical interface is to sudo apt-get purge nvidia. I have tried various driver versions (all in the 36x range), from the distros driver setting and via command line, they install fine request a reboot and then its a no input screen. I’ve tried all my ports (including my Haswell integrated graphics) to no avail. I’ve reinstalled distros a few times, and am pretty much out of ideas. What is the recommended steps to troubleshoot this? Should I try a 35x driver, I’m almost thinking my problem is unrelated and the driver is installing fine.
I did a full OS reinstall yes. The system boots up fine as long as I don’t install the NVIDIA driver. As soon as I do so (doesn’t matter which driver version), the system no longer boots (black screen).
Go to Dash and search for additional drivers. There, you would have got the option of several versions of Nvidia drivers. Select any version, click apply and wait for it to download and install it. Then reboot. You must have your drivers up and running.
Do not install the drivers using the .run file. Didn’t work on ubuntu or fedora for me. The above mentioned method worked for me.
If you encounter blackscreen(Or if you are experiencing it now)