| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Wrapper scripts to install proprietary NVIDIA drivers on GNU/Linux systems.
Michael McMahon
The process for installing proprietary NVIDIA drivers is unnecessarily complicated across different GNU/Linux operating systems. These scripts make complex installs easier.
Format: nvidia (Version) (Video Output)
Variations:
Compatible operating systems:
By using these scripts, you agree to all EULAs presented by NVIDIA.
Prerequisites for this script:
Disable secure boot.
On Supermicro boards, set the JPG1 pin to the 1-2 setting to enable the BIOS to switch between Video Output modes. In BIOS, set Advanced > PCIe/PCI/PnP Configuration > VGA Priority to either Offboard for GPU video output or Onboard for motherboard video output. Cuda testing shows that Offboard improves performance slightly with GNU/Linux drivers even if the only GUI is a command shell. The only time that Onboard should be used is when the machine will be controlled through IPMI. This exception to the rule can be avoided by remotely controlling the system through SSH.
Install the system (with Compatibility Libraries and Development Tools or build-essential if applicable).
Update all software.
su yum update -y
Fedora dnf -y update
Debian based systems
sudo apt update sudo apt upgrade -y sudo apt-get dist-upgrade -y
Install Compatibility Libraries and Development Tools or build-essential
yum groupinstall -y Development\ Tools yum groupinstall -y Compatibility\ Libraries
yum groups install -y Development\ Tools yum groups install -y Compatibility\ Libraries
sudo apt-get install -y ledmon build-essential
Boot into the correct runlevel with nomodeset rdblacklist nouveau.
To run these scripts:
If nvidia-smi fails to load or all of the video cards are not listed, the installer may have ran into a problem. Check the /var/log/nvidia-installer.log file for help and more details. If you cannot solve the problem, contact NVIDIA support.
Warnings about missing 32 bit libraries are OK on 64 bit systems.
If secure boot is enabled, you may see "ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against hte wrong or improperly configured kernel sources."
These scripts will need to be reinstalled with each kernel update if DKMS is not used.
If gcc is missing, follow the prerequisites section and install Development Tools or build-essential metapackages.
If kernel headers are missing, install the kernel headers for your kernel.
Debian based systems: sudo apt install -y linux-headers-$(uname -r)
Red Hat based systems: yum install -y kernel-devel
Some cards will show up twice in nvidia-smi.
If everything seems to be installing correctly and the card does not work, try using a different driver from http://www.nvidia.com/object/unix.html
| Back | FazBrowse Home | New Git URL |