{"id":8290,"date":"2024-04-24T21:01:01","date_gmt":"2024-04-24T13:01:01","guid":{"rendered":""},"modified":"2024-04-24T21:01:01","modified_gmt":"2024-04-24T13:01:01","slug":"ft2232\u9a71\u52a8\u5b89\u88c5\u65b9\u6cd5_ubuntu\u5b89\u88c5nvidia\u663e\u5361\u9a71\u52a8\u76842\u79cd\u65b9\u6cd5","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8290.html","title":{"rendered":"ft2232\u9a71\u52a8\u5b89\u88c5\u65b9\u6cd5_ubuntu\u5b89\u88c5nvidia\u663e\u5361\u9a71\u52a8\u76842\u79cd\u65b9\u6cd5"},"content":{"rendered":"
\u505a\u6df1\u5ea6\u5b66\u4e60\u76f8\u5173\u7684\u5b66\u4e60\u6216\u5de5\u4f5c\u65f6\uff0c\u5b89\u88c5\u663e\u5361\u7684\u9a71\u52a8\u662f\u7b2c\u4e00\u4ef6\u8981\u505a\u7684\u4e8b\uff0c\u672c\u6587\u4ee5 \u8fd9\u79cd\u65b9\u6cd5\u5bf9\u5927\u90e8\u5206\u4eba\u6765\u8bf4\uff0c\u662f\u6700\u5bb9\u6613\u4e5f\u662f\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u3002\u5728\u7ec8\u7aef\u8f93\u5165 \u4ece\u4e0a\u9762\u7684\u8f93\u51fa\u4fe1\u606f\u4e2d\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u673a\u5668\u4e2d\u7684\u663e\u5361\u4fe1\u606f\u4ee5\u53ca\u53ef\u4ee5\u5b89\u88c5\u7684\u9a71\u52a8\u7248\u672c\uff0c\u5176\u4e2d \u5982\u679c\u4f60\u60f3\u5b89\u88c5\u5176\u4ed6\u7684\u7248\u672c\uff0c\u5982435\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528 \u5b89\u88c5\u6210\u529f\u540e\uff0c\u9700\u8981\u91cd\u542f\u7cfb\u7edf\u751f\u6548\uff0c\u7136\u540e\u8fdb\u5165\u7ec8\u7aef \u81f3\u6b64\uff0c \u6211\u4eec\u5230 <\/p>\nnvidia Geforce 1070Ti<\/code>\u663e\u5361\u4e3a\u4f8b\uff0c\u5206\u4eab2\u79cd\u7531\u6613\u5230\u96be(\u5176\u5b9e\u4e5f\u4e0d\u96be)\u7684\u5b89\u88c5\u65b9\u6cd5\uff0c\u4f9b\u5927\u5bb6\u53c2\u8003\u3002<\/p>\n
<\/span>\u65b9\u6cd5\u4e00<\/span><\/span><\/h4>\n
sudo ubuntu-drivers devices<\/code><\/p>\n
(base) xugaoxiang@1070Ti:~$ sudo ubuntu-drivers devices
== \/sys\/devices\/pci0000:00\/0000:00:03.0\/0000:03:00.0 ==
modalias : pci:v000010DEd00001B82sv00001458sd00003794bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070 Ti]
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-435 - distro non-free
driver : nvidia-driver-450 - distro non-free
driver : nvidia-driver-450-server - distro non-free recommended
driver : nvidia-driver-418-server - distro non-free
driver : nvidia-driver-440-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
<\/code><\/pre>\nrecommended<\/code>\u662f\u9ed8\u8ba4\u63a8\u8350\u7684\u7248\u672c\uff0c\u6267\u884c\u4e0b\u9762\u547d\u4ee4\u5b89\u88c5\u63a8\u8350\u7684\u7248\u672c<\/p>\n
sudo ubuntu-drivers autoinstall
<\/code><\/pre>\napt<\/code>\u5b89\u88c5<\/p>\n
sudo apt install nvidia-driver-435
<\/code><\/pre>\nterminal<\/code>\uff0c\u6267\u884c
nvidia-smi<\/code>\u8fdb\u884c\u9a8c\u8bc1<\/p>\n
(base) xugaoxiang@1070Ti:~$ nvidia-smi
Thu Sep 24 13:20:51 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.66 Driver Version: 450.66 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage\/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 107... Off | 00000000:03:00.0 On | N\/A |
| 0% 54C P5 18W \/ 180W | 623MiB \/ 8116MiB | 22% Default |
| | | N\/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N\/A N\/A 1525 G \/usr\/lib\/xorg\/Xorg 247MiB |
| 0 N\/A N\/A 2088 G \/usr\/bin\/gnome-shell 206MiB |
| 0 N\/A N\/A 3138 G ...charm-2020.1\/jbr\/bin\/java 7MiB |
| 0 N\/A N\/A 12627 G ...AAAAAAAAA= --shared-files 157MiB |
+-----------------------------------------------------------------------------+
(base) xugaoxiang@1070Ti:~$
<\/code><\/pre>\nnvidia<\/code>\u663e\u5361\u7684\u9a71\u52a8\u5c31\u5df2\u7ecf\u5b89\u88c5\u6210\u529f\u4e86<\/p>\n
<\/span>\u65b9\u6cd5\u4e8c<\/span><\/span><\/h4>\n
nvidia<\/code>\u7684\u5b98\u65b9\u7f51\u7ad9\u53bb\u4e0b\u8f7d\u76f8\u5e94\u7684\u9a71\u52a8\u5b89\u88c5\u6587\u4ef6\uff0c\u5730\u5740\u662f
https:\/\/www.nvidia.com\/download\/index.aspx?lang=en-us<\/code><\/p>\n