This README demonstrate how to install Nvidia driver, CUDA 9.0, cuDNN 7.2 on Ubuntu 18.04 computer with iGPU and Nvidia GPU. Using the following installation --flags
, X Server is going to be running on the iGPU so that the dGPU can be used for CUDA tasks.
- Install required packages
sudo apt install build-essential libxml2 gcc-multilib dkms gcc-6 g++6 freeglut3-dev libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev
- Add the following to
/etc/modprobe.d/blacklist-nouveau.conf
to disablenouveau
blacklist nouveau