{"id":2917,"date":"2021-05-10T01:07:22","date_gmt":"2021-05-10T08:07:22","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=2917"},"modified":"2021-05-10T01:07:22","modified_gmt":"2021-05-10T08:07:22","slug":"kernel-5-13-rc1-ok-with-patched-vmware-breaks-nvidia","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2917","title":{"rendered":"Kernel &#8211; 5.13-rc1 &#8211; OK with patched VMware, Breaks NVIDIA.."},"content":{"rendered":"<p>Kernel 5.13-rc1 is out and brief details are here:\u00a0\u00a0 <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2105.1\/00457.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2105.1\/00457.html<\/a><\/p>\n<p>VMware <strong>16.1.1<\/strong> (patched..) compiles and loads OK, but NVIDIA <strong>465.27<\/strong> compile fails:<\/p>\n<p><code><span style=\"font-family: Courier New, Courier, monospace;\"><strong>..................................<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c: At top level:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c:454:23: error: initialization of \u2018int (*)(struct drm_plane *, struct drm_atomic_state *)\u2019 from incompatible pointer type \u2018int (*)(struct drm_plane *, struct drm_plane_state *)\u2019 [-Werror=incompatible-pointer-types]<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>454 | .atomic_check = nv_drm_plane_atomic_check,<\/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>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c:454:23: note: (near initialization for \u2018nv_plane_helper_funcs.atomic_check\u2019)<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c:455:23: error: initialization of \u2018void (*)(struct drm_plane *, struct drm_atomic_state *)\u2019 from incompatible pointer type \u2018void (*)(struct drm_plane *, struct drm_plane_state *)\u2019 [-Werror=incompatible-pointer-types]<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>455 | .atomic_update = nv_drm_plane_atomic_update,<\/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>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c:455:23: note: (near initialization for \u2018nv_plane_helper_funcs.atomic_update\u2019)<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c:456:23: error: initialization of \u2018void (*)(struct drm_plane *, struct drm_atomic_state *)\u2019 from incompatible pointer type \u2018void (*)(struct drm_plane *, struct drm_plane_state *)\u2019 [-Werror=incompatible-pointer-types]<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>456 | .atomic_disable = nv_drm_plane_atomic_disable,<\/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>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c:456:23: note: (near initialization for \u2018nv_plane_helper_funcs.atomic_disable\u2019)<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>cc1: some warnings being treated as errors<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [scripts\/Makefile.build:272: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: *** [Makefile:1839: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-5.13-rc1'<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make: *** [Makefile:80: modules] Error 2<\/strong><\/span><br \/>\n<\/code><br \/>\nI\u00a0 had wondered if this might be compiler-related, but the same failure occurred with GCC 11.x (Fedora 34) and GCC 10.x (Fedora 33)..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 May 9th, 2021<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 5.13-rc1 is out and brief details are here:\u00a0\u00a0 http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2105.1\/00457.html VMware 16.1.1 (patched..) compiles and loads OK, but NVIDIA 465.27 compile fails: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. \/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c: At top level: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-465.27\/kernel\/nvidia-drm\/nvidia-drm-crtc.c:454:23: error: initialization of \u2018int (*)(struct drm_plane *, struct drm_atomic_state *)\u2019 from incompatible pointer type \u2018int (*)(struct drm_plane *, struct drm_plane_state *)\u2019 [-Werror=incompatible-pointer-types] 454 | .atomic_check = nv_drm_plane_atomic_check, | ^~~~~~~~~~~~~~~~~~~~~~~~~ <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2917\"><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,14,15,18,19,25],"tags":[2384,2385,2383,1305,407],"class_list":["post-2917","post","type-post","status-publish","format-standard","hentry","category-compilation","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-16-1-1","tag-465-27","tag-kernel-5-13-rc1","tag-nvidia-compile-fails","tag-vmware-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2917","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=2917"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2917\/revisions"}],"predecessor-version":[{"id":2919,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2917\/revisions\/2919"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}