375.39 cannot install on EFI booted ubuntu 16.04 kernel 4.8.0-41-generic

Bug #1676102 reported by SunBear
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-375 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have been trying to install the default nvidia 375.39 driver that is provided in the latest Ubuntu 16.04.2 LTS iso for a few days. The installed Ubuntu 16.04 is EFI booted from a M.2 NVME BPX SSD attached to a ASUS Z170M-Plus mob.

$ uname -r returns 4.8.0-41-generic
$ uname -v returns #44~16.04.1-Ubuntu SMP Fri Mar 3 17:11:16 UTC 2017
$ [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD" returns EFI boot on HDD
mob uefi settings: Fast Boot[Disabled], tried CSM [Enabled] and [Disabled],

After many installation attempts over a few days, I always found that the nvidia installation simply cannot complete the installation procedure and runs "forever" on a single processor; I have allowed the installation to run through the night and it was still installing the next day.

Is there a bug preventing the installation or is there some settings I need to perform to get it to complete the installation?

Has anyone successfully installed the 375.39 driver on the 4.8.0-41-generic kernel for EFI booted Ubuntu 16.04? If yes, can you share how you achieve it?

SunBear (sunbear-c22)
description: updated
Revision history for this message
SunBear (sunbear-c22) wrote :
Download full text (12.1 KiB)

Below is a section of the dpkg.log. I noticed that the installation is talking about using linux-image-4.4.0-66-generic:amd64 4.4.0-66.87 and linux-image-generic:amd64 4.4.0.66.70. But they aren't the 4.8.0-41-generic kernel that came with Ubuntu. Is this conflict preventing the installation?

2017-03-26 06:33:34 startup archives unpack
2017-03-26 06:33:34 install dkms:all <none> 2.2.0.3-2ubuntu11.3
2017-03-26 06:33:34 status half-installed dkms:all 2.2.0.3-2ubuntu11.3
2017-03-26 06:33:34 status triggers-pending man-db:amd64 2.7.5-1
2017-03-26 06:33:34 status unpacked dkms:all 2.2.0.3-2ubuntu11.3
2017-03-26 06:33:34 status unpacked dkms:all 2.2.0.3-2ubuntu11.3
2017-03-26 06:33:34 install libc6-i386:amd64 <none> 2.23-0ubuntu7
2017-03-26 06:33:34 status triggers-pending libc-bin:amd64 2.23-0ubuntu7
2017-03-26 06:33:34 status half-installed libc6-i386:amd64 2.23-0ubuntu7
2017-03-26 06:33:34 status unpacked libc6-i386:amd64 2.23-0ubuntu7
2017-03-26 06:33:34 status unpacked libc6-i386:amd64 2.23-0ubuntu7
2017-03-26 06:33:34 install lib32gcc1:amd64 <none> 1:6.0.1-0ubuntu1
2017-03-26 06:33:34 status half-installed lib32gcc1:amd64 1:6.0.1-0ubuntu1
2017-03-26 06:33:34 status unpacked lib32gcc1:amd64 1:6.0.1-0ubuntu1
2017-03-26 06:33:34 status unpacked lib32gcc1:amd64 1:6.0.1-0ubuntu1
2017-03-26 06:33:35 install nvidia-375:amd64 <none> 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:35 status half-installed nvidia-375:amd64 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:36 status triggers-pending ureadahead:amd64 0.100.0-19
2017-03-26 06:33:41 status unpacked nvidia-375:amd64 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:41 status unpacked nvidia-375:amd64 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:41 install libcuda1-375:amd64 <none> 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:41 status half-installed libcuda1-375:amd64 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:41 status unpacked libcuda1-375:amd64 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:41 status unpacked libcuda1-375:amd64 375.39-0ubuntu0.16.04.1
2017-03-26 06:33:41 install libjansson4:amd64 <none> 2.7-3
2017-03-26 06:33:41 status half-installed libjansson4:amd64 2.7-3
2017-03-26 06:33:41 status unpacked libjansson4:amd64 2.7-3
2017-03-26 06:33:41 status unpacked libjansson4:amd64 2.7-3
2017-03-26 06:33:41 install libvdpau1:amd64 <none> 1.1.1-3ubuntu1
2017-03-26 06:33:41 status half-installed libvdpau1:amd64 1.1.1-3ubuntu1
2017-03-26 06:33:41 status unpacked libvdpau1:amd64 1.1.1-3ubuntu1
2017-03-26 06:33:41 status unpacked libvdpau1:amd64 1.1.1-3ubuntu1
2017-03-26 06:33:41 install libxnvctrl0:amd64 <none> 361.42-0ubuntu1
2017-03-26 06:33:41 status half-installed libxnvctrl0:amd64 361.42-0ubuntu1
2017-03-26 06:33:41 status unpacked libxnvctrl0:amd64 361.42-0ubuntu1
2017-03-26 06:33:41 status unpacked libxnvctrl0:amd64 361.42-0ubuntu1
2017-03-26 06:33:41 install linux-image-4.4.0-66-generic:amd64 <none> 4.4.0-66.87
2017-03-26 06:33:41 status half-installed linux-image-4.4.0-66-generic:amd64 4.4.0-66.87
2017-03-26 06:33:43 status unpacked linux-image-4.4.0-66-generic:amd64 4.4.0-66.87
2017-03-26 06:33:43 status unpacked linux-image-4.4.0-66-generic:amd64 4.4.0-66.87
2017-03-26 06:33:43 install linux-image-extra-4.4.0-66-ge...

Revision history for this message
SunBear (sunbear-c22) wrote :

I found a way to fix my issue. I ran the following commands to remove pre-existing nvidia drivers and downloaded and installed the drivers from your repository. After rebooting, Xsession became visible. Finally a success.

Press Ctrl+Alt+F1 to go into tty1.
Login to tty1.
sudo apt-get purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa -y
sudo apt-get update
sudo apt-get install nvidia-375 -y

Revision history for this message
SunBear (sunbear-c22) wrote :

I used the nvidia drivers from graphics-drivers/ppa repository (correction to my earlier post). However, the bad window borders arising from waking up from suspend mode still persist (not fixed yet). Fortunately, the temporary solution mentioned in https://bugs.launchpad.net/linuxmint/+bug/1667158/comments/13 still works for now.

I recommend the developing team rolling out the latest Ubuntu 16.04.2 LTS installer ensure that the nvidia 375.39 driver accompanying it works robustly. This will allow Ubuntu users to be more productive and encourage more folks to use Ubuntu.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.