{"id":43254,"date":"2022-10-28T14:00:46","date_gmt":"2022-10-28T14:00:46","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43254"},"modified":"2022-10-28T14:00:46","modified_gmt":"2022-10-28T14:00:46","slug":"nvidia-driver-520-install-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/10\/nvidia-driver-520-install-ubuntu\/","title":{"rendered":"NVIDIA Driver 520 available to install in Ubuntu 22.04 | 20.04 | 18.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-38385\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>NVIDIA 520, the latest feature release of NVIDIA driver for Linux, is available to install in all current Ubuntu LTS releases.<\/p>\n<p>So far, it&#8217;s <a href=\"https:\/\/www.nvidia.com\/Download\/driverResults.aspx\/193764\/en-us\/\" target=\"_blank\" rel=\"noopener\"><i>NVIDIA 520.56.06<\/i><\/a> released few weeks ago with following new features:<\/p>\n<ul>\n<li>Implement over-the-air (OTA )updates in the Proton and Wine NVIDIA NGX build, though needs to set &#8220;PROTON_ENABLE_NGX_UPDATER&#8221; to 1 to enable it.<\/li>\n<li>Following extensions no longer depend on nvidia-uvm.ko at runtime:\n<ul>\n<li>VK_KHR_acceleration_structure<\/li>\n<li>VK_KHR_deferred_host_operations<\/li>\n<li>VK_KHR_ray_query<\/li>\n<li>VK_KHR_ray_tracing_pipeline<\/li>\n<li>VK_NV_cuda_kernel_launch<\/li>\n<li>VK_NV_ray_tracing<\/li>\n<li>VK_NV_ray_tracing_motion_blur<\/li>\n<li>VK_NVX_binary_import<\/li>\n<li>VK_NVX_image_view_handle<\/li>\n<\/ul>\n<\/li>\n<li>Fixed blank screens and hangs when starting an X server on RTX 30 series GPUs boot with HDMI.<\/li>\n<li>Fixed a bug where Marvel&#8217;s Spider-Man Remastered would sometimes crash with Xid 13 errors on Turing and later<\/li>\n<\/ul>\n<h3>How to Install NVIDIA 520 in Ubuntu<\/h3>\n<p><b>NOTE: Though it&#8217;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&#8217;t do it in production machine!<\/b><\/p>\n<p>The driver package is available now for <b>Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 22.04<\/b>. For Ubuntu 22.10 user, it&#8217;s so far in pre-released repository, though should be published soon in next few days.<\/p>\n<p><b>1.<\/b> First, <b>it&#8217;s HIGHLY recommended to update system<\/b> by launching &#8216;<code>Software Updater<\/code>&#8216; and install all available updates! And, restart your system if it asks.<\/p>\n<p><b>2.<\/b> Second, search for and open &#8216;<b>Additional Drivers<\/b>&#8216; from <i>Activities<\/i> overview screen.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/open-additionaldrivers.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-43255\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/open-additionaldrivers-300x166.webp\" alt=\"\" width=\"300\" height=\"166\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/open-additionaldrivers-300x166.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/open-additionaldrivers.webp 512w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><b>3.<\/b> When it opens, choose &#8220;nvidia-driver-520&#8221; from the list, and click &#8216;Apply Changes&#8217; button to install the driver.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-nvidia520.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43256\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-nvidia520-600x314.webp\" alt=\"\" width=\"600\" height=\"314\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-nvidia520-600x314.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-nvidia520-300x157.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-nvidia520-768x402.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-nvidia520.webp 998w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>In case you don&#8217;t see the 520 driver in the list, navigate to the first &#8216;Ubuntu Software&#8217; tab, and make sure the 4 repositories (main, universe, restricted, multiverse) are enabled. Finally, close and Reload, and re-open the utility.<\/p>\n<p>After installation, the &#8216;<i>Additional Drivers<\/i>&#8216; utility should prompt to restart your computer to apply change.<\/p>\n<h3>Verify<\/h3>\n<p>After restarting computer, open &#8216;<b>Settings<\/b>&#8216; and navigate to &#8216;<b>About<\/b>&#8216; page to verify if your NVIDIA graphics card is in use.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/about-graphics.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43257\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/about-graphics-600x505.webp\" alt=\"\" width=\"600\" height=\"505\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/about-graphics-600x505.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/about-graphics-300x253.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/about-graphics-768x647.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/about-graphics.webp 1032w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>And, search for and open &#8216;<b>NVIDIA Settings<\/b>&#8216; utility to for driver version, GPU switching, and other settings.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/nvidia-settings-520.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43258\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/nvidia-settings-520-600x454.webp\" alt=\"\" width=\"600\" height=\"454\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/nvidia-settings-520-600x454.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/nvidia-settings-520-300x227.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/nvidia-settings-520-768x581.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/nvidia-settings-520.webp 1166w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Due to bug, you can&#8217;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.<\/p>\n<h3>Install &#8216;Prime indicator&#8217; for switching GPU<\/h3>\n<p>For <b>Ubuntu 22.04<\/b>, search for and install &#8216;<b>Extension Manager<\/b>&#8216; from Ubuntu Software app. Then, use the tool to search and install &#8216;Prime Inidcator&#8217;.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-indicator.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43259\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-indicator-600x470.webp\" alt=\"\" width=\"600\" height=\"470\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-indicator-600x470.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-indicator-300x235.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-indicator-768x601.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-indicator.webp 922w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>For <b>Ubuntu 20.04 and Ubuntu 18.04<\/b>, first open terminal (Ctrl+Alt+T) and run command to install the agent package:<\/p>\n<pre>sudo apt install chrome-gnome-shell<\/pre>\n<p>Then visit the extension web page and use the ON\/OFF switch to install it:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/extensions.gnome.org\/extension\/1275\/prime-indicator\/\" target=\"_blank\" rel=\"noreferrer noopener\">Prime Indicator<\/a><\/div>\n<\/div>\n<p>In case you don&#8217;t see the ON\/OFF switch, follow the link in that page to install browser extension and refresh.<\/p>\n<p>After installing the extension, go to top-right system status menu to switch between Intel, NVIDIA, and hybrid mode.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-selection.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-43260\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-selection-300x283.webp\" alt=\"\" width=\"300\" height=\"283\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-selection-300x283.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/prime-selection.webp 590w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><b>IMPORTANT: The Extension will automatically log out once your select another GPU mode and confirm with password!!! Save your works before doing change.<\/b><\/p>","protected":false},"excerpt":{"rendered":"<p>NVIDIA 520, the latest feature release of NVIDIA driver for Linux, is available to install in all current Ubuntu LTS releases. So far, it&#8217;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 &#8220;PROTON_ENABLE_NGX_UPDATER&#8221; to 1 to enable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":38385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[656],"class_list":["post-43254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-nvidia"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=43254"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/38385"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=43254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}