{"id":291118,"date":"2024-04-26T21:22:05","date_gmt":"2024-04-26T13:22:05","guid":{"rendered":"https:\/\/gulass.cn\/lxtxkszxjcjc.html"},"modified":"2024-04-26T21:22:05","modified_gmt":"2024-04-26T13:22:05","slug":"lxtxkszxjcjc","status":"publish","type":"post","link":"https:\/\/gulass.cn\/lxtxkszxjcjc.html","title":{"rendered":"Linux\u7cfb\u7edf\u663e\u5361\u8bbe\u7f6e\u8be6\u89e3\uff1a\u4ece\u57fa\u7840\u5230\u9ad8\u7ea7\u64cd\u4f5c\uff0c\u4f18\u5316\u6027\u80fd\u4e0e\u56fe\u5f62\u5c55\u793a"},"content":{"rendered":"

\u91c7\u7528\u5f00\u6e90\u6846\u67b6\u7684Linux<\/a>\u7cfb\u7edf<\/a>\uff0c\u56e0\u5176\u5e7f\u6cdb\u9002\u7528\u6027\uff0c\u88ab\u5404\u7c7b\u5b9e\u4f53\u6240\u91c7\u7528\uff0c\u5982\u670d\u52a1\u5668\uff0c\u4e2a\u4eba\u8ba1\u7b97\u673a\u548c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7b49\u3002\u4e3a\u4e86\u4f18\u5316Linux\u7cfb\u7edf\u6027\u80fd\uff0c\u4f18\u5316\u56fe\u5f62\u5c55\u793a\uff0c\u6b63\u786e\u914d\u7f6e\u663e\u5361\u53c2\u6570\u663e\u5f97\u5c24\u4e3a\u91cd\u8981\u3002\u672c\u6587\u65e8\u5728\u8be6\u7ec6\u8bb2\u89e3Linux\u73af\u5883\u4e0b\u5982\u4f55\u8fdb\u884c\u663e\u5361\u8bbe\u7f6e\uff0c\u4ece\u57fa\u672c\u6982\u5ff5\u5230\u9ad8\u7ea7\u64cd\u4f5c\uff0c\u4ee5\u671f\u4e3a\u8bfb\u8005\u63d0\u4f9b\u5168\u9762\u4e14\u5b9e\u7528\u7684\u77e5\u8bc6\u3002<\/p>\n

1.\u663e\u5361\u57fa\u7840\u77e5\u8bc6<\/b><\/p>\n

\u6b32\u7cbe\u901aLinux\u89c6\u9891\u914d\u7f6e\uff0c\u9996\u5148\u9700\u638c\u63e1\u663e\u5361\u57fa\u672c\u539f\u7406\u3002\u663e\u5361\u53c8\u79f0\u663e\u793a\u5668\u9002\u914d\u5668\u3001\u7ed8\u56fe\u5361\u6216\u89c6\u89c9\u5668\u4ef6\uff0c\u4e43\u7535\u8111\u7cfb\u7edf\u5185\u8fdb\u884c\u56fe\u50cf\u5904\u7406\u4e0e\u663e\u73b0\u7684\u5173\u952e\u5143\u4ef6\u3002\u5728Linux\u73af\u5883\u4e0b\uff0c\u663e\u5361\u901a\u5e38\u7531\u4e24\u90e8\u5206\u7ec4\u6210\uff1a\u663e\u5361\u786c\u4ef6\u53ca\u663e\u5361\u9a71\u52a8\u8f6f\u4ef6\u3002<\/p>\n

\u663e\u5361\u786c\u4ef6\u7ed3\u6784\u5305\u62ec\u4e86GPU\uff08\u56fe\u50cf\u5904\u7406\u5668\uff09\u3001\u663e\u5b58\uff08\u5185\u5b58\uff09\u4ee5\u53ca\u6563\u70ed\u6a21\u5757\u7b49\uff0c\u5b83\u4eec\u5171\u540c\u51b3\u5b9a\u4e86\u56fe\u50cf\u5904\u7406\u6548\u7387\u53ca\u54c1\u8d28\u3002\u663e\u5361\u9a71\u52a8\u662f\u8fde\u63a5\u7cfb\u7edf\u4e0e\u786c\u4ef6\u95f4\u7684\u7ebd\u5e26\uff0c\u4e3b\u8981\u8d1f\u8d23\u8c03\u914d\u663e\u5361\u7684\u5404\u9879\u529f\u80fd\u53ca\u5176\u6027\u80fd\u8868\u73b0\uff0c\u540c\u65f6\u4e5f\u4e3a\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u4ea4\u4e92\u754c\u9762\u3002<\/p>\n

\u6df1\u5165\u4e86\u89e3\u663e\u5361\u57fa\u672c\u77e5\u8bc6\uff0c\u80fd\u52a9\u6211\u4eec\u7cbe\u51c6\u638c\u63e1\u663e\u5361\u8bbe\u5b9a\u6307\u4ee4\u7684\u6548\u7528\u53ca\u5f71\u54cd\uff0c\u63d0\u5347\u6211\u4eec\u7684\u64cd\u4f5c\u6280\u5de7\u4e0e\u8c03\u6574\u7cbe\u5ea6\u3002<\/p>\n

2.\u663e\u5361\u4fe1\u606f\u67e5\u8be2<\/b><\/p>\n

\u6b32\u5bf9\u663e\u5361\u8fdb\u884c\u914d\u7f6e\uff0c\u5fc5\u987b\u5148\u83b7\u53d6\u663e\u5361\u4e8e\u5f53\u524d\u7cfb\u7edf\u4e2d\u7684\u8be6\u5c3d\u4fe1\u606f\uff0c\u5982\u578b\u53f7\u89c4\u683c\u3001\u9a71\u52a8\u7248\u672c\u3001\u663e\u5b58\u5bb9\u91cf\u7b49\u7b49\u3002Linux\u73af\u5883\u63d0\u4f9b\u4e86\u7cfb\u5217\u9ad8\u7ea7\u547d\u4ee4<\/a>\u7528\u4e8e\u67e5\u8be2\u8fd9\u4e9b\u6570\u636e\uff0c\u5176\u4e2d\u5e38\u89c1\u7684\u5305\u62ec\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n

linux\u663e\u5361\u8bbe\u7f6e_linux\u663e\u5361\u914d\u7f6e\u6587\u4ef6_linux\u8bbe\u7f6e\u663e\u5361\u547d\u4ee4<\/p>\n

-lspci\u6307\u4ee4\uff1a\u6b64\u6307\u4ee4\u7528\u4e8e\u5c55\u793a\u6574\u4e2aPCI\u603b\u7ebf\u4e0a\u5404\u8bbe\u5907\u7684\u76f8\u5173\u53c2\u6570\uff0c\u5176\u4e2d\u5305\u542b\u663e\u5361\u8bbe\u5907\u3002\u4f7f\u7528lspci\u4fbf\u80fd\u8fc5\u901f\u4e14\u5168\u9762\u5730\u83b7\u53d6\u5230\u7cfb\u7edf\u5185\u6240\u6709\u663e\u5361\u8bbe\u5907\u7684\u8be6\u5c3d\u4fe1\u606f\uff0c\u8bf8\u5982\u8bbe\u5907\u6807\u8bc6\u7b26\u548c\u5236\u9020\u5546\u4fe1\u606f\u7b49\u91cd\u8981\u5185\u5bb9\u3002<\/p>\n

-lshw\u6307\u4ee4\uff1a\u8be5\u6b3e\u5b9e\u7528\u8f6f\u4ef6\u5177\u5907\u663e\u793a\u786c\u4ef6\u914d\u7f6e\u7684\u529f\u80fd\uff0c\u501f\u52a9\u6b64\u9879\u6307\u4ee4\uff0c\u60a8\u53ef\u638c\u63e1\u8ba1\u7b97\u673a\u5185\u5404\u5f0f\u5404\u6837\u786c\u4ef6\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5176\u4e2d\u4e5f\u5305\u62ec\u663e\u5361\u76f8\u5173\u6570\u636e\u3002\u4e0elspci\u76f8\u8f83\uff0clshw\u63d0\u4f9b\u7684\u7535\u5b50\u6570\u636e\u8868\uff08EDB\uff09\u66f4\u52a0\u5168\u9762\u548c\u7cbe\u786e\uff0c\u5217\u51fa\u4e86\u8bbe\u5907\u578b\u53f7\u4ee5\u53ca\u9a71\u52a8\u7a0b\u5e8f\u8fd9\u7c7b\u5173\u952e\u6027\u53c2\u6570\u3002<\/p>\n

-\u91c7\u7528nvidia-smi\u6307\u4ee4\uff1a\u82e5\u60a8\u6240\u4f7f\u7528\u4e4b\u8ba1\u7b97\u673a\u642d\u8f7d\u4e86NVIDIA\u663e\u5361\uff0c\u53ef\u501f\u7531\u8fd0\u884cnvidia-smi\u547d\u4ee4\uff0c\u4ee5\u83b7\u53d6\u663e\u5361\u7684\u5b9e\u65f6\u72b6\u51b5\u4e0e\u6027\u80fd\u6570\u636e\uff0c\u4f8b\u5982\u663e\u5b58\u5360\u7528\u7387\u3001\u6e29\u5ea6\u4ee5\u53ca\u80fd\u8017\u7b49\u5173\u952e\u53c2\u6570\u3002<\/p>\n

\u900f\u8fc7\u663e\u5361\u4fe1\u606f\u4fa6\u67e5\uff0c\u6211\u4eec\u4fbf\u80fd\u7cbe\u786e\u5730\u638c\u63e1\u5f53\u524d\u7cfb\u7edf\u5185\u7684\u663e\u5361\u5168\u8c8clinux\u542f\u52a8\u76d8\u5236\u4f5c\u5de5\u5177\uff0c\u4e3a\u4e4b\u540e\u66f4\u52a0\u7cbe\u7ec6\u5316\u7684\u8bbe\u5b9a\u4e0e\u8c03\u8bd5\u63d0\u4f9b\u6709\u529b\u7684\u6570\u636e\u652f\u6491\u3002<\/p>\n

3.\u663e\u5361\u9a71\u52a8\u7ba1\u7406<\/b><\/p>\n

Linux\u7cfb\u7edf\u4e2d\u7684\u663e\u5361\u9a71\u52a8\u7a0b\u5e8f\u5bf9\u663e\u5361\u6027\u80fd\u4e0e\u7a33\u5b9a\u81f3\u5173\u91cd\u8981\uff0c\u5b83\u76f4\u63a5\u5f71\u54cd\u4e86\u786c\u4ef6\u8868\u73b0\u53ca\u53ef\u80fd\u51fa\u73b0\u7684\u95ee\u9898\u3002\u6070\u5f53\u9009\u62e9\u5e76\u7ba1\u7406\u6b64\u7c7b\u9a71\u52a8\u80fd\u663e\u8457\u63d0\u9ad8\u7cfb\u7edf\u6548\u80fd\uff0c\u6709\u6548\u89c4\u907f\u517c\u5bb9\u6027\u548c\u7a33\u5b9a\u6027\u4e0a\u7684\u6311\u6218\u3002<\/p>\n

Linux\u73af\u5883\u4e0blinux\u547d\u4ee4vi\uff0c\u663e\u5361\u9a71\u52a8\u5e38\u5206\u4e3a\u5f00\u653e\u5f0f\u53ca\u5c01\u95ed\u5f0f\u4e24\u4e2a\u7c7b\u522b\u3002\u524d\u8005\u4e3b\u8981\u7531Linux\u793e\u7fa4\u7814\u53d1\u5e76\u8d1f\u8d23\u7ef4\u62a4\uff0c\u5305\u62ec\u4e8e\u6838\u5fc3\u7cfb\u7edf\u5185\uff0c\u9002\u7528\u786c\u4ef6\u5e7f\uff0c\u7136\u800c\u6027\u80fd\u4e0e\u529f\u80fd\u7a0d\u900a\u8272\u4e8e\u540e\u8005\u3002\u540e\u8005\u6765\u81ea\u72ec\u7acb\u663e\u5361\u5236\u9020\u5546\u4f9b\u5e94\uff0c\u5177\u5907\u4f18\u8d8a\u6027\u80fd\u548c\u591a\u529f\u80fd\u7279\u6027\uff0c\u4f46\u5bf9\u4e8e\u786c\u4ef6\u517c\u5bb9\u6027\u6216\u8bb8\u5b58\u5728\u9650\u5236\u3002<\/p>\n

linux\u663e\u5361\u8bbe\u7f6e_linux\u663e\u5361\u914d\u7f6e\u6587\u4ef6_linux\u8bbe\u7f6e\u663e\u5361\u547d\u4ee4<\/p>\n

\u9762\u5411NVIDIA\u663e\u5361\u65f6\uff0c\u4e3b\u6d41\u95ed\u6e90\u9a71\u52a8\u4e3aNVIDIA\u5b98\u65b9\u53d1\u5e03\u7684NVIDIA\u9a71\u52a8\u7a0b\u5e8f\uff0c\u5bf9\u5e94\u7684\u5f00\u6e90\u9a71\u52a8\u5305\u62ecNouveau\u9a71\u52a8\uff1b\u9488\u5bf9AMD\u663e\u5361\uff0c\u53ef\u9009\u62e9AMD\u5b98\u65b9\u63d0\u4f9b\u7684\u95ed\u6e90\u9a71\u52a8\u53ca\u5f00\u6e90\u9a71\u52a8radeon\u4e0eamdgpu\u7b49\u3002<\/p>\n

\u5f53\u9009\u7528\u663e\u5361\u9a71\u52a8\u65f6\uff0c\u9700\u4f9d\u636e\u81ea\u8eab\u786c\u4ef6\u914d\u7f6e\u4e0e\u5b9e\u9645\u9700\u6c42\u8fdb\u884c\u53d6\u820d\u3002\u6709\u65f6\u53ef\u80fd\u9700\u8981\u5728\u95ed\u6e90\u4e0e\u5f00\u6e90\u9a71\u52a8\u95f4\u8fdb\u884c\u8f6c\u6362\u3002\u6709\u5173\u663e\u5361\u9a71\u52a8\u7684\u5b89\u88c5\u3001\u5347\u7ea7\u53ca\u5207\u6362\u65b9\u6cd5\uff0c\u4f8b\u5982\u5728Ubuntu\u7cfb\u7edf\u4e0a\uff0c\u53ef\u901a\u8fc7apt\u6216\u6dfb\u52a0PPA\u6e90\u5b9e\u73b0\u95ed\u6e90\u9a71\u52a8\u7684\u5b89\u88c5\u3002<\/p>\n

\u5728\u7cbe\u7ec6\u7ba1\u7406\u663e\u5361\u9a71\u52a8\u65f6\uff0c\u52a1\u5fc5\u9002\u65f6\u5347\u7ea7\u9a71\u52a8\u7248\u672c\u4ee5\u83b7\u5f97\u6700\u65b0\u6027\u80fd\u4f18\u5316\u53ca\u5b89\u5168\u4fee\u6b63\u3002\u53e6\u5916\uff0c\u5728\u9a71\u52a8\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u9700\u614e\u91cd\u64cd\u4f5c\uff0c\u907f\u514d\u5bfc\u81f4\u7cfb\u7edf\u7a33\u5b9a\u6027\u53d7\u635f\u6216\u4ea7\u751f\u4e0d\u517c\u5bb9\u73b0\u8c61\u3002<\/p>\n

4.\u663e\u5361\u6027\u80fd\u8c03\u4f18<\/b><\/p>\n

\u5bf9\u4e8e\u8ffd\u6c42\u66f4\u5353\u8d8a\u6027\u80fd\u7684\u7528\u6237\uff0c\u638c\u63e1\u4ee5\u4e0b\u6307\u4ee4\u4e0e\u6280\u5de7\uff0c\u5bf9\u663e\u5361\u6027\u80fd\u8fdb\u884c\u7cbe\u7ec6\u8c03\u6574\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u51fa\u8272\u7684\u56fe\u5f62\u5904\u7406\u8d28\u91cf\u53ca\u6e38\u620f\u4f53\u9a8c\u3002<\/p>\n

-\u5bf9\u4e8eNVIDIA\u663e\u5361\u7528\u6237\u800c\u8a00\uff0c\u53ef\u8fd0\u7528nvidia-settings\u547d\u4ee4\u4ee5\u8c03\u8282\u663e\u5361\u6027\u80fd\u8868\u73b0\u3002\u8be5\u5de5\u5177\u540c\u65f6\u5177\u5907\u56fe\u5f62\u5316\u754c\u9762\u4e0e\u547d\u4ee4\u884c\u64cd\u4f5c\u4e24\u79cd\u9014\u5f84\u4f9b\u7528\u6237\u4f9d\u636e\u9700\u6c42\u6311\u9009\uff0c\u6d89\u53ca\u5230\u7684\u8c03\u6574\u9879\u76ee\u6709\u5206\u8fa8\u7387\u3001\u5237\u65b0\u9891\u7387\u4ee5\u53ca\u8272\u5f69\u8bbe\u5b9a\u7b49\u3002<\/p>\n

-NVIDIA\u663e\u5361\u8d85\u9891\u63a8\u8350\uff1a\u5bf9\u4e8e\u8ffd\u6c42\u6781\u81f4\u6027\u80fd\u7684\u7528\u6237\u800c\u8a00\uff0c\u53ef\u8003\u8651\u5bf9NVIDIA\u663e\u5361\u8fdb\u884c\u8d85\u9891\u64cd\u4f5c\u3002\u901a\u8fc7\u9002\u5f53\u63d0\u9ad8GPU\u5185\u6838\u4e0e\u663e\u5b58\u7684\u8fd0\u884c\u9891\u7387\uff0c\u53ef\u663e\u8457\u589e\u5f3a\u663e\u5361\u7684\u8ba1\u7b97\u4e0e\u6e32\u67d3\u80fd\u529b\uff0c\u4ece\u800c\u83b7\u53d6\u66f4\u51fa\u8272\u7684\u6e38\u620f\u5e27\u901f\u7387\u53ca\u56fe\u50cf\u5904\u7406\u6027\u80fd\u3002\u7136\u800c\uff0c\u9700\u8b66\u60d5\u8d85\u9891\u6709\u53ef\u80fd\u5bfc\u81f4\u663e\u5361\u529f\u8017\u548c\u6e29\u5ea6\u4e0a\u5347\uff0c\u4ece\u800c\u7f29\u77ed\u786c\u4ef6\u4f7f\u7528\u5bff\u547d\u3002<\/p>\n

linux\u663e\u5361\u914d\u7f6e\u6587\u4ef6_linux\u663e\u5361\u8bbe\u7f6e_linux\u8bbe\u7f6e\u663e\u5361\u547d\u4ee4<\/p>\n

-AMD\u663e\u5361\u914d\u7f6e\uff1a\u9488\u5bf9AMD\u663e\u5361\u4f7f\u7528\u8005\uff0c\u6211\u4eec\u63a8\u8350\u91c7\u7528amdconfig\u6307\u4ee4\u4ee5\u4f18\u5316\u5e76\u8c03\u8282\u663e\u5361\u6027\u80fd\u3002\u6b64\u6307\u4ee4\u6db5\u76d6\u4f17\u591a\u9009\u9879\u4e0e\u53c2\u6570\u53ef\u4f9b\u9009\u62e9\uff0c\u5305\u62ec\u8bbe\u5b9a\u5206\u8fa8\u7387\u3001\u8272\u5f69\u7ba1\u7406\u4ee5\u53ca\u663e\u793a\u5668\u6392\u5217\u7b49\u76f8\u5173\u5185\u5bb9\u3002<\/p>\n

\u901a\u8fc7\u5bf9\u663e\u5361\u6027\u80fd\u7684\u63d0\u5347\uff0c\u53ef\u786e\u4fdd\u7cfb\u7edf\u7a33\u5b9a\u6027\u57fa\u7840\u4e0a\uff0c\u4f18\u5316\u56fe\u5f62\u5904\u7406\u53ca\u6e38\u620f\u6027\u80fd\uff0c\u8fdb\u800c\u8fdb\u4e00\u6b65\u4f18\u5316\u4f7f\u7528\u8005\u7684\u4f53\u9a8c\u3002<\/p>\n

5.\u663e\u5361\u6545\u969c\u6392\u9664<\/b><\/p>\n

\u5728\u8fd0\u7528Linux\u64cd\u4f5c\u7cfb\u7edf\u65f6\uff0c\u96be\u514d\u4f1a\u9047\u81f4\u5404\u7c7b\u663e\u5361\u95ee\u9898\uff0c\u5982\u9a71\u52a8\u5f02\u5e38\u3001\u5c4f\u5e55\u663e\u5f0f\u5f02\u5e38\u53ca\u6027\u80fd\u6ed1\u5761\u7b49\u3002\u53ca\u65f6\u6392\u67e5\u5e76\u6d88\u9664\u8fd9\u4e9b\u95ee\u9898\uff0c\u4e43\u662f\u4fdd\u8bc1\u7cfb\u7edf\u7a33\u5b9a\u8fd0\u884c\u7684\u91cd\u8981\u4fdd\u969c\u3002<\/p>\n

\u5e38\u89c1\u7684\u663e\u5361\u6545\u969c\u6392\u9664\u65b9\u6cd5\u5305\u62ec\uff1a<\/p>\n

-\u67e5\u9605\u7cfb\u7edf\u65e5\u5fd7\uff1a\u82e5\u9762\u4e34\u4e0e\u663e\u5361\u6709\u5173\u7684\u95ee\u9898\uff0c\u7cfb\u7edf\u65e5\u5fd7\u662f\u5173\u952e\u7684\u8bca\u65ad\u9014\u5f84\u3002\u4f8b\u5982\uff1a\/var\/log\/Xorg.0.log\u53ca\/var\/log\/syslog\u7b49\u591a\u5904\u53ef\u4f9b\u67e5\u8be2\u3002\u901a\u8fc7\u5bf9\u8fd9\u4e9b\u65e5\u5fd7\u4e2d\u5305\u542b\u7684\u9519\u8bef\u6216\u8b66\u544a\u4fe1\u606f\u8fdb\u884c\u6df1\u5165\u5256\u6790\uff0c\u80fd\u51c6\u786e\u627e\u51fa\u6545\u969c\u7684\u771f\u6b63\u6839\u6e90\u3002<\/p>\n

\u9700\u65f6\u523b\u6ce8\u610f\u9a71\u52a8\u7a0b\u5e8f\u662f\u5426\u9700\u8981\u66f4\u65b0\uff1a\u663e\u5361\u82e5\u51fa\u73b0\u6545\u969c\uff0c\u5f88\u6709\u53ef\u80fd\u4e0e\u5176\u8001\u5316\u6216\u4e0d\u517c\u5bb9\u7684\u9a71\u52a8\u7a0b\u5e8f\u6709\u5173\u3002\u8fd9\u5c31\u8981\u6c42\u6211\u4eec\u8981\u53ca\u65f6\u5730\u5347\u7ea7\u9a71\u52a8\u7a0b\u5e8f\u4ee5\u5e94\u5bf9\u53ef\u80fd\u51fa\u73b0\u7684\u663e\u5361\u5f02\u5e38\u72b6\u51b5\u3002\u5347\u7ea7\u9014\u5f84\u6709\u4e24\u79cd\uff0c\u65e2\u53ef\u4ee5\u5728\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6700\u65b0\u9a71\u52a8\uff0c\u4e5f\u53ef\u4ee5\u501f\u52a9\u7b2c\u4e09\u65b9\u5de5\u5177\u5b8c\u6210\u6b64\u9879\u4efb\u52a1\u3002<\/p>\n

-\u6392\u67e5\u786c\u4ef6\u8fde\u7ebf\uff1a\u663e\u5361\u5931\u6548\u539f\u56e0\u6216\u4e3a\u786c\u4ef6\u8fde\u7ebf\u4e0d\u7a33\u5b9a\uff0c\u4ea6\u6216\u662f\u63d2\u7cdf\u63a5\u89e6\u4e0d\u4f73\u6240\u81f4\u3002\u56e0\u6b64\u52a1\u5fc5\u786e\u4fdd\u663e\u5361\u4e0e\u4e3b\u677f\u95f4\u7684\u8fde\u7ed3\u7a33\u56fa\u65e0\u61c8\u6020linux\u8bbe\u7f6e\u663e\u5361\u547d\u4ee4<\/strong>\uff0c\u63d2\u5934\u5e72\u51c0\u5e73\u6ed1\u3002<\/p>\n

-\u663e\u5361\u8bbe\u5b9a\u8fd8\u539f\uff1a\u9488\u5bf9\u67d0\u4e9b\u60c5\u51b5\uff0c\u82e5\u663e\u5361\u53c2\u6570\u8c03\u6574\u4e0d\u5f53\u6216\u914d\u7f6e\u6587\u6863\u53d7\u635f\uff0c\u5747\u6709\u53ef\u80fd\u5f15\u53d1\u8bbe\u5907\u6545\u969c\u3002\u5efa\u8bae\u60a8\u5c06\u663e\u5361\u8bbe\u5b9a\u6062\u590d\u81f3\u521d\u59cb\u72b6\u6001\uff0c\u6216\u79fb\u9664\u73b0\u6709\u914d\u7f6e\u5e76\u91cd\u65b0\u521b\u5efa\u3002<\/p>\n

\u8fd0\u7528\u4e0a\u8ff0\u63aa\u65bd\uff0c\u53ef\u7cbe\u51c6\u6392\u9664\u5404\u7c7b\u663e\u5361\u95ee\u9898\uff0c\u786e\u4fdd\u7cfb\u7edf\u957f\u671f\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n

6.\u663e\u5361\u76d1\u63a7\u4e0e\u7ba1\u7406<\/b><\/p>\n

\u76d1\u63a7\u663e\u5361\u72b6\u6001\u53ca\u6027\u80fd\u5bf9\u4fdd\u6301\u7cfb\u7edf\u7a33\u5b9a\u8fd0\u4f5c\u81f3\u5173\u91cd\u8981\uff0c\u5e76\u80fd\u53ca\u65e9\u8bc6\u522b\u6f5c\u5728\u95ee\u9898\u3002Linux\u7cfb\u7edf\u4e3a\u6b64\u914d\u5907\u4e86\u8bf8\u5982nvidia-smi\u4e0eglxinfo\u8fd9\u6837\u7684\u5b9e\u7528\u5de5\u5177\u548c\u547d\u4ee4\u6765\u534f\u52a9\u6b64\u9879\u5de5\u4f5c\u3002<\/p>\n

-`nvidia-smi`\u6307\u4ee4\uff1a\u6b64\u6307\u4ee4\u5177\u5907\u67e5\u770bNVIDIA\u663e\u5361\u8fd0\u4f5c\u72b6\u6001\u4e0e\u6027\u80fd\u7684\u529f\u80fd\uff0c\u6db5\u76d6\u663e\u5b58\u6d88\u8017\u72b6\u51b5\u3001\u6e29\u5ea6\u4ee5\u53ca\u80fd\u8017\u7b49\u6307\u6807\u3002\u5b9a\u671f\u6267\u884c\u6b64\u547d\u4ee4\u6709\u52a9\u4e8e\u5b9e\u65f6\u638c\u63a7\u663e\u5361\u52a8\u6001\uff0c\u53ca\u65e9\u8bc6\u522b\u5f02\u5e38\u73b0\u8c61\u3002<\/p>\n

-\u501f\u52a9glxinfo\u547d\u4ee4\uff1a\u6b64\u5de5\u5177\u4e3b\u8981\u8d1f\u8d23\u6536\u96c6\u548c\u68c0\u7d22\u4e0eOpenGL\u6709\u5173\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5982\u663e\u5361\u578b\u53f7\u53ca\u9a71\u52a8\u7a0b\u5e8f\u7248\u672c\u7b49\u3002\u5728\u5f00\u53d1\u548c\u8c03\u8bd5\u6d89\u53caOpenGL\u6280\u672f\u7684\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u53ef\u901a\u8fc7\u8fd9\u4e2a\u547d\u4ee4\u786e\u4fdd\u7cfb\u7edf\u7684OpenGL\u914d\u7f6e\u65e0\u8bef\u3002<\/p>\n

linux\u8bbe\u7f6e\u663e\u5361\u547d\u4ee4_linux\u663e\u5361\u8bbe\u7f6e_linux\u663e\u5361\u914d\u7f6e\u6587\u4ef6<\/p>\n

-\u663e\u5361\u6e29\u5ea6\u8c03\u63a7\uff1a\u663e\u5361\u6e29\u5ea6\u76f4\u63a5\u5173\u8054\u7740\u5176\u8fd0\u884c\u6548\u679c\u4e0e\u7a33\u5b9a\u6027\uff0c\u9ad8\u4f4d\u8fd0\u884c\u4ea7\u751f\u7684\u70ed\u91cf\u6613\u4f1a\u4f7f\u663e\u5361\u6027\u80fd\u4e0b\u6ed1\u4e43\u81f3\u786c\u4ef6\u53d7\u635f\u3002\u56e0\u6b64\uff0c\u8fd0\u7528\u5404\u7c7b\u76d1\u63a7\u8f6f\u4ef6\u5bf9\u663e\u5361\u6e29\u5ea6\u8fdb\u884c\u5b9e\u65f6\u76d1\u63a7\u663e\u5f97\u81f3\u5173\u91cd\u8981\uff0c\u5982NVIDIA-SMI\u3001LM-Sensors\u7b49\u3002<\/p>\n

\u4f9d\u9760\u5bf9\u663e\u5361\u72b6\u6001\u4e0e\u6027\u80fd\u7684\u76d1\u63a7linux\u8bbe\u7f6e\u663e\u5361\u547d\u4ee4<\/strong>\uff0c\u6211\u4eec\u80fd\u591f\u6709\u9488\u5bf9\u6027\u5730\u53d1\u73b0\u5e76\u89e3\u51b3\u5404\u7c7b\u663e\u5361\u76f8\u5173\u95ee\u9898\uff0c\u4ece\u800c\u4fdd\u969c\u7cfb\u7edf\u7a33\u5b9a\u6027\u53ca\u53ef\u9760\u6027\u3002<\/p>\n

7.\u6027\u80fd\u6d4b\u8bd5\u4e0e\u4f18\u5316<\/b><\/p>\n

\u5bf9\u4e8e\u6709\u9ad8\u6027\u80fd\u9700\u6c42\u7684\u7528\u6237\uff0c\u53ef\u501f\u52a9\u6027\u80fd\u6d4b\u8bd5\u53ca\u4f18\u5316\u65b9\u6cd5\u4ee5\u63d0\u5347\u7cfb\u7edf\u4e2d\u7684\u56fe\u5f62\u5904\u7406\u80fd\u529b\u4ee5\u53ca\u6e38\u620f\u6027\u80fd\u6c34\u5e73\u3002\u5e38\u7528\u7684\u6027\u80fd\u6d4b\u8bd5\u5de5\u5177\u6709UnigineHeaven\u4e0e3DMark\u7b49\uff0c\u8fd0\u884c\u8fd9\u4e9b\u6d4b\u8bd5\u8f6f\u4ef6\uff0c\u80fd\u5168\u65b9\u4f4d\u8bc4\u4f30\u663e\u5361\u6027\u80fd\uff0c\u968f\u540e\u4f9d\u636e\u6d4b\u8bd5\u53cd\u9988\u8fdb\u884c\u9002\u5f53\u7684\u4f18\u5316\u6539\u5584\u3002<\/p>\n

\u5b9e\u73b0\u6027\u80fd\u4f18\u5316\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u8fd0\u7528\u8c03\u6574\u663e\u5361\u9a71\u52a8\u8bbe\u7f6e\uff0c\u5b8c\u5584\u7cfb\u7edf\u914d\u7f6e\u4ee5\u53ca\u5237\u65b0\u786c\u4ef6\u8bbe\u65bd\u7b49\u9014\u5f84\uff0c\u4ee5\u63d0\u5347\u56fe\u5f62\u5904\u7406\u6548\u7387\u53ca\u6e38\u620f\u8d28\u91cf\u3002\u53e6\u5916\uff0c\u501f\u52a9\u76d1\u63a7\u8f6f\u4ef6\u8fdb\u884c\u5b9e\u65f6\u663e\u5361\u72b6\u51b5\u68c0\u6d4b\uff0c\u4ee5\u8fc5\u901f\u53d1\u73b0\u5e76\u5904\u7406\u6027\u80fd\u96be\u9898\u3002<\/p>\n

\u901a\u8fc7\u8fdb\u884c\u6df1\u5ea6\u6027\u80fd\u6d4b\u8bd5\u4e0e\u4f18\u5316\u63aa\u65bd\uff0c\u53ef\u6316\u6398\u663e\u5361\u6f5c\u529b\uff0c\u5168\u9762\u63d0\u9ad8\u7cfb\u7edf\u7efc\u5408\u6548\u80fd\u53ca\u7528\u6237\u4f53\u9a8c\uff0c\u6700\u7ec8\u5448\u73b0\u66f4\u4e3a\u6d41\u7545\u4e14\u8212\u9002\u4e4b\u7528\u673a\u73af\u5883\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4e3a\u4e86\u4f18\u5316Linux\u7cfb\u7edf\u6027\u80fd\uff0c\u4f18\u5316\u56fe\u5f62\u5c55\u793a\uff0c\u6b63\u786e\u914d\u7f6e\u663e\u5361\u53c2\u6570\u663e\u5f97\u5c24\u4e3a\u91cd\u8981\u3002-AMD\u663e\u5361\u914d\u7f6e\uff1a\u9488\u5bf9AMD\u663e\u5361\u4f7f\u7528\u8005\uff0c\u6211\u4eec\u63a8\u8350\u91c7\u7528amdconfig\u6307\u4ee4\u4ee5\u4f18\u5316\u5e76\u8c03\u8282\u663e\u5361\u6027\u80fd\u3002<\/p>\n","protected":false},"author":1,"featured_media":291119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-291118","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/291118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=291118"}],"version-history":[{"count":0,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/291118\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/291119"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=291118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=291118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=291118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}