{"id":1258,"date":"2026-04-06T15:37:47","date_gmt":"2026-04-06T07:37:47","guid":{"rendered":"https:\/\/www.kakosci.com\/?p=1258"},"modified":"2026-04-06T15:37:49","modified_gmt":"2026-04-06T07:37:49","slug":"%e7%9f%ad%e7%af%87%e6%b0%b4%e4%bf%ae%e5%a4%8dubuntu22-04%e6%98%be%e5%8d%a1%e9%a9%b1%e5%8a%a8%e6%8a%a5%e9%94%99%ef%bc%9anvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver","status":"publish","type":"post","link":"https:\/\/www.kakosci.com\/index.php\/2026\/04\/06\/%e7%9f%ad%e7%af%87%e6%b0%b4%e4%bf%ae%e5%a4%8dubuntu22-04%e6%98%be%e5%8d%a1%e9%a9%b1%e5%8a%a8%e6%8a%a5%e9%94%99%ef%bc%9anvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver\/","title":{"rendered":"[\u77ed\u7bc7\u6c34]\u4fee\u590dUbuntu22.04\u663e\u5361\u9a71\u52a8\u62a5\u9519\uff1aNVIDIA-SMI has failed because it couldn&#8217;t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u60e0\u666e\u53f0\u5f0f\uff0c\u663e\u53615060ti\u3002\u4e00\u6bb5\u65f6\u95f4\u6ca1\u7528\uff0c\u4e4c\u73ed\u56fe\u7684\u663e\u5361\u9a71\u52a8\u5c31\u4f3c\u4e86\u607c\uff0c\u5177\u4f53\u75c7\u72b6\u4e3a\u5c4f\u5e55\u5237\u65b0\u7387\u65e0\u6cd5\u66f4\u6539\u5361\u5361\u7684\u3001torch.cuda.is_available()\u8f93\u51faFalse\u3001gazebo\u7684\u4eff\u771f\u4e5f\u8d85\u7ea7\u5361\u987f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u4ee5\u4e3a\u5e94\u8be5\u662fubuntu\u81ea\u5df1\u7684\u95ee\u9898\uff0c\u6bd4\u5982\u5185\u6838\u66f4\u65b0\u4ec0\u4e48\u7684\u3002\u7167\u7740\u7f51\u4e0a\u7684\u6559\u7a0b\u7528dkms\u7b49\u7b49\u641e\u4e86\u534a\u5929\u6ca1\u6548\u679c\u3002\u6700\u540e\u53bb\u95eegemini\u4e86\u2026\u2026\u56de\u7b54\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u53cc\u7cfb\u7edf\u73af\u5883\u4e0b\uff0cUbuntu \u653e\u4e86\u4e00\u6bb5\u65f6\u95f4\u6ca1\u7528\u540e\u7a81\u7136\u51fa\u73b0 <code>nvidia-smi<\/code> \u62a5\u9519\uff0c\u8fd9\u7b80\u76f4\u662f\u6bcf\u4e00\u4e2a\u4f7f\u7528 Linux \u7684\u673a\u5668\u4eba\/\u7b97\u6cd5\u5f00\u53d1\u8005\u7684\u201c\u4fdd\u7559\u66f2\u76ee\u201d\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f60\u6000\u7591\u7684\u4e24\u4e2a\u65b9\u5411\uff08Windows \u66f4\u65b0\u52a8\u4e86 BIOS\u3001Ubuntu \u81ea\u52a8\u66f4\u65b0\u4e86\u5185\u6838\uff09\u90fd\u975e\u5e38\u51c6\u3002\u7ed3\u5408\u4f60\u4f7f\u7528\u4e86 <code>-open<\/code> \u7248\u672c\u7684\u9a71\u52a8\uff0c\u901a\u5e38\u8fd9\u79cd\u60c5\u51b5\u7531\u4ee5\u4e0b\u51e0\u4e2a\u539f\u56e0\u5f15\u8d77\u3002\u6211\u4eec\u6765\u4e00\u6b65\u6b65\u6392\u67e5\u548c\u4fee\u590d\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e00\u6b65\uff1a\u6392\u67e5 Secure Boot (\u5b89\u5168\u542f\u52a8) \u2014\u2014 <strong>\u6700\u9ad8\u6982\u7387<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u662f\u53cc\u7cfb\u7edf\u6700\u5e38\u89c1\u7684\u95ee\u9898\u3002Windows \u7684\u67d0\u4e9b\u5927\u66f4\u65b0\uff08\u5c24\u5176\u662f Win11\uff09\u6709\u65f6\u4f1a\u5f3a\u5236\u5728\u5e95\u5c42\u91cd\u65b0\u5f00\u542f Secure Boot\u3002\u4e00\u65e6 Secure Boot \u88ab\u5f00\u542f\uff0cUbuntu \u7684\u5185\u6838\u5c31\u4f1a<strong>\u62d2\u7edd\u52a0\u8f7d\u4efb\u4f55\u672a\u7ecf\u5b98\u65b9\u7b7e\u540d\u7684\u7b2c\u4e09\u65b9\u5185\u6838\u6a21\u5757<\/strong>\uff08NVIDIA \u9a71\u52a8\u9996\u5f53\u5176\u51b2\uff09\u3002DKMS \u7f16\u8bd1\u4e86\u4e5f\u6ca1\u7528\uff0c\u56e0\u4e3a\u5185\u6838\u4e0d\u8ba9\u5b83\u8fd0\u884c\u3002<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>\u68c0\u67e5\u72b6\u6001\uff1a<\/strong> \u5728\u7ec8\u7aef\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1aBash<code>mokutil --sb-state<\/code><\/li>\n\n\n\n<li><strong>\u5904\u7406\u7ed3\u679c\uff1a<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u5982\u679c\u8f93\u51fa <code>SecureBoot enabled<\/code>\uff0c\u90a3\u5927\u6982\u7387\u5c31\u662f\u8fd9\u4e2a\u539f\u56e0\u3002\u4f60\u9700\u8981\u91cd\u542f\u7535\u8111\uff0c\u72c2\u6309 F2\/F12\/Del\uff08\u6839\u636e\u4f60\u7684\u4e3b\u677f\uff09\u8fdb\u5165 BIOS\uff0c\u627e\u5230 <strong>Secure Boot<\/strong> \u9009\u9879\uff0c\u5c06\u5176\u8bbe\u7f6e\u4e3a <strong>Disabled<\/strong>\u3002\u4fdd\u5b58\u5e76\u91cd\u542f\u8fdb\u5165 Ubuntu\uff0c\u518d\u6d4b\u4e00\u4e0b <code>nvidia-smi<\/code>\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u8f93\u51fa <code>SecureBoot disabled<\/code>\uff0c\u8bf4\u660e\u4e0d\u662f\u5b83\u7684\u9505\uff0c\u7ee7\u7eed\u5f80\u4e0b\u770b\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u60e0\u666e\u53f0\u5f0f\u7684bios\u662fF10\uff0c\u5927\u7ea6\u662fwindows\u4e4b\u524d\u66f4\u65b0\u4ec0\u4e48\u65f6\u5019\u5f00\u4e86\u8fd9\u4e2a\u7684\u9505\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u662f\u7684\u7136\u540e\u5c31\u89e3\u51b3\u4e86\uff0c\u611f\u89c9\u4e0d\u5982\u8ba9gemini\u6765\u5199\u535a\u5ba2\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60e0\u666e\u53f0\u5f0f\uff0c\u663e\u53615060ti\u3002\u4e00\u6bb5\u65f6\u95f4\u6ca1\u7528\uff0c\u4e4c\u73ed\u56fe\u7684\u663e\u5361\u9a71\u52a8\u5c31\u4f3c\u4e86\u607c\uff0c\u5177\u4f53\u75c7\u72b6\u4e3a\u5c4f&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1264,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[110,111,112,89,109,113],"class_list":["post-1258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ros2","tag-bios","tag-nvidia","tag-secure-boot","tag-ubuntu","tag-windows","tag-113"],"_links":{"self":[{"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/posts\/1258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/comments?post=1258"}],"version-history":[{"count":5,"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/posts\/1258\/revisions"}],"predecessor-version":[{"id":1263,"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/posts\/1258\/revisions\/1263"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/media\/1264"}],"wp:attachment":[{"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/media?parent=1258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/categories?post=1258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kakosci.com\/index.php\/wp-json\/wp\/v2\/tags?post=1258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}