NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver on RHEL 8.3


Avec RHEL 8.3 :

$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.3 (Ootpa)

si vous obtenez cette erreur lors après l’installation des drivers CUDA:

$ nvidia-smi 
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Vous pouvez blacklister le pilote “nouveau” à la fin de la ligne “default_kernelopts” du fichier /etc/grub2.cfg.

Vous devez ajouter : “ rd.driver.blacklist=nouveau modprobe.blacklist=nouveau “.

Vérifiez le status après votre changement :

$ sudo grep default_kernelopts /etc/grub2.cfg
set default_kernelopts="root=/dev/mapper/vg0-LVroot ro nofb quiet splash=quiet console=tty0 crashkernel=auto resume=/dev/mapper/vg0-LVswap rd.lvm.lv=vg0/LVroot rd.lvm.lv=vg0/LVswap biosdevname=0 console=ttyS1,115200n8  rd.driver.blacklist=nouveau modprobe.blacklist=nouveau "

Appliquez les changements :

$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Redémarrez :

$ sudo systemctl reboot


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

EN | FR | ES

Recherche