do no unload nouveau driver

This commit is contained in:
Michael Yang 2023-09-26 09:36:54 -07:00
parent 7774ed4ae6
commit 9fc3bba9cf

View file

@ -227,12 +227,12 @@ if ! lsmod | grep -q nvidia; then
fi fi
if lsmod | grep -q nouveau; then if lsmod | grep -q nouveau; then
status "Removing nouveau..." status 'Reboot to complete NVIDIA CUDA driver install.'
$SUDO rmmod nouveau exit 0
fi fi
$SUDO modprobe nvidia $SUDO modprobe nvidia
fi fi
status "NVIDIA GPU installed." status "NVIDIA CUDA drivers installed."