Introduction to Linux - A Hands on Guide | Linux Bible | Linux From Scratch | A Newbie's Getting Started Guide to Linux | Linux Command Line Cheat Sheet | More Linux eBooks

Friday, 14 November 2014

How To : Install NVIDIA 340.58 Graphics Drivers in Ubuntu/Linux Mint Systems

    The latest version of Nvidia Graphics driver for Linux which is Nvidia 340.58 has been released and is available for download. It comes with plenty of fixes and changes. This article will guide you to install Nvidia 340.58 in Ubuntu and Linux Mint systems.


  • Added support for the following GPUs:
    • GeForce GT820M
      GeForce GTX 760A
      GeForce GTX 850A
      GeForce 810A
      GeForce 820A
      GeForce 840A
  • Fixed a bug that could cause VT-switching to fail following a suspend, resume, and driver reload sequence.
  • Fixed a bug that caused incorrect colors to be displayed on X screens running at depth 8 on some GPUs.
  • Fixed a bug that prevented GPUs from being correctly recognized in MetaMode strings when identified by UUID.
  • Implemented support for disabling indirect GLX context creation using the -iglx option available on X.Org server release 1.16 and newer.  Note that future X.Org server releases may make the -iglx option the default. To re-enable support for indirect GLX on such servers, use the +iglx option.
  • Added the "AllowIndirectGLXProtocol" X config option. This option can be used to disallow use of GLX protocol. See "Appendix B. X Config Options" in the README for more details.
More details in the Release Notes.


Remove currently installed graphics drivers.

sudo apt-get purge nvidia*
End the graphic session with the appropriate command from the list of commands given below:

# For Ubuntu LightDM [DEFAULT]
sudo service lightdm stop

#For Gnome GDM
sudo service gdm stop

#For Linux Mint MDM
sudo service mdm stop
Download the appropriate driver from the source. Here are the download links:
Make the installer file executable.

chmod +x ~/Downloads/NVIDIA-Linux-*
Run the executable installer file.

sudo sh ~/Downloads/NVIDIA-Linux-*
This will start the installation process. Follow the on-screen instructions to complete the process.

Note : Do not delete the installer file. It will be needed while removing/uninstalling the Nvidia 340.58 driver if it fails to work properly.

To uninstall,

sudo sh ~/Downloads/NVIDIA-Linux-* --uninstall

1 comment:

  1. once I stop lightdm how do I start it again right now my screen is just turning black and I'm not to install the driver