Skip to content

Commit

Permalink
Set nvidia driver parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
  • Loading branch information
jjacobelli committed Oct 11, 2024
1 parent 8aad5c3 commit 75928e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions linux/installers/nvidia-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF > /etc/modprobe.d/nvidia.conf
options nvidia NVreg_NvLinkDisable=1
options nvidia NVreg_OpenRmEnableUnsupportedGpus=1
EOF"
sudo update-initramfs -u

0 comments on commit 75928e2

Please sign in to comment.