CUDA Install - yszheda/wiki GitHub Wiki

Driver List

Trouble shooting

The system is running in low-graphics mode

The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly. If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.

sudo yum install epel-release
yum install --enablerepo=epel dkms

PAM authentication failed, cannot start X server

/etc/pam.d/xserver:

#%PAM-1.0
auth sufficient pam_rootok.so
#auth required pam_console.so
auth sufficient pam_permit.so
account sufficient pam_permit.so
session optional pam_keyinit.so force revoke

kernel: NVRM: API mismatch

CentOS

yum erase kmod-nvidia nvidia-x11-drv
yum install kmod-nvidia nvidia-x11-drv

NVIDIA(0): Failed to initialize the nvidia kernel module

nvidia-drm-priv.h linux/fence.h not found

NVRM: RmInitAdapter failed

[Debian]Can't locate InstallUtils.pm in @INC (you may need to install the InstallUtils module)

unpack .run file ./cuda*.run –tar mxvf
copy InstallUtils.pm to /usr/lib/x86_64-linux-gnu/perl-base
export $PERL5LIB

[Debian, gcc6, CUDA8] Unsupported compiler

sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/bin/gcc-5.4.0 60 --slave /usr/bin/g++ g++ /usr/local/bin/g++-5.4.0
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 40 --slave /usr/bin/g++ g++ /usr/bin/g++-6
sudo update-alternatives --config gcc

PREEMPT_RT kernel

archlinux

manjaro

gentoo

apollo