Merge pull request from jmorganca/mxyng/install.sh

do not unload nouveau driver
This commit is contained in:
Michael Yang 2023-09-26 09:53:05 -07:00 committed by GitHub
commit c577721a43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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