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



Wednesday, 17 December 2014

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

    The latest version of Nvidia Graphics driver for Linux which is Nvidia 340.65 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.65 in Ubuntu and Linux Mint systems.


Fixes

  • Added support for X.Org xserver ABI 19 (xorg-server 1.17).
  • Improved compatibility with recent Linux kernels.
  • Fixed a bug that prevented internal 4K panels on some laptops from being driven at a sufficient bandwidth to support their native resolutions.
  • Fixed a regression that prevented the NVIDIA kernel module from loading in some virtualized environments such as Amazon Web Services.
  • Fixed a regression that caused displays to be detected incorrectly on some notebook systems.
  • Fixed a bug that could cause X to freeze when using Base Mosaic.
  • Fixed a regression that prevented the NVIDIA X driver from recognizing Base Mosaic layouts generated by the nvidia-settings control panel.
More details in the Release Notes.

Installation

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-*-340.65.run
Run the executable installer file.

sudo sh ~/Downloads/NVIDIA-Linux-*-340.65.run
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.65 driver if it fails to work properly.

To uninstall,

sudo sh ~/Downloads/NVIDIA-Linux-*-340.65.run --uninstall

3 comments:

  1. I got the following error.
    I'm using linux mint 17.1. I have nvidia card 840m.

    $ cat /var/log/nvidia-installer.log
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Dec 26 09:53:10 2014
    installer version: 340.65

    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

    nvidia-installer command line:
    ./nvidia-installer

    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 340.65.
    -> Running distribution scripts
    executing: '/usr/lib/nvidia/pre-install'...
    -> done.
    -> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Abort installation)
    ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

    ReplyDelete
    Replies
    1. The pre-install error means nothing, just continue. I am running Linux mint 17.1 and it worked great for me.

      Delete
    2. The pre install error means nothing, just continue with the installation. I am running Linux mint 17.1 and it worked great for me. Thank you yourownlinux.com for helping me!

      Delete