{"id":293452,"date":"2024-10-05T20:04:33","date_gmt":"2024-10-05T12:04:33","guid":{"rendered":"https:\/\/lrxjmw.cn\/jjuxtxzxkqdh.html"},"modified":"2024-10-05T20:04:33","modified_gmt":"2024-10-05T12:04:33","slug":"jjuxtxzxkqdh","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/jjuxtxzxkqdh.html","title":{"rendered":"\u89e3\u51b3 Ubuntu \u7cfb\u7edf\u4e0b\u8f7d\u663e\u5361\u9a71\u52a8\u540e\u91cd\u542f\u9ed1\u5c4f\u65e0\u6cd5\u5f00\u673a\u7684\u6709\u6548\u65b9\u6cd5"},"content":{"rendered":"

ubuntu\u7cfb\u7edf\u4e2d\u5b89\u88c5NVIDIA\u4e3b\u677f\u9a71\u52a8\u540e\u91cd\u542f\u7b14\u8bb0\u672c\u82b1\u5c4f\u95ee\u9898\u4e00\u3001\u524d\u8a00\uff08\u4e0d\u7528\u91cd\u88c5\u7cfb\u7edf\uff09<\/p>\n

\u672c\u4eba\u5728\u5b66\u4e60\u6df1\u5ea6\u5b66\u4e60\u914d\u7f6e\u73af\u5883\u8fc7\u7a0b\u4e2d\uff0c\u5728Ubuntu\u7cfb\u7edf\u73af\u5883\u4e2d\u4e0b\u8f7d\u4e3b\u677f\u9a71\u52a8\u540e\u91cd\u542f\u51fa\u73b0\u767d\u5c4f\u672a\u80fd\u5f00\u673a\u60c5\u51b5\uff0c\u5c1d\u8bd5\u4e86\u597d\u591a\u6b21\u603b\u7b97\u627e\u5230\u4e86\u6b63\u786e\u7684\u89e3\u51b3\u529e\u6cd5\uff0c\u4f60\u4eec\u53ef\u4ee5\u53c2\u8003\u53c2\u8003\u3002\u672c\u4eba\u7b14\u8bb0\u672c\u914d\u7f6e\u5982\u4e0b\uff1a<\/p>\n

\n

CPU\uff1aI5-12400F\nGPU\uff1a\u4e03\u5f69\u8679 \u6218\u65a7 RTX4060Ti OC 16G\n\u7cfb\u7edf\u73af\u5883\uff1aubuntu20.04\uff08\u53cc\u7cfb\u7edf\uff09\n<\/code><\/pre>\n<\/p>\n

\u4e8c\u3001\u95ee\u9898\u63cf\u8ff01\u3001\u4ec0\u4e48\u64cd\u4f5c\u5bfc\u81f4\u7684<\/p>\n

\u6211\u5728ubuntu\u81ea\u5e26\u7684\u8f6f\u4ef6\u66f4\u65b0-\u9644\u52a0\u9a71\u52a8\u4e2d\u4e0b\u8f7d\u4e3b\u677f\u9a71\u52a8\u540e\u91cd\u542f\u7ea2\u65d7linux\uff0c\u5c31\u6b7b\u673a\u4e86\u3002<\/p>\n

ubuntu\u81ea\u5e26\u663e\u5361\u9a71\u52a8_\u81ea\u5e26\u663e\u5361\u9a71\u52a8_\u81ea\u5e26\u663e\u5361\u9a71\u52a8\u7684pe<\/p>\n

2\u3001\u51fa\u73b0\u7684\u95ee\u9898\u72b6\u51b5<\/p>\n

\u5728Ubuntu\u7cfb\u7edf\u73af\u5883\u4e2d\u4e0b\u8f7d\u4e3b\u677f\u9a71\u52a8\u540e\u91cd\u542f\u51fa\u73b0\u767d\u5c4f\u672a\u80fd\u5f00\u673a\u60c5\u51b5\uff0c\u5927\u81f4\u6709\u5982\u4e0b\u4e24\u79cd\u60c5\u51b5\uff1a<\/p>\n

\uff081\uff09\u9009\u62e9\u53cc\u7cfb\u7edf\u6b65\u5165ubuntu\u540e\uff0c\u5728grub\u5f15\u5bfc\u83dc\u5355\u9009\u62e9ubuntu\u540e\u6b65\u5165\u6b7b\u673a\u540e\uff0c\u5de6\u4e0a\u89d2\u6709\u201c-\u201d\u5149\u6807\u4ecd\u7136\u5728\u95ea\u52a8\uff0c\u64cd\u4f5c\u65e0\u53cd\u5e94\u4e14\u4ecd\u7136\u8fdb\u4e0d\u53bb\u7cfb\u7edf\u3002<\/p>\n

ubuntu\u81ea\u5e26\u663e\u5361\u9a71\u52a8_\u81ea\u5e26\u663e\u5361\u9a71\u52a8_\u81ea\u5e26\u663e\u5361\u9a71\u52a8\u7684pe<\/p>\n

\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0<\/p>\n

\uff082\uff09\u51fa\u73b0\u4e00\u4e32\u6570\u5b57\u540e\uff0c\u5361\u4f4f\u4e0d\u52a8\u3002<\/p>\n

\u4e09\u3001\u89e3\u51b3\u529e\u6cd51\u3001\u539f\u56e0<\/p>\n

\u8fd9\u4e24\u79cd\u9519\u8bef\u90fd\u662f\u56e0\u4e3a\u5b89\u88c5\u7684NVIDIA\u4e3b\u677f\u9a71\u52a8\u4e0eubuntu\u81ea\u5e26\u7684nouveau\u53d1\u751f\u4e86\u51b2\u7a81\u9020\u6210\u7684\uff0c\u53ef\u4ee5\u5c06nouveau\u52a0\u5165\u9ed1\u540d\u5355\uff0c\u5373\u53ef\u9632\u6b62\u6b64\u7c7b\u60c5\u51b5\u3002<\/p>\n

2\u3001\u89e3\u51b3\u5361\u673a\u529e\u6cd5\u65b9\u5f0f\u4e00\u5f00\u673a\u65f6\u6309ESC\u952e\u6b65\u5165\u9009\u9879\u754c\u9762\uff0c\u9009\u62e9\u4e00\u4e2a\u62ec\u5f27\u4e0a\u9762\u5e26recoverymode\u7684\u9009\u9879\u3002\u7cfb\u7edf\u4f1a\u624b\u52a8\u6b7b\u673a\u5e76\u5f39\u51fa\u4e00\u4e2a\u9009\u62e9\u6846\uff0c\u9009\u62e9root\u3002\u63a5\u7740\u5728\u5c4f\u5e55\u4e0b\u90e8\u4efd\u53ef\u4ee5\u542c\u5230\u547d\u4ee4<\/a>\u884c\uff0c\u6309\u56de\u8f66\u6b65\u5165\u5230\u81ea\u5df1\u7684\u7528\u6237\u540d\u4e0b\u3002\u8f93\u5165\u547d\u4ee4\u5378\u8f7d\u5b89\u88c5\u7684\u4e3b\u677f\u9a71\u52a8\uff1a<\/p>\n

\n

sudo apt-get remove --purge nvidia*\n<\/code><\/pre>\n<\/p>\n

\u81ea\u5e26\u663e\u5361\u9a71\u52a8\u7684pe_\u81ea\u5e26\u663e\u5361\u9a71\u52a8_ubuntu\u81ea\u5e26\u663e\u5361\u9a71\u52a8<\/p>\n

\u4e4b\u540e\u91cd\u542f\u5373\u53ef\u91cd\u65b0\u6b65\u5165ubuntu\u754c\u9762\u4e86\u3002<\/p>\n

\u65b9\u5f0f\u4e8c<\/p>\n

1\u3001\u542f\u52a8\u7b14\u8bb0\u672c\uff0c\u6b65\u5165\u5f15\u5bfc\u83dc\u5355\uff0c\u5c06\u5149\u6807\u8054\u901a\u5230Ubuntu\u9879\uff0c\u6309\u6309\u952e\u4e0a\u7684\u201cE\u201d\u952e\uff1b<\/p>\n

2\u3001\u8fdb\u5165GRUB\u9875\u9762\u540e\uff0c\u9009\u62e9\u9996\u8bcd\u7ec4\u4e3alinux\u5bf9\u5e94\u7684\u884c\uff0c\u5c06\u5149\u6807\u8054\u901a\u5230\u8be5\u884c\u7684\u672b\u5c3e\uff08\u901a\u5e38\u8fd9\u884c\u7684\u5012\u6570\u7b2c2\u30013\u4e2a\u53c2\u6570\u4e3a\uff1aquietsplash\uff09\uff0c\u5728\u8fd9\u884c\u672b\u5c3e\u7a7a\u4e00\u4e2a\u540e\u8f93\u5165\uff1anomodeset\uff0c\u6309\u4e0b\u6309\u952e\u7684\u201cCtrl+X\u201d\u6216\u8005F10\u542f\u52a8\uff0c\u624d\u80fd\u6b65\u5165\u719f\u6089\u7684Ubuntu\u7cfb\u7edf\u684c\u9762\u4e86\uff01<\/p>\n

3\u3001\u4e4b\u540e\u6211\u4eec\u8981\u5c06\u7cfb\u7edf\u81ea\u5e26\u7684nouveau\u9a71\u52a8\u52a0\u5165\u7cfb\u7edf\u9ed1\u540d\u5355\u4e2dubuntu\u81ea\u5e26\u663e\u5361\u9a71\u52a8<\/strong>ubuntu\u81ea\u5e26\u663e\u5361\u9a71\u52a8<\/strong>\uff0c\u8f93\u5165\uff1asudogedit\/etc\/modprobe.d\/blacklist.conf\uff0c\u5728\u6587\u4ef6\u7684\u672b\u5c3e\u6dfb\u52a0\u4ee5\u4e0b\u6570\u7ec4\uff1ablacklistnouveaulinux\u5185\u5b58\u7ba1\u7406\uff0c\u6b21\u64cd\u4f5c\u5373\u5c06nouveau\u9a71\u52a8\u52a0\u5165\u7cfb\u7edf\u9ed1\u540d\u5355\u4e86\uff01<\/p>\n

4\u3001\u66f4\u65b0\u9ed1\u540d\u5355\uff1asudoupdate-initramfs-u<\/p>\n

\u8fd9\u513f\u5f3a\u70c8\u63a8\u8350\u4e00\u4e2a\u535a\u4e3b\u7684\u89c6\u9891\uff1aNVIDIA\u4e3b\u677f\u7684Ubuntu\u9a71\u52a8\u7a0b\u5e8f\u5b89\u88c5\u65b9\u5f0f_\u54d4\u54e9\u54d4\u54e9_bilibili<\/p>\n

\u53c2\u8003\u94fe\u63a5\uff1a\u89e3\u51b3Ubuntu\u5b89\u88c5NVIDIA\u4e3b\u677f\u9a71\u52a8\u9020\u6210\u7684\u6b7b\u673a\u95ee\u9898_ubuntu\u4e3b\u677f\u9a71\u52a8\u9020\u6210\u6b7b\u673a-CSDN\u535a\u5ba2<\/p>\n

\u6309\u7167\u4ee5\u4e0a\u63a8\u8350\u7684\u89c6\u9891\u6216\u5219\u94fe\u63a5\u8fdb\u884c\u64cd\u4f5c\uff0c\u5373\u53ef\u89e3\u51b3\u6b64\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6211\u5728ubuntu\u81ea\u5e26\u7684\u8f6f\u4ef6\u66f4\u65b0-\u9644\u52a0\u9a71\u52a8\u4e2d\u4e0b\u8f7d\u663e\u5361\u9a71\u52a8\u540e\u91cd\u542f\uff0c\u5c31\u9ed1\u5c4f\u4e86\u3002\u5728Ubuntu\u7cfb\u7edf\u73af\u5883\u4e2d\u4e0b\u8f7d\u663e\u5361\u9a71\u52a8\u540e\u91cd\u542f\u51fa\u73b0\u9ed1\u5c4f\u65e0\u6cd5\u5f00\u673a\u60c5\u51b5\uff0c\u5927\u81f4\u6709\u5982\u4e0b\u4e24\u79cd\u60c5\u51b5\uff1a\u53c2\u8003\u94fe\u63a5\uff1a\u89e3\u51b3Ubuntu\u5b89\u88c5NVIDIA\u663e\u5361\u9a71\u52a8\u5bfc\u81f4\u7684\u9ed1\u5c4f\u95ee\u9898_ubuntu\u663e\u5361\u9a71\u52a8\u5bfc\u81f4\u9ed1\u5c4f-CSDN\u535a\u5ba2<\/p>\n","protected":false},"author":1,"featured_media":293453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[3421],"class_list":["post-293452","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-unhpghmd"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=293452"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293452\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/293453"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=293452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=293452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=293452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}