Search This Blog

Friday, September 20, 2019

nVidia Driver Installation on RHEL-7.2 for Dell Precision Tower 5810


nVidia Driver Installation on RHEL-7.2 or 7.x versions for Dell Precision Tower 5810

1. Make sure that the system you are installing is Dell Precision Tower 5810 and the installed operating system is RHEL-7.x

2. Make sure that you are having the nVidia Driver for RHEL-7.2 and Dell Precision Tower 5810. The name of the driver is "NVIDIA-Linux-x86_64-367.44.run" and it's size is approx "75032664 bytes".

 https://www.nvidia.com/download/driverResults.aspx/106780/en-us

3. All the below commands have to be executed as "root" user.

Step-1
# cp /etc/default/grub /etc/default/grub.bkp
# cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bkp

Step-2
Edit the file "/etc/default/grub" and look for line that mentions "GRUB_CMDLINE_LINUX" and insert "rd.driver.blacklist=nouveau nouveau.modeset=0" parameters as shown in below example.

Example:
# vi /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau nouveau.modeset=0"
GRUB_DISABLE_RECOVERY="true"

Step-3
# grub2-mkconfig -o /boot/grub2/grub.cfg

Step-4
# reboot

Step-5
# init 3

Step-6
# cd /root/Downloads
# ./NVIDIA-Linux-x86_64-367.44.run

Accept the license and continue installation.

Step-7
# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
# dracut /boot/initramfs-$(uname -r).img $(uname -r)
# yum remove xorg-x11-drivers xorg-x11-drv-nouveau -y

Step-8
# reboot

Step-9
After the system has booted, run the below commands to verify the nVidia driver installation.
# nvidia-smi

Example:
# nvidia-smi
Fri Sep 20 13:30:14 2019      
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.44                 Driver Version: 367.44                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro K420         Off  | 0000:02:00.0      On |                  N/A |
| 25%   37C    P8    N/A /  N/A |    151MiB /  1997MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                              
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1588    G   /usr/bin/Xorg                                   97MiB |
|    0      2126    G   /usr/bin/gnome-shell                            52MiB |
+-----------------------------------------------------------------------------+

# nvidia-settings
 
   copyright@2019 By Ayaz_Techy (Contact on blogofayaz@gmail.com)

No comments:

Post a Comment

Certified Ethical Hacker v12 Course

  CEH v12 - Certified Ethical Hacker - Part 1 https://mega.nz/folder/zQJ2VQAC#1ecvG2NKK08-TVG3URLFIw CEH v12 - Certified Ethical Hacker - Pa...