/Ubuntu 16 4.4.0-143 Kernel Breaks Nvidia Driver

Ubuntu 16 4.4.0-143 Kernel Breaks Nvidia Driver

One user reported his machine did not let him log on after the recent update. I checked several logs to find out the Nvidia driver was not installed correctly. This message is found on /var/crash/nvidia-415.

Title: nvidia-415 415.27-0ubuntu0~gpu16.04.1: nvidia-415 kernel module failed to build

I tried to use several different versions of Nvidia driver, but the kernel modules still failed to build. Then I found out that all the Nvidia drivers do not support 4.4.0-143 yet. I tried to uninstall the 4.4.0-143 kernel and reinstall the Nvidia driver and it worked.

Here are what I did:

  1. List all the packages related to 4.4.0-143.
    apt list --installed | grep 4.4.0-143
  2. Uninstall the packages found on step 1. Note that you might not be able to uninstall linux-libc-dev package, but that’s ok.
  3. Reinstall the Nvidia driver
    apt-get install nvidia-415