E. Changing NVIDIA Driver Branches

To switch driver branches, you must first remove the existing branch before installing the new branch. Currently, removing the nvidia-driver module clears the GRUB_CMDLINE_LINUX setting and this can result in the server failing to boot. Be sure to note the current GRUB_CMDLINE_LINUX setting and restore it after switching driver branches as explained in this section.

  1. Note the existing GRUB_CMDLINE_LINUX setting in the file etc/default/grub.
    Example:
    GRUB_CMDLINE_LINUX=”crashkernel=auto 
      rd.md.uuid=09a9380c:87edd4b6:8f5d9bbc:45e834c7 rhgb quiet
      rd.driver.blacklist=nouveau”
    Note: The "rd.driver.blacklist=nouveau" parameter was added when installing the driver and should not be included in the restoration.
  2. Remove and clear the existing stream.
    $ sudo dnf module remove --all nvidia-driver 
    $ sudo dnf module reset nvidia-driver
  3. Follow the instructions in step 5 of the section Installing Required Components to install the new driver branch.
  4. If the nvidia-peer-memory-dkms driver is installed, it must be reinstalled to match the new driver branch.
    $ sudo dnf reinstall -y nvidia-peer-memory-dkms
  5. In the file /etc/default/grub, remove any extra instances of GRUB_CMDLINE_LINUX and manually edit the file to restore the original setting (except for the blacklist parameter).

    Example:

    GRUB_CMDLINE_LINUX="crashkernel=auto rd.md.uuid=09a9380c:87edd4b6:8f5d9bbc:45e834c7 rhgb quiet"
  6. Reboot the system.
    sudo reboot