Kylin Linux Advanced Server V10 (Tercel) aarch64 installs NVIDIA-Linux-aarch64-520.61.05.run to drive Tesla T4 16G notes

Download arm64 version driver

axel -n 200 https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux_sbsa.run

disable nouveau

When installing for the first time, select the driver to install together, and the file /etc/modprobe.d/nvidia-installer-disable-nouveau.conf will be automatically generated, the content is as follows

# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0

regenerate initramfs

mkinitrd /boot/initramfs-4.19.90-23.8.v2101.ky10.aarch64.img 4.19.90-23.8.v2101.ky10.aarch64 --force

Set to restart to character interface

systemctl set-default multi-user.target
reboot

---------------------------------

after reboot

install dependencies

yum install gcc kernel-devel kernel-headers

Install the driver separately

bash NVIDIA-Linux-aarch64-520.61.05.run --kernel-source-path=/usr/src/kernels/4.19.90-23.8.v2101.ky10.aarch64/

Note: NVIDIA-Linux-aarch64-520.61.05.run can be found in the /tmp directory during cuda_11.8.0_520.61.05_linux_sbsa.run: find /tmp | grep NVIDIA

install cuda

bash cuda_11.8.0_520.61.05_linux_sbsa.run

achievement

 

Guess you like

Origin blog.csdn.net/hknaruto/article/details/132106566