How to Install NVIDIA 390.25 in Ubuntu 17.10, 18.04

NVIDIA

The latest long-lived NVIDIA Linux driver reached the 390.25 release a few days ago. Now you can install it in Ubuntu via PPA repository.

NVIDIA 390.25 adds support for GeForce GTX 1060 5GB and Quadro P620 GPUs. And there are following changes included in the release:

  • Fixed a regression introduced in 390.12 that prevented displays from working normally when running multiple X screens with emulated overlays.
  • Fixed a regression introduced in 390.12 that caused occasional hangs and hard lockup messages in the system log when screen transformations are in use.
  • Added new application profile settings, “EGLVisibleDGPUDevices” and “EGLVisibleTegraDevices”, to control which discrete and Tegra GPU devices, respectively, may be enumerated by EGL. See the “Application Profiles” appendix of the driver README for more details.
  • Corrected the SONAME of the copy of the libnvidia-egl-wayland library included in the .run installer package to libnvidia-egl-wayland.so.1. The SONAME had previously been versioned incorrectly with the full version number of the library.
  • Updated nvidia.ko to veto the ACPI_VIDEO_NOTIFY_PROBE event on kernels that allow the handler for this event to be overridden, to improve interaction between the NVIDIA driver and acpi_video on display hotplug events.
  • Updated the SLI Mosaic layout page in the nvidia-settings control panel to support topologies with up to 32 displays.
  • See HERE for more details.

How to Install NVIDIA 390.25 in Ubuntu:

It’s NOT recommended to install these proprietary divers unless you know how to restore changes if anything goes wrong.

Besides downloading the official .run installers from Nvidia website, the Graphics Team PPA maintains the latest packages.

So far, the PPA contains the packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04.

1. Open terminal via Ctrl+Alt+T or by searching ‘terminal’ from application launcher. When it opens, run command to add the PPA:

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

Input your password when it prompts (no visual feedback while typing) and hit Enter.

Nvidia Driver PPA

2. Then launch Software & Updates -> Additional Driver utility, choose the new driver from the list and apply changes.

nvidia38722

For some devices, there may be a black screen issue after installing NVIDIA proprietary GPU drivers. Try setting NOMODESET in grub option, or removing the proprietary driver via command:

sudo apt-get purge nvidia*

You may need to boot into recovery mode -> root prompt, or press Ctrl+Alt+F1 on login screen to get into command console.

About ml

ml is a part time stay-at-home dad who've been using Ubuntu Desktop for a few years. He writes in the free time and wishes to share some useful tips with Ubuntu beginners and lovers.

2 comments

  1. Stilo having Black screen problem after login. How to solve It? I’d prefer propretary drivers instead of nouveau…

  2. The only working solution for me for the Nvidia graphic card problem in Ubuntu 18.04, was to follow the instructions from this page:

    https://medium.com/@emtudo/ubuntu-18-04-travamento-com-placa-nvidia-3720dfe7410a

    and then start the system through recovery mode.