Archives For nvidia

Nvidia 352.30

Has an Intel powered laptop or desktop PC with dedicated NVIDIA GPU? Installing the proprietary NVIDIA driver and switch between the GPUs is easy in Ubuntu.

Since Ubuntu now maintains the latest NVIDIA drivers via the restricted repositories, users can easily install the latest proprietary drivers in Ubuntu via a few clicks.

Install NVIDIA Driver in Ubuntu:

1.) In case you changed the software sources, firstly open ‘Software & Updates‘ utility and make sure the ‘Proprietary drivers for devices (restricted)‘ is enabled.

2.) Either search for and open ‘Additional Drivers‘ from system app launcher, or navigate to that tab in the previous window.

3.) Choose the latest NVIDIA driver from the list and click on ‘Apply Changes’ to install it.

Once installed, you have to restart your machine to apply changes.

Switch between NVIDIA and Intel Graphics:

After restart, you machine will be on performance mode with the dedicated GPU. To switch GPU mode:

  • search for and open ‘NVIDIA Settings’ from app launcher.
  • Next go to ‘PRIME Profiles’ in the pop-up NVIDIA settings dialog.
  • Choose among NVIDIA Performance, NVIDIA On-Demand, and Intel power saving mode.
  • Finally log out and back in to apply changes.

For convenient, there’s an extension available to integrate these options into system tray menu.

To install this Gnome Shell extension, do following steps one by one:

  • Open terminal (Ctrl+Alt+T) and run command to install chrome-gnome-shell if you don’t have it:
    sudo apt install chrome-gnome-shell

  • Go to the extension web page, turn on the toggle icon to install it.

    Don’t see the slider icon? Click the link ‘Click here to install browser extension’ to install browser extension and finally refresh the web page.

NOTE: Switching GPU mode via the system menu option will AUTOMATICALLY log out current session.
To disable automatically log-out, change the extension settings either via Gnome Extensions or Gnome Tweaks.

Nvidia Linux driver

NVIDIA graphics driver for Linux released version 465.27 a day ago with new Laptop GPUs support and a few bug-fixes.

In NVIDIA 465.27, following new GPUs are supported:

  • T600 Laptop GPU
  • T1200 Laptop GPU
  • RTX A5000 Laptop GPU
  • RTX A4000 Laptop GPU
  • RTX A3000 Laptop GPU
  • RTX A2000 Laptop GPU

There are also some fixes in the release including:

  • Fixed a bug that could prevent a system from resuming from suspend when DisplayPort activity occurred while the system was suspended.
  • Fixed a regression that prevented eglQueryDevicesEXT from correctly enumerating GPUs on systems with multiple GPUs where access to the GPU device files was restricted for some GPUs.
  • Fixed a regression that could cause system hangs when changing display resolution on SLI Mosaic configurations.
  • Fixed a bug that could result in blank displays when driving multiple displays at the same resolution using active DisplayPort dongles.

How to Install NVIDIA 465.27 in Ubuntu:

Ubuntu now builds the latest NVIDIA drivers and pushes them via its own security & updates repositories.

Just wait! It’ll be available in next few days. At that time, launch Additional Drivers utility and you’ll see the driver available to install.

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

Nvidia Linux driver

NVIDIA for Linux driver 450.66 was released today as the latest long lived branch version.

NVIDIA 450.66 fixed triple buffering support of Vulkan X11 swapchains when applications are syncing to vblank.

It also added following GPUs support:

  • EIZO Quadro MED-XN31LP
  • EIZO Quadro MED-XN50LP
  • EIZO Quadro MED-XN51LP
  • EIZO Quadro MED-XN70
  • EIZO Quadro MED-XN71
  • EIZO Quadro MED-XN72
  • EIZO Quadro MED-XN90
  • EIZO Quadro MED-XN91
  • EIZO Quadro MED-XN92
  • Matrox D-Series D1450
  • Matrox D-Series D1480

How to Get Nvidia 450.66 in Ubuntu:

The “Graphics Drivers” team PPA is a reliable source that contains most recent Nvidia packages for Ubuntu. Check the PPA link before getting started as it’s not updated to 450.66 at the moment of writing.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run command:

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

Type user password for sudo prompt (no asterisk feedback) and hit Enter to continue.

2. Then launch Additional Drivers utility, choose Nvidia 450 and apply changes.

Sorry I can’t see these drivers as I don’t have a discrete graphics card in my laptop :(

(Optional) To remove the PPA repository, either go to Software & Updates > Other Software, or run command:

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

Nvidia Linux driver

For Ubuntu 18.04 users plagued by screen tearing issue while using NVIDIA proprietary drivers, this quick tutorial may help you via enable PRIME Synchronization on Optimus.

Screen tearing usually happens on Ubuntu Linux laptop that uses Prime to switch between NVIDIA and Intel drivers.

1. Open terminal (either via Ctrl+Alt+T or by searching for ‘terminal’ from software launcher) and run command to create a new config file:

sudo gedit /etc/modprobe.d/nvidia-drm-nomodeset.conf

Type your password (no asterisks feedback) when it prompts and hit Enter.

2. When the file opens after running the previous command, add following line and save the file.

options nvidia-drm modeset=1

3. Finally update intramfs and reboot your machine.

sudo update-initramfs -u

To check if previous changes work after reboot, run command:

sudo cat /sys/module/nvidia_drm/parameters/modeset

It should output ‘Y’.

In addition, to get much SMOOTHER Nvidia window dragging experience, you can also do:

1. Set maximum performance in Nvidia X Server Settings -> PowerMizer.

2. If you have MORE than enough RAM, set swap tendency to a MUCH lower value by running command to edit sysctl.conf:

sudo gedit /etc/sysctl.conf

and add following 2 lines when the file opens:

via: ubuntuforums

nvidia-logo-1

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

nvidia-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