Archives For nvidia

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

Nvidia 340.58 PPA

Nvidia Graphics Driver for Linux has just released version 340.58 with new GPUs support and a few bug fixes.

The latest long lived branch release Nvidia 340.58 was released this Wednesday with below changes:

  • Added support for the following GPUs:
    • GeForce GT820M
    • GeForce GTX 760A
    • GeForce GTX 850A
    • GeForce 810A
    • GeForce 820A
    • GeForce 840A
  • Fixed a bug that could cause VT-switching to fail following a suspend, resume, and driver reload sequence.
  • Fixed a bug that caused incorrect colors to be displayed on X screens running at depth 8 on some GPUs.
  • Fixed a bug that prevented GPUs from being correctly recognized in MetaMode strings when identified by UUID.
  • Implemented support for disabling indirect GLX context creation using the -iglx option available on X.Org server release 1.16 and newer.  Note that future X.Org server releases may make the -iglx option the default. To re-enable support for indirect GLX on such servers, use the +iglx option.
  • Added the “AllowIndirectGLXProtocol” X config option. This option can be used to disallow use of GLX protocol. See “Appendix B. X Config Options” in the README for more details.

How to Install / Upgrade to Nvidia 340.58:

The Xorg-Edgers PPA provides the binary packages of the driver for Ubuntu 14.10, and Ubuntu 14.04.

Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

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

sudo apt-get update

sudo apt-get install nvidia-340

Above commands will add the PPA and install the new driver. After that, restart your computer to take effect.

If for some reason, the new driver does not work properly. Open terminal or log into command console (Ctrl+Alt+F2), run below commands to install ppa-purge and purge the PPA:

sudo apt-get install ppa-purge

sudo ppa-purge ppa:xorg-edgers/ppa

Above commands should remove Nvidia Driver 340.58 and revert your graphics driver to original.

Nvidia ubuntu 14.04

The latest proprietary driver Nvidia 331.79 for Linux has been announced. According to the changlog, the new release only fixed below bugs:

  • Fixed a bug that caused nvidia-installer to crash in environments where /proc is not mounted.
  • Fixed a bug that prevented module signing from working correctly for the NVIDIA Unified Memory kernel module when using module signing keys generated by nvidia-installer.
  • Fixed a bug that caused blank screens and flickering when rotating displays in a Base Mosaic layout.
  • Fixed a bug that caused BadRRCrtc or BadRROutput errors for big-endian X11 clients making certain XRandR requests.
  • Fixed a bug that corrupted certain software rendering, notably the stippled text used to represent disabled entries in xterm’s pop-up menus.

Below is how to install this driver in Ubuntu 14.04 or Ubuntu 12.04:

1. It’s recommended to remove previous installed proprietary driver and install the latest updates-dev package before getting started.

To do that, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo apt-get purge nvidia*

sudo apt-get update

sudo apt-get install nvidia-331-updates-dev

2. Restart your computer.

3. Download the official Nvidia packages: 32 bit Linux | 64 bit Linux | 32 bit ARM

4. Press Ctrl+Alt+F1 (or F2 ~ F6) on keyboard to switch to command console and login.

5. Stop the graphical session:

sudo service lightdm stop

For Gnome GDM or Linux Mint MDM, you may replace lightdm with gdm or mdm in the command.

6. Now give executable permission and run the official package to start installing Nvidia 331.79:

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

Tips:You may keep the installer file so that you can remove this driver via below command if for some reason it does not work properly:

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