Install Latest Nvidia Driver 340.46 via PPA in Ubuntu

Last updated: May 8, 2016

Nvidia 340.46 PPA

The latest NVIDIA Linux driver has reached 340.46 with a few bug fixes. Here’s how to easily install it in Ubuntu 14.10 or Ubuntu 14.04 via PPA repository.

What’s new in NVIDIA 340.46:

  • Fixed an OpenGL issue that could cause glReadPixels() operations to be improperly clipped when resizing composited application windows, potentially leading to momentary X freezes.

  • Fixed a bug that could prevent the GLSL compiler from correctly evaluating some expressions when compiling shaders.

  • Fixed a bug that could cause nvidia-installer to crash while attempting to run nvidia-xconfig on systems where that utility is missing.

  • Added option UseSysmemPixmapAccel to control the use of GPU acceleration for X drawing operations on pixmaps allocated in system memory.

Release note and supported GPUs are available in the Nvidia page.

Install Nvidia 340.46 via PPA:

Besides using the official installer, we can easily install the driver from a Launchpad PPA.

To add the PPA & install Nvidia 340.46, press Ctrl+Alt+T to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt-get update

sudo apt-get install nvidia-340

When done, restart your computer.

If for some reason the driver does not work properly for your machine, remove it via:

sudo apt-get remove nvidia-340

sudo apt-get autoremove

sudo add-apt-repository -r ppa:graphics-drivers/ppa

Press Ctrl+Alt+F2 to get into console (or boot into recovery mode) if the new driver mess up the graphical session.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

5 responses to Install Latest Nvidia Driver 340.46 via PPA in Ubuntu

  1. How to use this driver with prime-identicator from webup8 PPA?

    • Not sure if the indicator works for this driver. If you want to give a try, first install this driver as well as the packages nvidia-prime, nvidia-settings, python-appindicator, then reboot and install the indicator if everything’s OK and finally log out and back in.

    • If you install prime indicator with the ppa, it will uninstall the 340 drivers and install the 331 driver. I haven’t tried any other method yet.

  2. i have prime nvidia with indicator work great with my intel hd 3000 and nvidia 540m i want to update my nvidia to Nvidia 340.46 is there a save way to make these without any trouble.

    Thank you

  3. Hi Ji m

    I have VAIO F136G with Nvidia GT425M Graphic card.
    after installing the NVIDIA 340.46 Driver I cannot set my Screen Brightness via Function key nor via Ubuntu Built-in tool.
    Please help.
    What should I do??