How to install and configure graphics drivers in Linux: NVIDIA is the well-known company all over the world regarding gaming cards. Sometimes it’s tough to configure manufacturer drivers for NVIDIA cards in Linux. Ubuntu uses the open source video driver Nouveau for NVIDIA graphics card. This driver needs support for 3D acceleration and will not work with the very latest video cards or technologies from NVIDIA. An alternative to Nouveau is the closed source unified NVIDIA drivers, that are produced by NVIDIA. This driver gives excellent 3D acceleration and video card support.
In case you are uninterested in compiling drivers and kernels then uses Xorg-edgers PPA to install latest drivers for NVIDIA. This PPA Xorg-edgers is up-to-date with others and allows old and latest drivers for the different type of NVIDIA cards, which suggests you can choose to install what’s best performing driver for your card.
In latest drivers, if you encounter any issue, you may directly submit bug reports to NVIDIA, to fix that issue in future releases. When you have a Nvidia graphics card on your system, then it’s recommended to install the official drivers offered by Nvidia. The proprietary drivers would utilize the correctly delivering full performance.These steps would work on Ubuntu and close derivatives like Kubuntu, Xubuntu, Lubuntu and also Linux Mint and Elementary OS.
Step to install and configure graphics drivers in Linux
Step 1. First of all, Find out your graphics card model. Use the lspci command to know the model of your graphic card.
Step 2. Now, Find out the right driver version for your graphics card
Go to the www.nvidia.com/Download/index.aspx. Fill all details about your graphics card and system and then click on Search. It should show you the correct driver version with a download link and further information. For the above GeForce 210 card. However, we will install the drivers from ppa to make things easier.
Step 3. Setup the Xorg-Edgers PPA, It provides the latest Nvidia drivers. Run the following commands to setup.
Step 4. Now, You can install the driver direct by installing a single package including “Nvidia” and the important version number ( 173, 304, 310, 313, 319, 331, 334 or 337) Or you can allow it from the “Additional Drivers” section.
Step 5. When you have synaptic package manager installed, then go to the Settings > Repositories > Additional Drivers tab and select the proper Nvidia driver, and click Apply changes.
If you are running Ubuntu Unity desktop, only launch the dash and search for “driver“. Then click on the application named “Additional Drivers“. It can start the same dialog box as shown above.
Go to “All Settings > Extra Drivers” and you want to view a list of all available Nvidia drivers able to be installed. Select the correct driver and click on Apply Changes.
Go to System Settings > System Administration > Driver Manager and choose the Nvidia driver there and click on to Apply.
After the installation, reboot the system. You should view an option known as “Nvidia X Server Settings” on your applications menu. From there you can also check the information about the graphics card and configure it.
Step 6. The final thing to do is verify that the Nvidia drivers are stored and running. Run the lspci command again and this time, the kernel driver should show Nvidia.
Verify the final line which tells “kernel driver in use: Nvidia“. This reveals that Nvidia drivers are actually in motion. Additionally, examine acceleration with the go info command.The OpenGL renderer string should be anything other than “MESA.” Then it indicates that the drivers are being used for acceleration.
Step 7. Nvidia would install a GUI tool known as “Nvidia X Server Settings” anywhere on the menu. It can be started from the command line using the command “Nvidia-settings.” This tool permits to set the resolution of the screen. It shows the different details about the graphics card, and also allows to the configure to various options.This tool permits to set the resolution of the screen.
Step 8. In case something goes wrong after the installation like you aren’t ready to boot Ubuntu, then you can remove the Nvidia drivers and then copy these commands.
Step 9. The Nvidia driver would blacklist nouveau itself. That can be verified by the verify the contents of Nvidia driver files in the modprobe.D directory.
Be aware that the records data “nvidia-331_hybrid.conf” or “nvidia-graphics-drivers.conf” have blacklisted nouveau. To examine details about the Nvidia driver module, use the instructions lsmod, modprobe, and modinfo. Be aware that it’s a “dkms” module which suggests, it’s loaded dynamically. Due to this the grub screen, the Ubuntu/Kubuntu splash screens would have a low decision since at the moment the Nvidia drivers aren’t in impact, and no matter resolution is on the market via the VESA extensions, are used.
Step 10. That’s it! Now you’re done.
Read next → How To Install Parrot Security OS
We hope you enjoy the article ‘How to install and configure graphics drivers in Linux.’ Stay tuned for more updates.