Archives For November 30, 1999

Nvidia Linux driver

NVIDIA announced a new release for the 460 Linux driver series today.

The new NVIDIA 460.56 driver added GeForce RTX 3060 support. The RTX 3060 features 5,888 CUDA cores, 1,777MHz GPU boost clock, 12 GB of GDDR6 video memory, and 170W TGP.

Besides the new GPU support, the 460.56 driver also fixed

  • a bug with indexed ray payloads in Vulkan,
  • a bug where calls to vkCreateDevice could fail on Ampere GPUs when ray tracing extensions were enabled and the application was running within the Steam Linux Runtime,
  • fixed a regression that could cause display corruption when using a scaled resolution after resuming from power management suspend.

How to Install NVIDIA 460.56 in Ubuntu:

Ubuntu now builds the latest NVIDIA drivers and pushes them via its own security & updates repositories. It however take time to publish the new packages.

You can just wait or use this well trusted Ubuntu PPA. Finally launch Additional Drivers utility to install & apply the new NVIDIA driver:

If you can’t wait, go to NVIDIA website and download the .run installer package (not recommended for beginners):

NVIDIA Linux driver 375.39 and 378.13, the latest long-lived and short-lived branch versions, were both released yesterday.

Both drivers add support Quadro GP100, P4000, P2000, P1000, P600. P400, M1200, M2200 GPUs support. NVIDIA 378.13 also supports Quadro P3000.

Besides adding new GPUs support, Nvidia 375.39 only brings fixes to hot-plugging displays and resuming from suspend issues.

Nvidia 378.13 adds support for viewing configured PRIME displays in nvidia-settings, support for X.Org xserver ABI 23, and various other changes and fixes. See HERE for details.

Download & Install Nvidia 375.39 / 378.13:

Besides using the official installers from the NVIDIA website, the “Graphics Driver” team has made the new releases into PPA, available for Ubuntu 17.04, Ubuntu 16.04, Ubuntu 16.10.

1. To add the PPA, open terminal from app launcher or via Ctrl+Alt+T key and run command:

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

2. Then update your system package index via command:

sudo apt update

3. Both drivers will finally available for install in Additional Drivers utility.

Select the one you want to install and click Apply Changes button will automatically download and install the driver into your system. Restart your computer once done.

Nvidia has recently announced the Linux driver 367.35 with GeForce GTX 1000 performance improvements and support for 8K H.265 video decoding.

Nvidia 367.35 release highlights:

  • Fixed a regression that could cause console corruption when resuming from suspend.
  • Improved buffer write performance of the nvidia-drm DRM KMS driver by using write-combined DRM Dumb Buffers where available
  • Fixed a bug that caused X to crash when applying changes to the RandR CscMatrix property while VT-switched away from X.
  • Fixed a bug that caused a crash when exiting nvidia-settings on displays with 8 or 15 bit color depths.
  • 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 8192×8192 (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.
  • Added support for querying clock values on Pascal GPUs.
  • Removed the Base Mosaic configuration option from nvidia-settings on systems where the feature is not actually supported.
  • Fixed a bug that caused nvidia-smi to report an inaccurate version number.
  • Fixed a bug that could lead to a system crash if there was a peer-to-peer mapping still active during CUDA context teardown.
  • Fixed a bug that prevented nvidia-bug-report.sh from finding relevant messages in kernel log files.

How to Install Nvidia 367.35 in Ubuntu:

Graphics Driver Team has made the new driver release into PPA, available for Ubuntu 16.04, Ubuntu 15.10, Ubuntu 14.04, Ubuntu 12.04, and the next Ubuntu 16.10.

Follow the steps below to add PPA and install the driver:

1. Add Graphics Drive PPA, by opening terminal (Ctrl+Alt+T) and running the command:

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


2. After that, install nvidia-367 driver using Additional Drivers utility.

Or run the commands below one by one in terminal:

sudo apt update

sudo apt install nvidia-367

Finally restart your computer and done.

3. For any issue you may remove the driver via the steps below, and then install a different version of the driver.

  • press Ctrl+Alt+F1 to switch to command console and login
  • purge Nvidia driver via command sudo apt purge nvidia-*
  • reboot via command sudo reboot

NVIDIA 358.16, the first stable release in NVIDIA 358 series, has been announced with some fixes to 358.09 (Beta) and other small features.

NVIDIA 358 added a new nvidia-modeset.ko kernel module that works in conjunction with the nvidia.ko kernel module to program the display engine of the GPU. In a later driver release, the nvidia-modeset.ko kernel driver will be used as a basis for the mode-setting interface provided by the kernel’s direct rendering manager (DRM).

Thew new driver also has new GLX protocol extensions and a new system memory allocation mechanism for large allocations in the OpenGL driver. New GPUs GeForce 805A and GeForce GTX 960A are supported. NVIDIA 358.16 also supports X.Org Server 1.18 and OpenGL 4.3

How to Install NVIDIA 358.16 in Ubuntu:

For the official binaries, please go to nvidia.com/object/unix.html.

For those who prefer an Ubuntu PPA, I’d recommend the Graphics Drivers PPA. So far, Ubuntu 16.04, Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.04 are supported.

1. Add PPA.

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below command and hit enter:

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

Type your password when it asks. No visual feedback, just type in mind and hit Enter to continue.

2. Refresh and install new driver.

After adding PPA, run below commands one by one to refresh repository cache and install new driver packages:

sudo apt-get update

sudo apt-get install nvidia-358 nvidia-settings

(Optional) Uninstall:

Boot into the recovery mode from the grub menu, and drop into root console. Then run below commands one by one:

Remount the file system as writable:

mount -o remount,rw /

Remove all nvidia packages:

apt-get purge nvidia*

Finally back to menu and reboot:

reboot

To disable/remove the graphics driver PPA, launch Software & Updates and navigate to Other Software tab.

Nvidia 352.41 Released, How to Install via PPA

Last updated: August 29, 2015

NVIDIA driver 352.41 for Linux was released a few hours ago with GeForce GTX 950, Quadro M4000 and M5000 GPUs support.

The new driver also brings two important fixes:

  • Fixed a bug that caused VDPAU to only display the top half of a video frame when decoding and displaying H.265/HEVC encoded video streams.
  • Fixed a bug that caused the X server to crash if an OpenGL application tried to allocate a drawable when GPU-accessible memory is exhausted.

Install / Upgrade to Nvidia 352.41 in Ubuntu:

Thanks the Ubuntu community for maintaining a new NVIDIA PPA that contains the most recent Nvidia proprietary GPU drivers. So far Ubuntu 15.04, Ubuntu 15.10, and Ubuntu 14.04 are supported.

1. To add the PPA.

Open terminal from the Dash, App Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command:

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

For those who’ve added Xorg-edgers PPA and Michael Marley’s Nvidia PPA (deprecated), remove them via:

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

sudo add-apt-repository --remove ppa:mamarley/nvidia

2. After that, update system cache and install new driver package via either Synaptic Package Manager after clicking Refresh button or below commands in terminal:

sudo apt-get update

sudo apt-get install nvidia-352 nvidia-settings

Nvidia announced the 352.30 release of its Linux driver yesterday with GeForce 910M support and various important fixes.

Release highlights of Nvidia 352.30:

  • Fixed a bug that caused poor video post-processing performance in VDPAU when operating on a large number of video streams simultaneously.
  • Fixed a bug that could cause an Xid error when terminating a video playback application using the overlay presentation queue in VDPAU.
  • Updated nvidia-installer to avoid recursing too deeply into kernel source trees under /usr/lib/modules, mirroring an existing restriction on recursion under /lib/modules.
  • Fixed a rare deadlock condition when running applications that use OpenGL in multiple threads on a Quadro GPU.
  • Fixed a kernel memory leak that occurred when looping hardware – accelerated video decoding with VDPAU on Maxwell-based GPUs.
  • Fixed a bug that caused the X server to crash if a RandR 1.4 output provided by a Sink Output provider was selected as the primary output on X.Org xserver 1.17 and higher.
  • Fixed a bug that caused waiting on X Sync Fence objects in OpenGL to hang indefinitely in some cases.
  • Fixed a bug that prevented OpenGL from properly recovering from hardware errors or sync object waits that had timed out.

Install Nvidia 352.30 from PPA:

For Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.04 and derivatives (e.g., Linux Mint 17.x, and Elementary OS Freya), the new driver can be easily installed from an PPA repository:

1. To add the PPA, open terminal from the Dash/Launcher/Ctrl+Alt+T. When it opens, run command:

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

2. After adding the PPA, install nvidia-352 package via Synaptic Package Manager or upgrade from previous release through Software Updater. Or run below commands one by one in terminal:

sudo apt-get update

sudo apt-get install nvidia-352 nvidia-352-uvm nvidia-settings

For the official binaries, go to www.nvidia.com/object/unix.html

NVIDIA driver 352.21 for Linux has been released recently with new GPUs support and numerous bug fixes. Here’s how to install it in Ubuntu 15.04, Ubuntu 14.04 and their derivatives via PPA.

Nvidia 352.21 release highlights:

  • Added support for the following GPUs:
    • GeForce 720A
    • GeForce 920A
    • GeForce 930A
    • GeForce 940A
    • GeForce GTX 950A
    • GeForce GTX 980 Ti
  • Fixed a bug that caused the Display Configuration page of the nvidia-settings control panel to automatically generate layouts with multiple displays occupying the same position when enabling or disabling Base Mosaic.
  • Updated nvidia-settings to allow the use of the standard Display Configuration page when SLI Mosaic is enabled.
  • Fixed a bug that caused the kernel to report errors when unmapping DMA allocations on kernels with CONFIG_DEBUG_DMA_API enabled.
  • Added GLX Protocol support for the following OpenGL extensions:
    • GL_ARB_copy_buffer
    • GL_ARB_texture_buffer_object
  • Fixed a bug that caused a kernel crash if SLI Mosaic and G-SYNC were used at the same time on a configuration with more display devices connected to one GPU than another.
  • Added the ability to configure the swapping behavior for quad-buffered stereo visuals. The driver can be configured to independently swap each eye as it becomes ready, to wait for both eyes to complete rendering before swapping, or to allow applications to specify which of these two behaviors is preferred by setting the swap interval. This setting can be adjusted in the nvidia-settings control panel, or via the NV-CONTROL API.
  • Fixed a regression which caused the GPU fan status display to disappear from the nvidia-settings control panel.
  • Added reporting of ECC error counts to the nvidia-settings control panel.
  • Fixed a bug that sometimes prevented OpenGL sampler objects from being properly deallocated when destroying OpenGL contexts.
  • Fixed a bug that caused GLX_EXT_framebuffer_sRGB to incorrectly report sRGB support in 30 bit-per-pixel framebuffer configurations.
  • Added support for G-SYNC with sync-to-vblank disabled. This allows applications to use G-SYNC to eliminate tearing for frame rates below the monitor’s maximum refresh rate but allow tearing above the maximum refresh rate in order to minimize latency.
  • When G-SYNC is active and sync-to-vblank is enabled, the frame rate is limited to the monitor’s maximum refresh rate.
  • GLSL gl_Fog.scale is now +infinity when gl_Fog.end equals gl_Fog.start. Previously, the value 0 was used, but this broke certain applications such as the game XIII running on Wine (Wine bug #37068).
  • Enabled G-SYNC by default when Unified Back Buffer (UBB) is disabled.
  • Updated the NVIDIA GPU driver to avoid using video memory already in use by vesafb.
  • Fixed a bug in nvidia-settings that caused the application to crash when saving the EDID to a file.
  • Fixed a bug that prevented the “mkprecompiled” utility included in the driver package from reading files correctly.
  • Fixed a bug that could cause an Xid error when terminating a video playback application using the overlay presentation queue in VDPAU.
  • Updated nvidia-installer to avoid recursing too deeply into kernel source trees under /usr/lib/modules, mirroring an existing restriction on recursion under /lib/modules.
  • Fixed a rare deadlock condition when running applications that use OpenGL in multiple threads on a Quadro GPU.
  • Fixed a kernel memory leak that occurred when looping hardware- accelerated video decoding with VDPAU on Maxwell-based GPUs.
  • Fixed a bug that caused the X server to crash if a RandR 1.4 output provided by a Sink Output provider was selected as the primary output on X.Org xserver 1.17 and higher.
  • Fixed a bug that caused waiting on X Sync Fence objects in OpenGL to hang indefinitely in some cases.
  • Fixed a bug that prevented OpenGL from properly recovering from hardware errors or sync object waits that had timed out.

Install NVIDIA 352.21 via PPA:

NOTE: If you’re just looking for a working driver for your graphics card, the default Nvidia package in Ubuntu repository may interact better with the rest of your distribution’s framework.

Open terminal from the Dash, Application Menu, or by pressing Ctrl+Alt+T on keyboard. When it opens, run below commands one by one to add the PPA, and install the driver:

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

sudo apt-get update

sudo apt-get install nvidia-352 nvidia-settings

A new Linux graphics driver NVDIA 346.59 was released with all GeForce 900 series notebook GPUs support, e.g., GeForce 920M, 930A, 930M, 940M, GTX 950M, GTX 960M. Also GTX TITAN X, Quadro K1200, M6000 GPUs are added support in this release.

Besides that, following bugs has been fixed in NIVDIA 346.59:

  • Fixed a bug that caused corruption when switching display modes in some applications that use transform feedback.
  • Fixed a bug that caused texture corruption on framebuffer depth attachments cleared using glClearTexImage().
  • Fixed a bug that artificially limited the maximum pixel clock on displays in some SLI Mosaic configurations.
  • Fixed a kernel memory leak that occurred when looping hardware- accelerated video decoding with VDPAU on Maxell-based GPUs.
  • Fixed a bug that could cause nvidia-settings to crash on exit on 32-bit Linux systems.

Install NVIDIA 346.59 from PPA:

The new release has been made into PPA repository, available for Ubuntu 14.10 and Ubuntu 15.04.

To install it, open terminal (Ctrl+Alt+T) and run below commands one by one:

sudo add-apt-repository ppa:mamarley/nvidia

sudo apt-get update

sudo apt-get install nvidia-346

For Ubuntu 14.04 and other Linux, you may download the official binary from nvidia page, and follow this how-to-install guide.

Nvidia has recently released a new driver version 346.47 for Linux with new GPUs support and a few bug fixes.

According to the release highlight, Quadro K620M, Quadro K2200M, and GeForce GTX 965M GPUs are added supported in this driver release.

And below bugs are fixed:

  • Fixed a bug that could cause rendering corruption in GLX clients using PBOs and/or VBOs when using GLX indirect rendering.
  • Fixed a bug that caused Xinerama layouts which included X screens with ‘Option “UseDisplayDevice” “none”‘ to be represented incorrectly in the nvidia-settings control panel.
  • Fixed a bug that could cause glXSwapBuffer() to block for longer than necessary in multi-threaded GLX applications using the GLX_NV_delay_before_swap extension.
  • Fixed a bug that caused OpenGL applications using the NV_path_rendering extension to crash after a modeswitch event.
  • Fixed a bug that caused DisplayPort audio to stop working after monitors are hotplugged.

If you want to install or upgrade this Nvidia driver, download it from THIS PAGE and follow this guide to install it on your Ubuntu.

Or wait it to be built into Xorg Edge PPA.

NVIDIA 346.35, the first stable release of the 346.xx series driver, has been released with new features, improvements, and numerous bug fixes.

Instead of NVIDIA 340.xx series, the new driver becomes the Latest Long Lived Branch version of NVIDIA Linux drivers.

The 346.35 driver brings:

  • new GPUs support: GeForce 800A, GeForce 800M, GeForce GTX 970M, GeForce GTX 980M.
  • support for X.Org xserver ABI 19 (xorg-server 1.17)
  • support for decoding VP8 video streams using the NVCUVID API on GPUs with VP8 hardware decode support.
  • new EGL extensions support: EGL_EXT_device_base, EGL_EXT_platform_device, EGL_EXT_output_base
  • support for NVENC on GeForce GPUs.
  • the ability to increase the operating voltage on certain GeForce GPUs in the GeForce GTX 400 series and later. Voltage adjustments are done at the user’s own risk.
  • accelerated support for r8g8b8a8, r8g8b8x8, b8g8r8a8 and b8g8r8x8 RENDER formats.
  • support in nvidia-settings for a GTK+ 3 user interface on x86 and x86_64.
  • added the nvidia-settings option –use-gtk2 to force the use of the GTK+ 2 UI library

There are also numerous fixes and improvements, see the release highlight.

How to Install NVIDIA 346.35 in Ubuntu:

Before the xorg-edgers PPA updates for this driver, you can download & install the official NVIDIA package by following below steps:

1. Select download the official installer from links below:

32-bit Linux | 64-bit Linux | 32-bit ARM Linux

32-bit or 64-bit? Check your OS type by going to top-right corner shutdown menu (gear button) and clicking ‘About This Computer’

2. To be able to install the new driver, you have to remove the previous driver by running below command in a terminal window (Open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard):

sudo apt-get remove nvidia* && sudo apt-get autoremove

3. You should also blacklist the open source nouveau driver by running below command to edit the config file:

gksudo gedit /etc/modprobe.d/blacklist-nouveau.conf

Add below lines to the end and click save.

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

4. You can also disable the Kernel Nouveau by running below commands one by one:

echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf

sudo update-initramfs -u

5. Finally reboot your computer and when you’re at the login prompt press Ctrl+Alt+F1 (or F2 ~ F6) to switch to command console. Login with your username and password.

6. When you’re at the black & white text console, the graphics session is still there and you can switch back by pressing Ctrl+Alt+F7. You have to kill the graphics session by running below command:

sudo stop lightdm

Replace lightdm with gdm, mdm, or kdm for GNOME, Linux Mint, or KUbuntu.

7. At last give permission to the downloaded package and run it:

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

Follow the on screen prompts and when everything’s done reboot your computer. In next boot after log in, run sudo nvidia-xconfig to save your new nvidia configuration.

(Optional) To remove the driver, re-do step 5 & 6 and run:

cd ~/Downloads && sudo sh NVIDIA-Linux-*-346.35.run --uninstall

Also undo the step 3 & 4 by removing the

cd /etc/modprobe.d/ && sudo rm blacklist-nouveau.conf nouveau-kms.conf && sudo update-initramfs -u

Good luck!