{"id":1970,"date":"2017-05-05T02:00:53","date_gmt":"2017-05-05T09:00:53","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1970"},"modified":"2017-05-10T12:32:08","modified_gmt":"2017-05-10T19:32:08","slug":"nvidia-new-driver-with-4-11-workaround-not-a-fix","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1970","title":{"rendered":"NVIDIA &#8211; New Driver With 4.11 Workaround, Not a Fix&#8230;"},"content":{"rendered":"<p>NVIDIA have released driver <strong>375.66<\/strong>, and the details are here:\u00a0 <a href=\"http:\/\/www.nvidia.com\/Download\/driverResults.aspx\/118290\/en-us\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.nvidia.com\/Download\/driverResults.aspx\/118290\/en-us<\/a><\/p>\n<p>The details include the following:<\/p>\n<p>&#8220;<span style=\"font-family: courier new,courier;\"><em>Installation of the nvidia-drm kernel module is now optional. The new <span style=\"font-family: arial,helvetica,sans-serif;\">&#8216;- -no-drm&#8217;<\/span> option can be used to prevent nvidia-installer from building and installing nvidia-drm, on systems where this kernel module fails to build and\/or load<\/em><\/span>.&#8221;<\/p>\n<p>This does not mention Kernel 4.11 and GPL issues specifically, but this is what this &#8216;new feature&#8217; is actually designed for..\u00a0\u00a0\u00a0\u00a0 This is a workaround, but not a solution..<\/p>\n<p>Using the new option<span style=\"font-family: arial,helvetica,sans-serif;\"> <em>&#8211; -no-drm <\/em><\/span>when executing <strong><span style=\"font-family: courier new,courier;\">NVIDIA-Linux-x86_64-375.66.run<\/span><\/strong>, the <strong>nvidia-drm<\/strong> modules are simply ignored..<\/p>\n<p>To use this feature when just compiling the kernel modules themselves, from <strong><span style=\"font-family: courier new,courier;\">~\/NVIDIA-Linux-x86_64-375.66\/kernel<\/span><\/strong>, do the following:<\/p>\n<pre><span style=\"font-family: courier new,courier;\"><strong># export NV_EXCLUDE_KERNEL_MODULES=nvidia-drm<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong># make<\/strong><\/span><\/pre>\n<p>&#8211; and the compile will ignore the troublesome <strong>nvidia-drm<\/strong> modules, and complete successfully, without them:<\/p>\n<pre><span style=\"font-family: courier new,courier;\"><strong>.............<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> Building modules, stage 2.<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> MODPOST 3 modules<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-375.66\/kernel\/nvidia-modeset.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-375.66\/kernel\/nvidia-modeset.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-375.66\/kernel\/nvidia-uvm.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-375.66\/kernel\/nvidia-uvm.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-375.66\/kernel\/nvidia.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-375.66\/kernel\/nvidia.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[2]: Leaving directory '\/usr\/src\/linux-4.11'<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-4.11'<\/strong><\/span><\/pre>\n<p>I have tested this on 4.11, and it all seems to work as advertised&#8230;<\/p>\n<p>It would seem that NVIDIA is having difficulty in re-writing the offending code in <strong>nvidia-drm<\/strong> to embrace the changes to licensing enforcement, and it may be &#8211; from initial correspondence on the kernel mailing list &#8211; that they were counting on the Kernel code changes being reverted, which they were not..<\/p>\n<p><em>Robert Gadsdon.\u00a0 May 5, 2017.\u00a0 (reformatted to show two-dashes correctly..)<br \/>\n<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>NVIDIA have released driver 375.66, and the details are here:\u00a0 http:\/\/www.nvidia.com\/Download\/driverResults.aspx\/118290\/en-us The details include the following: &#8220;Installation of the nvidia-drm kernel module is now optional. The new &#8216;- -no-drm&#8217; option can be used to prevent nvidia-installer from building and installing nvidia-drm, on systems where this kernel module fails to build and\/or load.&#8221; This does not mention Kernel <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1970\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1238,11,14,15,18,19],"tags":[1596,1599,1597,1598,1595,418],"class_list":["post-1970","post","type-post","status-publish","format-standard","hentry","category-fix","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","tag-no-drm-option","tag-compile-options","tag-for-kernel-4-11","tag-not-a-fix","tag-nvidia-375-66","tag-workaround"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1970","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1970"}],"version-history":[{"count":4,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1970\/revisions"}],"predecessor-version":[{"id":1974,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1970\/revisions\/1974"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}