Nvidia 343.22 Released, How to Install it in Ubuntu 14.04/12.04

September 19, 2014 — 13 Comments

Nvidia 343.22 ubuntu 14.04

Nvidia has just announced a new version of graphics driver 343.22 for Linux with new GPUs support and various fixes.

According to the release highlights, Nvidia 343.22 added support for GeForce GTX 970 and GTX 980, removed support for G8x, G9x, and GT2xx GPUs, and motherboard chipsets based on them. Ongoing support for new Linux kernels and X servers, as well as fixes for critical bugs, will be included in 340.* legacy releases through the end of 2019.

The new drive contains various fixes and/or new features:

  • Fixed a bug that prevented the “sync to vblank” setting from being honored for EGL applications.
  • Fixed a bug that could cause some OpenGL programs to encounter out of memory during a mode switch.
  • Fixed a bug that prevented the NVIDIA OpenGL driver from honoring the __GL_SHADER_DISK_CACHE_PATH environment variable.
  • Fixed a bug that caused disabled displays to be implicitly included in the target selection for some queries and assignments on the nvidia-settings command line interface, in the absence of any explicit target selection.
  • Added a new attribute to the NV-CONTROL API to query the current utilization of the video decode engine.
  • Fixed a bug where the Exchange Stereo Eyes setting in nvidia-settings didn’t work in certain stereo configurations.
  • Worked around a Unigine Heaven 3.0 shader bug which could cause corruption when tessellation is enabled by implementing an application profile that uses the “GLIgnoreGLSLExtReqs” setting.  See the documentation for the __GL_IGNORE_GLSL_EXT_REQS environment variable for more details.
  • Fixed a memory leak when destroying EGL surfaces.
  • Added support for multiple simultaneous EGL displays.
  • Fixed a bug that could cause nvidia-installer to unsuccessfully attempt to delete the directory containing precompiled kernel module interfaces, on packages prepared with –add-this-kernel.
  • Updated nvidia-installer to log uninstallation to a separate file from the installation log, and to attempt uninstalling previous driver installations using the installer program from the previous installation, when available.

Install or Upgrade to Nvidia 343.22 in Ubuntu:

NOTE: Ubuntu provides “nvidia-current” driver, available in Software Center, which may interact better with your distribution’s framework, and you may want to use this rather than NVIDIA’s official package.

There are two ways installing this driver in your Ubuntu system, using the official .run installer or a third-party PPA repository.

To install Nvidia 343.22 via official installer:

1. Press Ctrl+Alt+T to open terminal, run command below to download the driver:

For 32-bit system, run:

cd ~/Downloads/ && wget http://us.download.nvidia.com/XFree86/Linux-x86/343.22/NVIDIA-Linux-x86-343.22.run

For 64-bit system, run:

cd ~/Downloads/ && wget http://us.download.nvidia.com/XFree86/Linux-x86_64/343.22/NVIDIA-Linux-x86_64-343.22.run


2. , run command to remove the previous driver and install latest update-dev package:

sudo apt-get purge nvidia*; sudo apt-get install nvidia-331-updates-dev

When done, restart your computer.

3. When back, press Ctrl+Alt+F1 (or F2~F6) to switch to command console and log in with your user name and password.
There will no visual feedback when typing a password, just type in mind and hit enter.

4. When you’re logged into command console, stop the graphics session by running the command below:

sudo service lightdm stop

For Ubuntu Gnome edition and Linux Mint, you may replace ligthdm with gdm or mdm

5. After the graphics session closed, you can now starts the official Nvidia installer, by running below commands:

chmod +x ~/Downloads/NVIDIA-Linux-*-343.22.run && sudo sh ~/Downloads/NVIDIA-Linux-*-343.22.run

Follow the onscreen prompt and done!

6. (Optional) To uninstall this driver, run below command in console:

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

To install the driver from PPA repository (easier way):

First check out the PPA page to see if the packages are ready: xorg-edgers PPA. Check out the package version of “nvidia-graphics-drivers-343″.

Once the driver is made into the PPA, you can run below commands one by one to install it in Ubuntu 14.04 or Ubuntu 14.10:

sudo add-apt-repository ppa:xorg-edgers/ppa

sudo apt-get update

sudo apt-get install nvidia-343

That’s it. Enjoy!

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

13 responses to Nvidia 343.22 Released, How to Install it in Ubuntu 14.04/12.04

  1. Fixes sync to vblank in EGL? I was having *exactly* that problem. Awesome.

  2. Upgraded in Ubuntu 14.04. However my laptop turned 4x/5x slower in boot than previous version. I use 24GB RAM , CPU I7, GeForce GTX 860M, and a 500GB

  3. How to install this during initial installation? I think the open source driver doesn’t work with my NVidia GTX 780M so I just get the black screen on every distro I’ve tried.

    • You can install this after Ubuntu installation. You should be able to switch to command console (Ctrl+Alt+F2) after Ubuntu boots into the blank screen.

      Log in with your user and password. To make things easy, install the driver from PPA via the commands in the post.

      If you can’t connect to internet, use below command to setup wired network.

      sudo dhclient eth0
  4. Dont work linux mint 17 on asus x45l, 720m

    • It worked with my Linux Mint 17 64 bit, however
      $sudo apt-get update
      makes problems now and rewrites the drivers, so I have to repeat it.

  5. was doing both method of install on ubuntu 14.10 with gtx 970 and after install all ok & reboot graphics never come back, only get blank screen and need ctrl+alt+f1 for text login.

    any idea??

  6. I’m trying to install this driver: NVIDIA-Linux-x86-331.38.run which is supposed to be for GTX 450 Gforce card. First of all I can’t stop the x server via command: sudo service mdm stop. Error: permission denied. However, I’m the owner on my pc with no network on it and no Internet to it. I can login via sudo and the command is found yet still throws the permission error.
    Then when I try to just install the driver via command: sudo sh ./path and filename it gives this error: can’t open NVIDIA-Linux-x86-331.38.run no more details to it.
    Any idea how to install this driver on linux mint 17 ubuntu?

  7. I’m experienced with Linux.
    My current computer has video card NVidia GeForce GTX 970.
    It once worked with Ubuntu 14.04, but after some upgrades, something broke. I spent several hours trying to re-install, but I couldn’t. At present (February 18, 2015) I still see no solution to the problem. If I install the video driver following instructions, my screen goes to non responsive background. And worst of all, I can’t remove the driver and go back to responsive working system.

    The linux people should care more about providing the community only stable packages.

  8. Tried this, I boot into a blank desktop. I’m pretty new to linux, please help!

    Ubuntu 14.10, i7, ASRock Z97m, GTX970

    • Are you working on a desktop? If so, you can go to your BIOS menu and change your initial graphics setting to use integrated graphics. Plug your monitor cable into the socket on the mother board (not the one on GTX 970) and you should get a normal screen. You can then mess with the NVIDIA drive after installing linux.
      I am a noob to linux and have a custom pc with a GTX970. It takes me days to figure out how to deal with new hardware.

  9. I successfully installed nvidia-352.79 from Proprietary GPU Drivers PPA.

    Unfortunately according to nvidia-settings the active driver is still version 304.13.

    According to the package management system nvidia-352 is not installed.

    How can I get the new driver working?


Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>