{"id":3318,"date":"2025-04-20T08:02:31","date_gmt":"2025-04-20T15:02:31","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3318"},"modified":"2025-04-20T08:02:31","modified_gmt":"2025-04-20T15:02:31","slug":"nvidia-finally-a-fix-for-kernel-6-15-rc","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3318","title":{"rendered":"NVIDIA &#8211; Finally, a Fix for Kernel 6.15-rc.."},"content":{"rendered":"<p>Thanks to efforts by Willy Frissen and Joan Bruguera Mic\u00f3, I have managed to cobble together a patch for NVIDIA driver <strong>575.51.02<\/strong> and Kernel 6.15 &#8211; tested with <strong>6.15-rc2<\/strong>..<\/p>\n<p>The compilation failed with Kernel 6.15 due principally to changes removing obsolete <em><strong>EXTRA_CFLAGS<\/strong><\/em> and replacing it by <em><strong>ccflags-y<\/strong><\/em>, and <em><strong>del_timer_sync<\/strong><\/em> replacement by <em><strong>timer_delete_sync<\/strong><\/em>:<\/p>\n<p><span style=\"font-family: Courier New, Courier, monospace;\"><strong>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>nvidia\/nv.c:31:10: fatal error: nv-firmware.h: No such file or directory<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>31 | #include &#8220;nv-firmware.h&#8221;<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>| ^~~~~~~~~~~~~~~<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>compilation terminated.<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[4]: *** [\/usr\/src\/linux-6.15-rc2\/scripts\/Makefile.build:203: nvidia\/nv.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[3]: *** [\/usr\/src\/linux-6.15-rc2\/Makefile:2009: .] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [\/usr\/src\/linux-6.15-rc2\/Makefile:248: __sub-make] Error 2<br \/>\n&#8230;&#8230;&#8230;.. <em>and further errors, when this is fixed<\/em>.. &#8230;&#8230;&#8230;.<\/strong><\/span><\/p>\n<p>Joans&#8217; patch &#8211; for older driver 470.256.20 &#8211; is at <a href=\"https:\/\/gist.github.com\/joanbm\/def2bf57ed7a799c1d84a67606459314\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/joanbm\/def2bf57ed7a799c1d84a67606459314<\/a><br \/>\nand Willys&#8217; patches are at <a href=\"https:\/\/github.com\/babiulep\/my-kernel-patches\/tree\/main\/NVIDIA\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/babiulep\/my-kernel-patches\/tree\/main\/NVIDIA<\/a><\/p>\n<p>Using these, I now have NVIDIA <strong>575.51.02<\/strong> compiling successfully, and running with Kernel <strong>6.15-rc2<\/strong> (KDE\/Plasma)<\/p>\n<p><em><strong>Robert Gadsdon..\u00a0\u00a0 April 20th 2025..<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to efforts by Willy Frissen and Joan Bruguera Mic\u00f3, I have managed to cobble together a patch for NVIDIA driver 575.51.02 and Kernel 6.15 &#8211; tested with 6.15-rc2.. The compilation failed with Kernel 6.15 due principally to changes removing obsolete EXTRA_CFLAGS and replacing it by ccflags-y, and del_timer_sync replacement by timer_delete_sync: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; nvidia\/nv.c:31:10: fatal error: nv-firmware.h: <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3318\"><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,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,11,14,15,18,19],"tags":[2732,440,2736,2735,162,2733,277,2734],"class_list":["post-3318","post","type-post","status-publish","format-standard","hentry","category-compilation","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","tag-575-51-02","tag-compile-fail","tag-del_timersync","tag-extra_cflags","tag-fixed","tag-kernel-6-15","tag-nvidia-2","tag-patch-created"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3318","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=3318"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3318\/revisions"}],"predecessor-version":[{"id":3320,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3318\/revisions\/3320"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}