Comment 9 for bug 1725169

Revision history for this message
Tim O'Callaghan (timo-linux) wrote :

Try this:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt-get install nvidia-387 nvidia-387-dev nvidia-modprobe nvidia-opencl-icd-387 nvidia-settings

cd /var/lib/dpkg/info/
nano nvidia-387.postinst
# go to line ~208 in file 'nvidia-387.postinst' and change $KERNELS to $CURRENT_KERNEL and save
dpkg-reconfigure nvidia-387

NVIDIA dkms kernel modules re-compiled without a problem. not sure if optimus working for me yet though