{"id":2391,"date":"2018-08-27T12:40:22","date_gmt":"2018-08-27T19:40:22","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2391"},"modified":"2018-08-27T12:40:22","modified_gmt":"2018-08-27T19:40:22","slug":"kernel-4-19-rc1-ok-with-vmware-breaks-nvidia-and-possible-fix","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2391","title":{"rendered":"Kernel &#8211; 4.19-rc1 &#8211; OK with VMware, breaks NVIDIA &#8211; and Possible Fix.."},"content":{"rendered":"<p>Kernel <strong>4.19-rc1<\/strong> has been released, and <span style=\"text-decoration: underline;\">very<\/span> brief details of changes are here: <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1808.3\/01014.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1808.3\/01014.html<\/a><\/p>\n<p>VMware 14.1.3 compiles\/loads OK, but NVIDIA (396.54) compile failed:<\/p>\n<pre><span style=\"font-family: courier new, courier;\"><strong>......................<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/kernel\/nvidia-drm\/nvidia-drm-encoder.c:219:11: error: implicit declaration of function \u2018drm_mode_connector_attach_encoder\u2019; did you mean \u2018drm_connector_attach_encoder\u2019? [-Werror=implicit-function-declaration]<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>ret = drm_mode_connector_attach_encoder(connector, encoder);<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>drm_connector_attach_encoder<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>cc1: some warnings being treated as errors<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>....................<\/strong><\/span><\/pre>\n<p>&#8211; and a similar error with <code><strong><span style=\"font-family: courier new, courier;\">nvidia-drm-connector.c<\/span><\/strong><\/code><\/p>\n<p>Changing occurrences of \u2018<strong><span style=\"font-family: courier new, courier;\">drm_mode_connector_attach_encoder<\/span><\/strong>\u2019 to \u2018<strong><span style=\"font-family: courier new, courier;\">drm_connector_attach_encoder<\/span><\/strong>\u2019 and \u2018<span style=\"font-family: courier new, courier;\"><strong>drm_mode_connector_update_edid_property<\/strong><\/span>\u2019 to \u2018<strong><span style=\"font-family: courier new, courier;\">drm_connector_update_edid_property<\/span><\/strong>\u2019 enabled the driver to compile\/load OK, but this has not been further tested, yet:<\/p>\n<pre><span style=\"font-family: courier new, courier;\"><strong>........................<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>ld -r -o \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/kernel\/nvidia-modeset\/nv-modeset-interface.o \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/kernel\/nvidia-modeset\/nvidia-modeset-linux.o<\/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 4 modules<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/kernel\/nvidia-drm.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/kernel\/nvidia-drm.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/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-396.54\/kernel\/nvidia-modeset.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/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-396.54\/kernel\/nvidia-uvm.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/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-396.54\/kernel\/nvidia.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make[2]: Leaving directory '\/usr\/src\/linux-4.19-rc1'<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-4.19-rc1'<\/strong><\/span><\/pre>\n<p>I also found that this was a problem for the <strong>DisplayLink<\/strong> 4.2 driver, as well..<\/p>\n<p><em>Robert Gadsdon,\u00a0 August 27, 2018.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 4.19-rc1 has been released, and very brief details of changes are here: http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1808.3\/01014.html VMware 14.1.3 compiles\/loads OK, but NVIDIA (396.54) compile failed: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-396.54\/kernel\/nvidia-drm\/nvidia-drm-encoder.c:219:11: error: implicit declaration of function \u2018drm_mode_connector_attach_encoder\u2019; did you mean \u2018drm_connector_attach_encoder\u2019? [-Werror=implicit-function-declaration] ret = drm_mode_connector_attach_encoder(connector, encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drm_connector_attach_encoder cc1: some warnings being treated as errors &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. &#8211; and a similar error with nvidia-drm-connector.c <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2391\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"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":[1955,11,14,15,18,19,25],"tags":[1956,1960,1959,1173,1958,1832,507,1957],"class_list":["post-2391","post","type-post","status-publish","format-standard","hentry","category-displaylink","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-4-19-rc1","tag-displaylink-4-2-compile-fail","tag-drm_mode_connector_attach_encoder","tag-kernel","tag-nvidia-396-54-compile-fail","tag-possible-fix","tag-released","tag-vmware-14-1-3-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2391","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=2391"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2391\/revisions"}],"predecessor-version":[{"id":2393,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2391\/revisions\/2393"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}