Install NVidia drivers in RHEL

NVidia drivers for GPUs (Video Cards) are proprietary software and, therefore, are like a thorn in the eye of the OpenSource/Linux community. Given the nature of said drivers, Linux distributions do not provide support for nVidia's drivers; however, the nouveau project is an open-source alternative to nVidia's proprietary drivers, though it's still very much in development and 3D support, while it's greatly improved in recent years, is lacking.

There are two ways to get the nVidia drivers installed onto a system running RedHat:
  • Download the binary package directly from nvidia and execute the installation procedure with
  • Install the Community Enterprise Linux Repository elrepo and install the kmod-nvidia package
    yum install kmod-nvidia

The second method is usually preferred as, similar to rpmfusion and Fedora,
  • they are preformated in rpm format 
  • they can be installed/updated/uninstalled with yum package manager
  • are optimized to work with Enteprise Linux 
  • the GPU drivers are still working after every kernel update with the help of kABI-tracking.

Before you reboot, make sure the
file is updated with the kernel parameters to disable nouveau and, optionally, apic. If not, make sure to append the following before running grub2-mkconfig -o /boot/grub2/grub.cfg
GRUB_CMDLINE_LINUX="...nouveau.modeset=0 rd.driver.blacklist=nouveau nox2apic"

If your computer is equipped with nVidia Optimus (Infamous!), make sure the nox2apic parameter is passed to the kernel and select the dedicated graphics card for the display output in the BIOS configration.

Popular posts from this blog

RHEL 7 and CentOS 7 syslog Rate Limit

Set Focus to Follow Mouse Cursor in GNOME 3

Centos 7 pulseaudio