From f575ca506fe347284a5f18b5879b5f27cec63267 Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Fri, 11 Oct 2024 14:27:33 +0200 Subject: [PATCH] Set nvidia driver parameters (#89) --- linux/installers/nvidia-driver.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/linux/installers/nvidia-driver.sh b/linux/installers/nvidia-driver.sh index 384975d..6066354 100755 --- a/linux/installers/nvidia-driver.sh +++ b/linux/installers/nvidia-driver.sh @@ -21,3 +21,10 @@ sudo apt-get update sudo apt-get -y install "nvidia-driver-${NV_DRIVER_VERSION}-server-open" sudo dpkg --purge "$(dpkg -f "${KEYRING}" Package)" + +# Set nvidia kernel module params +sudo sh -c "cat < /etc/modprobe.d/nvidia.conf +options nvidia NVreg_NvLinkDisable=1 +options nvidia NVreg_OpenRmEnableUnsupportedGpus=1 +EOF" +sudo update-initramfs -u