How to install and configure graphics drivers in Linux

Update - 2017.04.17

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.


Read also:

  1. How To Install Parrot Security OS
  2. How to Turn our Windows 10 PC into Wifi Hotspot Without Any Tool

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 1First of all, Find out your graphics card model. Use the lspci command to know the model of your graphic card.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 3e2651f986092b3a67847501f035a355 1

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 3Setup the Xorg-Edgers PPA, It provides the latest Nvidia drivers. Run the following commands to setup.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux d5ccb04787e46ea0b735787ef1fff11e 1

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.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 91033f109729e8d730fe97fadd6106be 3

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.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 1c1fdb90a199095187fb3ee1ccf7b9fe 3

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 0b235a7c0ac9e3d1299ea93fba7d168f 2

Ubuntu

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.

Xubuntu

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.

Kubuntu

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 6The 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.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 3ffec053dde0e483dd4aa79a8d6b4e41 1

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 7Nvidia 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.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 2a5003c557b9238a67b1a42f002ef8b3 1

Step 8In 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.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 746f73ec212e74590bac5f28c82c189c 1

Step 9The Nvidia driver would blacklist nouveau itself. That can be verified by the verify the contents of Nvidia driver files in the modprobe.D directory.

install and configure graphics drivers in Linux How to install and configure graphics drivers in Linux 91384a746d4115b3db08a0269bba9b8c 1

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.

If you have any opinion or need any support from us feel free to Comment below. Alternate use our Contact FormFor a regular updates, Please be sure to follow us»

| Like us on Facebook 

| Follow us on Twitter 

| Follow us on Google+

Your presence means a lot towards Compsmag success.

-Popular Related Post by Google-
This work is licensed under a Creative Commons Attribution 4.0 International License.
Compare items
  • Total (0)
Compare
0

Email Newsletters

Subscribe to receive inspiration, ideas, and news in your inbox.

Join our community of 50,389 smart people who get our weekly newsletter

“We hate spam as much as you do. We will NEVER sell, rent or share your email address."