Laboratorium Komputerowe Progmar
Marcin Załęczny

We are using cookies in the page. If you use the page you agree for the cookies.      Close

NVIDIA GTX GeForce drivers installation (Ubuntu 16.04)

Standard way for installing NVIDIA GTX GeForce drivers failed for me. I tried to install the latest ones (nvidia-375 and nvidia-378) and the older either. But they did not work. That is why I tried to install official drivers downloaded from NVIDIA website. The installation went seamlessly and finished successfull. And what even more important they work great.
Below there is a step by step instruction how to make NVIDIA graphic cards work fine with full 3D acceleration thanks to producer's native drivers:

  1. Make sure that you have turned off Secure Boot option in your BIOS.
  2. After system restart check what graphic card model you have installed: sudo lshw -numeric -C display or sudo lspci -vnn | grep VGA
  3. If you have any drivers installed from Ubuntu repositories, then uninstall them: sudo apt purge nvidia*
    sudo apt autoremove
  4. Next navigate your browser to: http://www.nvidia.com/Download/index.aspx?lang=en-us and there select following options: Product Type: GeForce
    Product Series: your graphic card series (ex. GeForce 960 Series)
    Product: your graphic card name (ex. GeForce GTX 960)
    Operating system: Show All Operating Systems and next select: Linux64-bit
    Click Search button.
  5. The latest drivers version (at the time this article is writing) is: 410.93.
  6. Reboot your system and wait for graphic environment to load successfully. Next press CTRL+ALT+F1 to switch to the virtual console. Log in to the system. The driver's installator requires the X graphic environment to be closed. So issue following command:
    sudo systemctl stop lightdm Next go to the directory where you downloaded driver installator file (*.run) and enter:
    chmod 755 NVIDIA-Linux-x86_64-410.93.run
    sudo ./NVIDIA-Linux-x86_64-410.93.run
  7. Walk through all installator's steps and reboot your system. From now you can enjoy with 3D acceleration and real playing on Ubuntu.

How to uninstall default Nouveau graphic card driver (advise against to do that): sudo apt-get --purge remove xserver-xorg-video-nouveau