Thursday, 16 June 2016

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

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


  • Added support for the following GPUs:
      GeForce GTX 1080 GeForce GTX 1070
  • Added support for VDPAU Feature Set H to the NVIDIA VDPAU driver. GPUs with VDPAU Feature Set H are capable of hardware-accelerated decoding of 8192x8192 (8k) H.265/HEVC video streams.
  • Fixed a bug that caused the X server to sometimes skip displaying Vulkan frames when the Composite extension is enabled.
  • Fixed a bug that would cause OpenGL applications to crash when creating a context on one X display connection, then making it current with no associated drawable on another X display connection.  This fixes a crash when starting some versions of Matlab.
  • Fixed OpenGL presentation to SDI through the GLX_NV_video_out and GLX_NV_present_video extensions, which was broken by the introduction of the nvidia-modeset kernel module in 358.09.
  • Fixed a bug that caused an incorrect offset to be applied when using the full composition pipeline on a display whose image has both a rotation and a ViewportOut offset applied.


Remove currently installed graphics drivers.

sudo apt-get purge nvidia*
Download the appropriate driver from the source. Here are the download links:

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
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 367.27 driver if it fails to work properly.

To uninstall,

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


  1. If i end the graphic session on Linux Mint i can't type any command my screen goes black. How can i write the chmod +x ~/Downloads/NVIDIA-Linux-* command?

    1. Control+Alt+F1
      enter username
      enter password
      follow the directions

  2. This is the usual Ubuntu help, they don't provide basic info so you can complete the task because they assume you already know that basic info, which most people do not.

    I believe using cntl+alt+f1 will bring the terminal up and allow you to finish typing the commands.

  3. Hello Mandar,

    It is a very detailed tutorial.

    However, I encounter one problem which is my Ubuntu gets stuck in logon loop.

    I am 100% sure it is caused by Nvidia driver,

    because if I removed this 367.27 version and use "sudo apt-get install nvidia-current-updates" to get the older version,

    the logon loop issue is resolved.

    This is my Ubuntu info:

    Ubuntu 4.8.4-2ubuntu1~14.04.3

    Have you encountered this before?

    Thank you for precious time on my question.

  4. The login loop is caused by an error in the X server config due to the wonderful nvidia driver install :).

    I'm still looking for a solution for this.

    to see errors, from console without an X server running run: sudo startx

  5. sudo service gdm stop gives me a black screen :( should i switch to lightdm from gnome?