Failed to install NVIDIA Graphics card driver 384 on Ubuntu 16.04

Hello!

I am facing an issue where I am unable to successfully install the NVIDIA Graphics card driver v. 384.130 (proprietary, tested) on my Ubuntu 16.04.1 system (kernel 4.13.0-45 generic, x86_64 x86_64 x86_64 GNU/Linux) through the “Additional Drivers” software. My computer is a HP Omen laptop with an NVIDIA GeForce GTX 1060 (6GB). To my understanding, there are many who face this issue, and after days with attempting to install, I am no closer to a solution.

The problem arrises after the installation has completed and I perform a reboot. I am then stuck at the login screen. Normally, I have automatic login, but I am now asked to enter my password. When I enter the password, the system re-directs me back to the login screen and I am unable to login properly.

Why does this happen and what can I do to successfully install this driver for my graphics card?

Kind regards,

I suspect you’re on a coffee lake system so you would need kernel 4.15 for your intel gpu. Just upgrade your hwe stack:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack
If that doesn’t fix it, please run nvidia-bug-report.sh as root and attach the resulting .gz file to your post. Hovering the mouse over an existing post will reveal a paperclip icon.

Thanks for your reply, generix!

I followed the procedure in that link, and I now have the following versions (no kernel version 4.15 even after sudo apt autoremove and a reboot)

$ sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-generic-hwe-16.04 is already the newest version (4.13.0.45.64).
xserver-xorg-hwe-16.04 is already the newest version (1:7.7+16ubuntu3~16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install --install-recommends linux-generic-hwe-16.04 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-generic-hwe-16.04 is already the newest version (4.13.0.45.64).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So it seems this was not fixed. I would like to run the nvidia-bug-report.sh, but I cannot find it on my computer. How can I download this file?

Ok, 16.04 will only get the newer kernel in august.
nvidia-bug-report.sh gets installed along with the driver, look in /usr/lib/nvidia-384/bin/
Alternatively, you can run
sudo dmesg >dmesg.txt
and attach that and post the output of
sudo lspci

To get a new kernel you can either install and use ukuu or by hand:
http://ubuntuhandbook.org/index.php/2018/01/install-linux-kernel-4-15-in-ubuntu-linux-mint/
Probably you would also have to get a newer package linux-firmware, so pleas post the needed logs before trying.