Ubuntu 18.04: Getting nvidia to work on HP 8440p

Cuda not needed – https://developer.nvidia.com/cuda-zone

# Instructions for 4.14 and cuda 9.1
# If upgrading from 4.13 and cuda 9.0
$ sudo apt-get purge –auto-remove libcud*
$ sudo apt-get purge –auto-remove cuda*
$ sudo apt-get purge –auto-remove nvidia*
# also remove the container directory direcotory at /usr/local/cuda-9.0/

# Important libs required with 4.14.x with Cuda 9.X
$ sudo apt install libelf1 libelf-dev

# Install Intel Graphics Patch Firmwares (This should reboot your system):
bash -c “$(curl -fsSL http://bit.ly/IGFWL-install)”

# Update to 4.14 kernel. nvidia-384 compiles fine with this.
cd /tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.13/linux-headers-4.14.13-041413_4.14.13-041413.201801101001_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.13/linux-headers-4.14.13-041413-generic_4.14.13-041413.201801101001_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.13/linux-image-4.14.13-041413-generic_4.14.13-041413.201801101001_amd64.deb
sudo dpkg -i *.deb

# Add Nvidia repository
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

# Install via ubuntu drivers
sudo ubuntu-drivers autoinstall

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.