{"id":242753,"date":"2022-05-22T09:00:39","date_gmt":"2022-05-22T01:00:39","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=242753"},"modified":"2022-05-18T23:36:22","modified_gmt":"2022-05-18T15:36:22","slug":"nvidia-linux-zy","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/nvidia-linux-zy.html","title":{"rendered":"\u4e3a\u4f55NVidia\u7684\u5f00\u6e90\u9a71\u52a8\u7a0b\u5e8f\u5bf9Linux \u5982\u6b64\u91cd\u8981\uff1f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nLinux \u793e\u533a\u548c NVIDIA \u9700\u8981\u5171\u540c\u4e3a\u672a\u6765\u7684\u7edf\u4e00\u5185\u6838\u9a71\u52a8\u7a0b\u5e8f\u5236\u5b9a\u4e00\u4e2a\u8ba1\u5212\uff0c\u5e76\u56f4\u7ed5\u5b83\u5236\u5b9a\u4e00\u4e2a\u9002\u7528\u4e8e\u5b83\u7684\u6a21\u578b\u3002\u65e0\u8bba\u662f Linux \u793e\u533a\u8fd8\u662f NVidia\uff0c\u90fd\u9700\u8981\u6dfb\u52a0 Mesa Vulkan \u9a71\u52a8\u7a0b\u5e8f\u4e4b\u7c7b\u7684\u4e1c\u897f\uff0c\u7c7b\u4f3c\u4e8e\u4e3a AMD \u63d0\u4f9b RADV \u7684\u65b9\u5f0f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

RedHat \u684c\u9762\u3001\u56fe\u5f62\u3001\u4fe1\u606f\u5a31\u4e50\u548c i18n \u603b\u76d1 Christian F.K. Schaller \u5206\u4eab\u4e86\u4ed6\u5bf9 NVIDIA \u5f00\u6e90 Linux GPU \u5185\u6838\u6a21\u5757\u7684\u4e00\u4e9b\u770b\u6cd5\uff0c\u5e76\u5206\u6790\u4e86 NVidia \u7684\u5f00\u6e90\u9a71\u52a8\u5bf9 Linux \u793e\u533a\u7684\u91cd\u8981\u6027\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u5f00\u6e90\u7684\u9a71\u52a8\u662f\u4ec0\u4e48 <\/strong><\/div>\n

\u9996\u5148\u9700\u8981\u660e\u786e\u7684\u662f\uff1aNVIDIA \u5f00\u6e90\u4e86 out of tree \u6e90\u4ee3\u7801\u5185\u6838\u9a71\u52a8\u7a0b\u5e8f\u3002\u8fd9\u4e9b\u9a71\u52a8\u7a0b\u5e8f\u5df2\u7ecf\u8fc7\u6d4b\u8bd5\uff0c\u5b83\u5728\u4f5c\u4e3a\u6570\u636e\u4e2d\u5fc3\u7684 GPU \u4e0a\u652f\u6301 CUDA \u7528\u4f8b\uff0c\u4f46\u5c1a\u672a\u652f\u6301\u56fe\u5f62\u663e\u793a\u3002\u5c3d\u7ba1\u4e5f\u6709\u652f\u6301\u56fe\u5f62\u663e\u793a\u7684\u4ee3\u7801\uff0c\u4f46\u8fd9\u4e9b\u4ee3\u7801\u8fd8\u6ca1\u6709\u5199\u5b8c\u6216\u5b8c\u5168\u6d4b\u8bd5\u3002<\/p>\n

\u6b64\u5916\uff0c\u5f00\u6e90\u7684\u53ea\u662f\u5185\u6838\u90e8\u5206\uff0c\u7136\u800c\u73b0\u4ee3\u56fe\u5f62\u9a71\u52a8\u7684\u5f88\u5927\u4e00\u90e8\u5206\u662f\u5728\u56fa\u4ef6\u548c\u7528\u6237\u7a7a\u95f4\u7ec4\u4ef6\u4e2d\uff0c\u800c\u8fd9\u4e9b\u4ecd\u7136\u662f\u95ed\u6e90\u7684\u3002\u56e0\u6b64\uff0c\u5bf9\u4e8e\u666e\u901a\u7684 Linux \u684c\u9762\u7528\u6237\u6765\u8bf4\uff0c\u76ee\u524d NVIDIA \u7684\u5f00\u6e90\u9a71\u52a8\u7a0b\u5e8f\u5e76\u4e0d\u80fd\u5e26\u6765\u4e00\u4e9b\u663e\u800c\u6613\u89c1\u7684\u597d\u5904\u3002<\/p>\n

\u4f46\u65e0\u8bba\u5982\u4f55\uff0c\u73b0\u5728\u6709\u4e86\u4e00\u4e2a NVidia \u5185\u6838\u9a71\u52a8\uff0c\u5b83\u80fd\u591f\u4f7f\u7528 linux \u5185\u6838\u4e2d\u4ec5\u652f\u6301 gpl \u7684 API \uff0c\u8fd9\u5c31\u4e3a\u540e\u9762\u7684\u4ee5\u5207\u6253\u4e0b\u4e86\u57fa\u7840\u3002<\/p>\n

\u5f00\u6e90\u9a71\u52a8\u80fd\u53d6\u4ee3\u4e8c\u8fdb\u5236\u9a71\u52a8\u7a0b\u5e8f\u5417\uff1f<\/h4>\n

\u76ee\u524d\u8fd8\u4e0d\u80fd\uff0c\u8be5\u5f00\u6e90\u9a71\u52a8\u7a0b\u5e8f\u53ea\u652f\u6301 NVidia \u56fe\u7075\u82af\u7247\u53ca\u66f4\u65b0\u7248\u672c\u7684\u56fe\u5f62\u5904\u7406\u5668\uff0c\u8fd9\u610f\u5473\u7740\u5b83\u5bf9 2018 \u5e74\u4e4b\u524d\u7684\u56fe\u5f62\u5904\u7406\u5668\u90fd\u4e0d\u8d77\u4f5c\u7528\u3002\u53e6\u5916\uff0c\u5728\u5f00\u6e90\u5185\u6838\u6a21\u5757\u7ecf\u8fc7\u5168\u9762\u6d4b\u8bd5\u548c\u6269\u5c55\uff0c\u4ee5\u7528\u4e8e\u56fe\u5f62\u663e\u793a\u7528\u4f8b\u4e4b\u524d\uff0c\u5373\u4f7f\u4f60\u4f7f\u7528\u7684\u662f\u56fe\u7075\u6216\u66f4\u65b0\u7248\u672c\u7684 GPU\uff0c\u4ecd\u9700\u8981\u5728\u7cfb\u7edf\u4e2d\u4f7f\u7528\u4e8c\u8fdb\u5236\u9a71\u52a8\u3002<\/p>\n

\u6b64\u5916\uff0c\u6b63\u5982\u4e0a\u9762\u6240\u8bf4\u7684\uff0c\u73b0\u4ee3\u56fe\u5f62\u9a71\u52a8\u7684\u5f88\u5927\u4e00\u90e8\u5206\u662f\u5728\u56fa\u4ef6\u548c\u7528\u6237\u7a7a\u95f4\u7ec4\u4ef6\u4e2d\uff0c\u56e0\u6b64\uff0c\u5373\u4f7f\u5f00\u6e90\u5185\u6838\u9a71\u52a8\u7a0b\u5e8f\u6709\u56fe\u5f62\u663e\u793a\u80fd\u529b\uff0c\u4e8c\u8fdb\u5236\u9a71\u52a8\u7a0b\u5e8f\u4ecd\u5c06\u7ee7\u7eed\u5b58\u5728\u3002<\/p>\n

\u5f00\u6e90\u9a71\u52a8\u5bf9 Nouveau \u6709\u4f55\u5f71\u54cd <\/strong><\/div>\n

Nouveau \u662f\u4e00\u4e2a\u65e8\u5728\u4e3a NVIDIA GPU \u5efa\u7acb\u9ad8\u8d28\u91cf\u7684\u3001\u81ea\u7531\u7684\u5f00\u6e90\u9a71\u52a8\u9879\u76ee\uff0c\u5b83\u6700\u521d\u662f\u4f5c\u4e3a\u9006\u5411\u5de5\u7a0b\u9a71\u52a8\u7a0b\u5e8f\u5f00\u53d1\u7684\uff0c\u4f46\u8fd1\u5e74\u6765\u5b9e\u5f97\u5230\u4e86 NVIDIA \u7684\u79ef\u6781\u652f\u6301\u3002Nouveau \u529f\u80fd\u9f50\u5168\uff0c\u4f46\u7531\u4e8e\u65e0\u6cd5\u91cd\u65b0\u8ba1\u7b97 NVidia \u663e\u5361\u7684\u65f6\u949f\u7b49\u529f\u80fd\u800c\u53d7\u5230\u4e25\u91cd\u963b\u788d\uff0c\u8fd9\u610f\u5473\u7740\u5b83\u4e0d\u80fd\u50cf\u4e8c\u8fdb\u5236\u9a71\u52a8\u90a3\u6837\u63d0\u4f9b\u5b8c\u6574\u7684\u6027\u80fd\uff0c\u6b64\u6b21 NVIDIA \u5f00\u6e90\u7684 GPU \u5185\u6838\u6a21\u5757\u5bf9 Nouveau \u793e\u533a\u548c\u9879\u76ee\u90fd\u5927\u6709\u5e2e\u52a9\u3002<\/p>\n

\u9700\u8981\u6ce8\u610f\u7684\u662f\uff1a Linux \u5185\u6838\u4e0d\u5141\u8bb8\u540c\u4e00\u4e2a\u786c\u4ef6\u6709\u591a\u4e2a\u9a71\u52a8\u7a0b\u5e8f\uff0c\u6240\u4ee5\u8981\u60f3\u8ba9\u65b0\u7684 NVidia \u5185\u6838\u9a71\u52a8\u7a0b\u5e8f\u5728\u5f53\u524d\u7684 Linux \u7248\u672c\u4e2d\u8fd0\u884c\uff0c\u5c31\u5fc5\u987b\u9000\u51fa\u73b0\u5728\u7684 Nouveau\uff0c\u6216\u8005\u81f3\u5c11\u88ab\u9650\u5236\u5728\u4e00\u5957\u4e0d\u540c\u7684\u786c\u4ef6\u4e0a\u3002\u5c31\u50cf\u4e8c\u8fdb\u5236\u9a71\u52a8\u4e00\u6837\uff0cNouveau \u7684\u5f88\u5927\u4e00\u90e8\u5206\u4e0d\u5728\u5185\u6838\u4e2d\uff0c\u800c\u662f\u5728 Mesa \u548c NVidia \u76ee\u524d\u63d0\u4f9b\u7684 Nouveau \u7279\u5b9a\u56fa\u4ef6\u4e2d\u53d1\u73b0\u7684\u7528\u6237\u7a7a\u95f4\u90e8\u5206\u3002<\/p>\n

\u76ee\u524d NVIDIA \u548c RadHat \u7b49\u53d1\u884c\u7248\u8ba8\u8bba\u7684\u8ba1\u5212\u662f\u8ba9 NVidia \u7684\u4e8c\u8fdb\u5236\u9a71\u52a8\u548c Mesa \u5171\u4eab\u4e00\u4e2a\u5185\u6838\u9a71\u52a8\uff0c\u8fd9\u53ef\u80fd\u662f\u4e00\u4e2a\u5168\u65b0\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u65e8\u5728\u540c\u65f6\u6ee1\u8db3 NVidia \u7528\u6237\u7a7a\u95f4\u548c Mesa \u7528\u6237\u7a7a\u95f4\u7684\u9700\u6c42\u3002\u4f46\u8fd9\u53ef\u80fd\u9700\u8981\u51e0\u5e74\u7684\u65f6\u95f4\u6765\u5b9e\u73b0\u3002\u8fd9\u5bf9\u5f00\u6e90\u793e\u533a\u548c NVidia \u90fd\u6709\u660e\u663e\u7684\u4f18\u52bf\u3002\u5bf9\u4e8e\u5f00\u6e90\u793e\u533a\u6765\u8bf4\uff0c\u8fd9\u610f\u5473\u7740\u73b0\u5728\u5c06\u62e5\u6709\u4e00\u4e2a\u5185\u6838\u9a71\u52a8\u7a0b\u5e8f\u548c\u56fa\u4ef6\uff0c\u5b83\u5141\u8bb8\u66f4\u6539 GPU \u7684\u65f6\u949f\uff0c\u4ee5\u63d0\u4f9b\u4eba\u4eec\u671f\u671b\u4ece NVidia \u663e\u5361\u83b7\u5f97\u7684\u663e\u793a\u6027\u80fd\uff0c\u8fd9\u610f\u5473\u7740 Linux \u5c06\u62e5\u6709\u4e00\u4e2a\u53ef\u4ee5\u5728\u7b2c\u4e00\u65f6\u95f4\u8bbf\u95ee\u65b0\u4e00\u4ee3 NVidia \u786c\u4ef6\u7684\u56fa\u4ef6\u548c\u5185\u6838\u66f4\u65b0\u7684\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n

\u5f00\u6e90\u9a71\u52a8\u5bf9 Linux \u53d1\u884c\u7248\u610f\u5473\u7740\u4ec0\u4e48\uff1f<\/strong><\/div>\n

\u5c31\u8fd1\u671f\u800c\u8a00\uff0c\u5b83\u4e0d\u4f1a\u4ea7\u751f\u91cd\u5927\u5f71\u54cd\u3002\u4f46\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u4ece\u6839\u672c\u4e0a\u7b80\u5316\u5bf9 NVidia \u786c\u4ef6\u652f\u6301\u7684\u9014\u5f84\u3002\u4ece\u957f\u8fdc\u6765\u770b\uff0c\u7528\u6237\u6709\u673a\u4f1a\u80fd\u5728 NVidia \u786c\u4ef6\u4e0a\u83b7\u5f97\u4e0e Linux \u4e3a Intel \u548c AMD \u7684\u786c\u4ef6\u63d0\u4f9b\u7684\u7684\u4f53\u9a8c\uff0c\u5373\u4e00\u4e9b\u5f00\u7bb1\u5373\u7528\u7684\u529f\u80fd<\/p>\n

\u5f00\u6e90\u8fd8\u610f\u5473\u7740 Linux \u53d1\u884c\u7248\u53ef\u4ee5\u7b2c\u4e00\u65f6\u95f4\u652f\u6301\u65b0\u7684 NVIDIA \u82af\u7247\uff0c\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684 NVidia \u5f00\u6e90 Mesa \u9a71\u52a8\u7a0b\u5e8f\u5c06\u5141\u8bb8 Linux \u53d1\u884c\u7248\u7b7e\u7f72 NVidia \u9a71\u52a8\u7a0b\u5e8f\u548c\u5185\u6838\u7684\u5176\u4ed6\u90e8\u5206\uff0c\u4ee5\u5b9e\u73b0\u5b89\u5168\u91cd\u542f\u7b49\u529f\u80fd\u3002<\/p>\n

\u7531\u4e8e\u7b2c\u4e00\u4e2a\u5f00\u6e90\u9a71\u52a8\u7248\u672c R515 \u662f\u9488\u5bf9\u8ba1\u7b97 GPU \u7684\uff0c\u6240\u4ee5\u53ef\u4ee5\u9884\u671f\u8fd9\u4e9b\u9009\u9879\u4e5f\u5c06\u9996\u5148\u4e3a\u8ba1\u7b97\u7528\u6237\u63d0\u4f9b\uff0c\u7136\u540e\u518d\u4e3a\u663e\u5361\u7528\u6237\u63d0\u4f9b\u3002<\/p>\n

\u4e0b\u4e00\u6b65\u662f\u4ec0\u4e48\uff1f <\/strong><\/div>\n

NVidia \u9700\u8981\u7ee7\u7eed\u52aa\u529b\u5b8c\u6210\u8fd9\u4e2a\u65b0\u7684\u9a71\u52a8\u7a0b\u5e8f\u529f\u80fd\uff0c\u65e0\u8bba\u662f\u8ba1\u7b97\u8fd8\u662f\u56fe\u5f62\u663e\u793a\u7528\u4f8b\u3002\u800c Linux \u793e\u533a\u548c NVIDIA \u9700\u8981\u5171\u540c\u4e3a\u672a\u6765\u7684\u7edf\u4e00\u5185\u6838\u9a71\u52a8\u7a0b\u5e8f\u5236\u5b9a\u4e00\u4e2a\u8ba1\u5212\uff0c\u5e76\u56f4\u7ed5\u5b83\u5236\u5b9a\u4e00\u4e2a\u9002\u7528\u4e8e\u5b83\u7684\u6a21\u578b\u3002\u65e0\u8bba\u662f Linux \u793e\u533a\u8fd8\u662f NVidia\uff0c\u90fd\u9700\u8981\u6dfb\u52a0 Mesa Vulkan \u9a71\u52a8\u7a0b\u5e8f\u4e4b\u7c7b\u7684\u4e1c\u897f\uff0c\u7c7b\u4f3c\u4e8e\u4e3a AMD \u63d0\u4f9b RADV \u7684\u65b9\u5f0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

RedHat \u684c\u9762\u3001\u56fe\u5f62\u3001\u4fe1\u606f\u5a31\u4e50\u548c i18n \u603b\u76d1 Christian F.K. Schaller \u5206\u4eab\u4e86\u4ed6 […]<\/p>\n","protected":false},"author":643,"featured_media":242758,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-242753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/242753","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\/643"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=242753"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/242753\/revisions"}],"predecessor-version":[{"id":242983,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/242753\/revisions\/242983"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/242758"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=242753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=242753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=242753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}