Install / Uninstall NVIDIA Driver 418.74 On Ubuntu 16.04 / 18.04

Share it:
Install / Uninstall NVIDIA Driver 418.74 On Ubuntu 16.04 / 18.04

This tutorial will help you to install the Latest stable version of NVIDIA Graphics driver 418.74 On Ubuntu 18.04 LTS and LinuxMint.

Nvidia Linux Display Driver is a proprietary, yet freely distributed OpenGL video driver that aims to offer support for Nvidia graphics cards on any Linux kernel-based operating system.

Nvidia Released new long lived graphics driver version 418.74 for Linux,FreeBSD and solaris servers with New GPU's with bux fixes and other improvements.

What's New in Nvidia 418.74

  • Updated nvidia-settings to allow continued interaction with other pages and help content while editing application profiles.
  • Added a new kernel module parameter, NVreg_RestrictProfilingToAdminUsers, to allow restricting the use of GPU performance counters to system administrators only.
  • Updated nvidia-installer for better compatibility with ncurses when exposes the ncurses reentrant ABI, such as on openSUSE Leap 15 and SUSE Linux Enterprise 15.

Installation steps

Step 1: Remove older version of NVIDIA if your graphic is supported
sudo apt-get purge nvidia*
Step 2: Reboot the system

Step 3: Download the Nvidia Driver 418.74
Step 4: Switch to command prompt and stop the running Graphics session

Press Ctrl+Alt+F1-F6 for switching to command prompt
sudo service lightdm stop
sudo service gdm stop
Step 4: Give execute permissions to the installer
sudo chmod 755
Step 5: Install the Nvidia 418.74 driver
sudo ./ --dkms
The last installation steps will be your X configuration file updation. Either accept that offer and edit your X configuration file manually or run nvidia-xconfig

After successful installation reboot the system.

Verify the Installation

After installation run the below command will report all your CUDA-capable devices

Uninstallation of Nvidia driver 418.74

To uninstall run the below command
sudo --uninstall

Common Errors and Solutions

ERROR: Unable to load the 'nvidia-drm' kernel module.

If you receive the above error, then your system is set to boot from UEFI but secure boot is turned ON in BIOS setting, Turn it OFF to resolve this issue.
Share it:

Post A Comment: