Monday, August 5, 2019

How to install Nvidia driver for CUDA only in Ubuntu 16.04?

I would like to install Nvidia driver for CUDA only and use nouveau driver or Intel GPU for display (seems Nvidia driver has some issues with OpenGL). Both Nvidia driver and CUDA toolkit are available from repository. After installing, Nvidia driver is used for display too. Switching to Intel GPU through Nvidia settings makes it impossible for CUDA to use Nvidia GPU. Edited /etc/X11/xorg.conf file results to black screen.




I tried manual installation with the --no-opengl-files flag but got error like "pre-installation script failed".



How to install Nvidia driver for CUDA only from repository?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...