![]() Testing cd /usr/local/cuda/samples/1_Utilities/deviceQueryġ. bashrcĮxport LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64$ħ. After downloading, run sudo chmod +x cuda_10.1.243_418.87.00_nĪs the first step, we have installed the driver separately in advance, so there is no need and no need to install the driver again (there will be trouble if we install it)Ħ. Official website Select the appropriate CUDA to download Install g++ gcc cmake make sudo apt-get install g++Ĥ. Remove old NVIDIA driver sudo apt remove -autoremove nvidia-*ģ. Sudo apt remove -autoremove nvidia-cuda-toolkit ![]() Uninstall the old cuda package sudo rm /etc/apt//cuda* ![]() Because different video card driver versions have different support for cuda, generally the first video card driver can be combined with a higher cuda, which needs to be installed according to its own actual situation. Ubuntu18.04 install nvidia driver (1060 graphics card), Cuda10.1ġ. The following figure shows that the installation is successful nvidia-smi Download and install sudo chmod +x NVIDIA-Linux-x86_ Enter Official website, download the corresponding recommended driverħ. Check the current graphics card model and the recommended drivers ubuntu-drivers devicesĪs can be seen in the figure below, the recommended driver for the video card is 440Ħ. The screen size will be abnormal after restart, because the graphics processing provided by ubuntu is disabled rebootĥ. ![]() Disable nouveau, sudo gedit /etc/modprobe.d/nfĪdd: blacklist nouveau at the end of the articleĮxecute after saving: sudo update-initramfs -uģ. Uninstall the previously installed driver sudo apt-get purge nvidia*Ģ. Install NVIDIA graphics driver in Ubuntu (avoid circular login)ġ. Ubuntu 18.04 installing NVIDIA graphics driver (gtx1060) + cuda10.1 + cudnnv8 + pychar + anaconda3 + pytorch After a week of crazy installation, unloading, with memory and helpless to write down the process Installing NVIDIA driver (GTX1060) Reference blog
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |