Nvidia 340.24 Add Support For G-SYNC Monitors

Last updated: July 12, 2014

Nvidia ubuntu 14.04

Nvidia has just announced the release of driver 340.24 for Linux with numerous improvements and fixes. One of the exciting news is the initial support for G-SYNC monitors.

Nvidia 340.24 was released on July 8th, 2014 with following changes:

  • Fixed a bug that prevented 3D Vision stereo and ultra low motion blur modes from working on G-SYNC capable monitors in some cases.
  • Fixed a bug that caused the “Allow G-SYNC” checkbox to be displayed in nvidia-settings even if the GPUs in the system are not capable of G-SYNC.
  • Fixed a kernel crash when running some applications with IOMMU functionality enabled.
  • Fixed a floating point exception in the OpenGL driver when running “Risk of Rain” under Wine.
  • Made various improvements and corrections to the information reported to GL applications via the KHR_debug and ARB_debug_output extensions.
  • Fixed a bug that caused GLX applications which simultaneously create drawables on multiple X servers to crash when swapping buffers.
  • Updated nvidia-settings to report all valid names for each target when querying target types, e.g. `nvidia-settings -q gpus`.
  • Added support for controlling the availability of Fast Approximate Antialiasing (FXAA) on a per-application basis via the new __GL_ALLOW_FXAA_USAGE environment variable and the corresponding GLAllowFXAAUsage application profile key. See the README for details.
  • Fixed a bug where indirect rendering could become corrupted on system configurations that disallow writing to executable memory.
  • Updated the nvidia-settings Makefiles to allow nvidia-settings to be dynamically linked against the host system’s libjansson. This option can be enabled by setting the NV_USE_BUNDLED_LIBJANSSON Makefile variable to 0.Please note that nvidia-settings requires libjansson version 2.2 or later.
  • Removed the runlevel check from nvidia-installer: the installation problems formerly associated with runlevel 1 no longer apply.
  • Added initial support for G-SYNC monitors.Additional details and system requirements can be found at:http://www.geforce.com/hardware/technology/g-sync
  • Improved support for running the NVIDIA driver in configurations where writing to executable memory is disallowed.Driver optimizations that require writing to executable memory can be forcefully disabled using the new __GL_WRITE_TEXT_SECTION environment variable.See the README for more details.
  • Fixed an X driver bug that caused gamma ramp updates of the green channel at depth 15, on some recent GPUs, to be ignored.
  • Fixed a regression, introduced in the 340.17 public beta release, that caused the NVIDIA X driver to access freed memory when exiting a GLX application that used either of the GLX_NV_video_out or GLX_NV_present_video extensions.
  •  
    Install Nvidia 340.24 in Ubuntu:

    IMPORTANT NOTE: If you’re just looking for a working drive for your Nvidia card in Ubuntu Linux, please search for and install nvidia-current in Ubuntu Software Center.

    Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, do:

    1. Remove the previous installed proprietary driver and install the latest updates-dev package. Then restart your computer

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

    2. Download the driver:

    32 bit Linux | 64 bit Linux | 32 bit ARM

    Check the release note for the supported GPUs.

    3. Press Ctrl+Alt+F1 (~ F6) to switch to command console and log in.

    4. Stop the graphic session by running:

    sudo service lightdm stop

    Replace lightdm with gdm or mdm if you’re using Gnome display manager or Linux Mint.

    5. Now give executable permission and run the downloaded package:

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

    Follow the onscreen prompt and you’re done.

    (Optional) If for some reason the new driver does not work properly, remove it via:

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

    For easier way, wait the driver to be built into xorg edger PPA. By then, you can install it via 3 commands:

    sudo add-apt-repository ppa:xorg-edgers/ppa
    
    sudo apt-get update
    
    sudo apt-get install nvidia-340

    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 [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

    2 responses to Nvidia 340.24 Add Support For G-SYNC Monitors

    1. Hi Ji,

      Just wanted to say thanks for the blog, I have used info from here several times since finding it. I installed the latest nvidia driver with your help.

      One thing though in your code above, for adding the edgers ppa, the last line didn’t work for me. After some searching around as to why I couldn’t install the driver from the ppa, it kept saying it wasn’t found, I got the right name. It should read like this

      sudo add-apt-repository ppa:xorg-edgers/ppa
      sudo apt-get update
      sudo apt-get install nvidia-340

      Thanks again for the very handy blog!