{"id":3004,"date":"2022-02-02T16:22:24","date_gmt":"2022-02-03T00:22:24","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3004"},"modified":"2022-02-02T16:22:24","modified_gmt":"2022-02-03T00:22:24","slug":"nvidia-fix-for-legacy-390-xx-and-kernel-5-17","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3004","title":{"rendered":"NVIDIA &#8211; Fix for &#8216;Legacy&#8217; 390.xx and Kernel 5.17.."},"content":{"rendered":"<p>I have an old <strong>HP 8760W<\/strong> laptop, which needs the NVIDIA &#8216;legacy&#8217; 390.xx driver series, and Nouveau is (yet again) not working as it should..<\/p>\n<p>From the patch for kernel 5.17 support and driver 470.94, at <a href=\"https:\/\/gist.github.com\/joanbm\/6c7b027b9436bf31ce979927e544e9d5\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/joanbm\/6c7b027b9436bf31ce979927e544e9d5<\/a> it seemed that the changes necessary should be simple..<\/p>\n<p>In fact this patch can be used, with the following change..<\/p>\n<p>Change <span style=\"font-family: Courier New, Courier, monospace;\"><strong>~<span class=\"pl-md\">\/common\/inc\/nv-procfs-utils.h<\/span><\/strong><\/span> to <span style=\"font-family: Courier New, Courier, monospace;\"><strong>~<\/strong><\/span><span class=\"pl-md\"><span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/common\/inc\/nv-procfs.h<\/strong><\/span> (2 occurrences).<\/span><\/p>\n<p>Then the patch will apply to driver <strong>390.147<\/strong> (with some fuzz..)<br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>&#8230;&#8230;&#8230;.<br \/>\npatching file a\/common\/inc\/nv-procfs.h <\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>Hunk #1 succeeded at 10 with fuzz 2. <\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>Hunk #2 succeeded at 115 (offset 27 lines).<\/strong><\/span><\/p>\n<p>And the driver compiles OK and loads\/runs (tested with kernel <strong>5.17-rc2<\/strong>)<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 February 2nd 2022.<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have an old HP 8760W laptop, which needs the NVIDIA &#8216;legacy&#8217; 390.xx driver series, and Nouveau is (yet again) not working as it should.. From the patch for kernel 5.17 support and driver 470.94, at https:\/\/gist.github.com\/joanbm\/6c7b027b9436bf31ce979927e544e9d5 it seemed that the changes necessary should be simple.. In fact this patch can be used, with the following change.. <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3004\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[5,1238,14,15,18,19],"tags":[2462,2463,544,2464,277],"class_list":["post-3004","post","type-post","status-publish","format-standard","hentry","category-compilation","category-fix","category-kernel","category-linux-2","category-nvidia","category-opinion","tag-390-147","tag-kernel-5-17","tag-modified-patch","tag-nv-procfs-h","tag-nvidia-2"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3004"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3004\/revisions"}],"predecessor-version":[{"id":3006,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3004\/revisions\/3006"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}