NVIDIA 520, the latest feature release of NVIDIA driver for Linux, is available to install in all current Ubuntu LTS releases.
So far, itโs NVIDIA 520.56.06 released few weeks ago with following new features:
- Implement over-the-air (OTA )updates in the Proton and Wine NVIDIA NGX build, though needs to set โPROTON_ENABLE_NGX_UPDATERโ to 1 to enable it.
- Following extensions no longer depend on nvidia-uvm.ko at runtime:
- VK_KHR_acceleration_structure
- VK_KHR_deferred_host_operations
- VK_KHR_ray_query
- VK_KHR_ray_tracing_pipeline
- VK_NV_cuda_kernel_launch
- VK_NV_ray_tracing
- VK_NV_ray_tracing_motion_blur
- VK_NVX_binary_import
- VK_NVX_image_view_handle
- Fixed blank screens and hangs when starting an X server on RTX 30 series GPUs boot with HDMI.
- Fixed a bug where Marvelโs Spider-Man Remastered would sometimes crash with Xid 13 errors on Turing and later
How to Install NVIDIA 520 in Ubuntu
NOTE: Though itโs tested and works good in my case, it might still breaks your system (usually boot into blank screen) due to various reasons (e.g., upstream bug or corrupt installation)! So donโt do it in production machine!
The driver package is available now for Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 22.04. For Ubuntu 22.10 user, itโs so far in pre-released repository, though should be published soon in next few days.
1. First, itโs HIGHLY recommended to update system by launching โSoftware Updaterโ and install all available updates! And, restart your system if it asks.
2. Second, search for and open โAdditional Driversโ from Activities overview screen.
3. When it opens, choose โnvidia-driver-520โ from the list, and click โApply Changesโ button to install the driver.
In case you donโt see the 520 driver in the list, navigate to the first โUbuntu Softwareโ tab, and make sure the 4 repositories (main, universe, restricted, multiverse) are enabled. Finally, close and Reload, and re-open the utility.
After installation, the โAdditional Driversโ utility should prompt to restart your computer to apply change.
Verify
After restarting computer, open โSettingsโ and navigate to โAboutโ page to verify if your NVIDIA graphics card is in use.
And, search for and open โNVIDIA Settingsโ utility to for driver version, GPU switching, and other settings.
Due to bug, you canโt switch to Intel (Power Saving Mode) with the tool, you can however install an extension to do the job via system status menu option.
Install โPrime indicatorโ for switching GPU
For Ubuntu 22.04, search for and install โExtension Managerโ from Ubuntu Software app. Then, use the tool to search and install โPrime Inidcatorโ.
For Ubuntu 20.04 and Ubuntu 18.04, first open terminal (Ctrl+Alt+T) and run command to install the agent package:
sudo apt install chrome-gnome-shell
Then visit the extension web page and use the ON/OFF switch to install it:
In case you donโt see the ON/OFF switch, follow the link in that page to install browser extension and refresh.
After installing the extension, go to top-right system status menu to switch between Intel, NVIDIA, and hybrid mode.
IMPORTANT: The Extension will automatically log out once your select another GPU mode and confirm with password!!! Save your works before doing change.
