Difference between revisions of "NVIDIA GPU configuration"

From Colettapedia
Jump to navigation Jump to search
Line 1: Line 1:
==Download GPU and CUDA drivers==
+
==Steps==
* Versions must match
+
# Download GPU and CUDA drivers
* [https://www.nvidia.com/Download/index.aspx GPU driver]
+
#* Versions must match
* [https://developer.nvidia.com/cuda-downloads Cuda downloads]
+
#* [https://www.nvidia.com/Download/index.aspx GPU driver]
 
+
#* [https://developer.nvidia.com/cuda-downloads Cuda downloads]
==Disable Nouveau==
+
# Disable Nouveau
* modprobe configuration files
+
#* modprobe configuration files
* Installer creates these files:
+
#* Installer creates these files:
** /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf
+
#** /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf
** /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
+
#** /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
 
+
# Kernel source Tree
==Kernel source Tree==
+
#* <code>yum install kernel-devel</code> - install kernel source files on CentOS 7
* <code>yum install kernel-devel</code> - install kernel source files on CentOS 7
+
# (Unnecessary) Install pkg-config/X SDK
 
+
# libglvnd
==pkg-config/X SDK==
+
#* sudo yum install libglvnd-devel
<pre>
+
# Install NVIDIA docker
  WARNING: nvidia-installer was forced to guess the X library path '/usr/lib64' and X
+
#* [https://github.com/NVIDIA/nvidia-docker nvidia-docker]
module path '/usr/lib64/xorg/modules'; these paths were not queryable from
 
the system.  If X fails to find the NVIDIA X driver module, please install
 
the `pkg-config` utility and the X.Org SDK/development package for your
 
distribution and reinstall the driver.
 
</pre>
 
 
 
==libglvnd==
 
* sudo yum install libglvnd-devel
 
 
 
 
 
==Install NVIDIA docker==
 
* [https://github.com/NVIDIA/nvidia-docker nvidia-docker]
 

Revision as of 19:15, 30 October 2019

Steps

  1. Download GPU and CUDA drivers
  2. Disable Nouveau
    • modprobe configuration files
    • Installer creates these files:
      • /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf
      • /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
  3. Kernel source Tree
    • yum install kernel-devel - install kernel source files on CentOS 7
  4. (Unnecessary) Install pkg-config/X SDK
  5. libglvnd
    • sudo yum install libglvnd-devel
  6. Install NVIDIA docker