cuda及nvidia驱动安装
1. Install nvidia driver
- dependences
1 | apt install dkms build-essential linux-headers-amd64(or linux-headers-$(uname -r)) |
disable nouveau module(optional)
- vim /etc/modprobe.d/blacklist-nouveau.conf
1
2blacklist nouveau
options nouveau modeset=0- update module
1
update-initramfs -u
execute installer
1 | service lightdm stop // service gdm3 stop |
2. Install cuda/cudnn
1 | sh cuda_XX.run |
3. Issues
- nvidia driver 登录管理器循环登录问题
1 | // bios 安全登录问题 |
- cuda install Can't locate InstallUtils.pm in @INC
1 | export PERL5LIB=. |