{"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":"
\n
\n

<\/span>\u8f6f\u786c\u4ef6\u73af\u5883<\/span><\/span><\/h4>\n
    \n
  • ubuntu 18.04 64bit<\/li>\n
  • NVidia GTX 1070Ti<\/li>\n<\/ul>\n

    <\/span>\u524d\u8a00<\/span><\/span><\/h4>\n

    \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\u4ee5nvidia 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

    \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\u5165sudo 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>\n

    \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\u4e2drecommended<\/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>\n

    \u5982\u679c\u4f60\u60f3\u5b89\u88c5\u5176\u4ed6\u7684\u7248\u672c\uff0c\u5982435\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528apt<\/code>\u5b89\u88c5<\/p>\n

    sudo apt install nvidia-driver-435
    <\/code><\/pre>\n

    \u5b89\u88c5\u6210\u529f\u540e\uff0c\u9700\u8981\u91cd\u542f\u7cfb\u7edf\u751f\u6548\uff0c\u7136\u540e\u8fdb\u5165\u7ec8\u7aefterminal<\/code>\uff0c\u6267\u884cnvidia-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>\n

    \u81f3\u6b64\uff0cnvidia<\/code>\u663e\u5361\u7684\u9a71\u52a8\u5c31\u5df2\u7ecf\u5b89\u88c5\u6210\u529f\u4e86<\/p>\n

    <\/span>\u65b9\u6cd5\u4e8c<\/span><\/span><\/h4>\n

    \u6211\u4eec\u5230nvidia<\/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

    \"ft2232\u9a71\u52a8\u5b89\u88c5\u65b9\u6cd5_ubuntu\u5b89\u88c5nvidia\u663e\u5361\u9a71\u52a8\u76842\u79cd\u65b9\u6cd5<\/p>\n

    \n nvidia driver
    \n <\/figcaption><\/figure>\n

    \u6839\u636e\u81ea\u5df1\u7684\u64cd\u4f5c\u7cfb\u7edf\u3001\u663e\u5361\u578b\u53f7\u3001\u663e\u793a\u8bed\u8a00\u7b49\u5b9e\u9645\u60c5\u51b5\u9009\u62e9<\/p>\n

    \"ft2232\u9a71\u52a8\u5b89\u88c5\u65b9\u6cd5_ubuntu\u5b89\u88c5nvidia\u663e\u5361\u9a71\u52a8\u76842\u79cd\u65b9\u6cd5<\/p>\n

    \n nvidia driver
    \n <\/figcaption><\/figure>\n

    \u63a5\u4e0b\u6765\uff0c\u70b9\u51fbDownload<\/code>\u5c31\u53ef\u4ee5\u4e0b\u8f7d\u4e86\uff0c\u5b8c\u6210\u540e\u662f\u4e00\u4e2arun<\/code>\u6587\u4ef6<\/p>\n

    chmod a+x NVIDIA-Linux-x86_64-450.66.run
    sudo .\/NVIDIA-Linux-x86_64-450.66.run
    <\/code><\/pre>\n

    \u6309\u7167\u63d0\u793a\u4e00\u6b65\u6b65\u5b89\u88c5\u5c31\u53ef\u4ee5\u4e86\u3002\u5b89\u88c5\u597d\u4e86\u540e\uff0c\u540c\u6837\u662f\u91cd\u542f\u7535\u8111\u5e76\u4f7f\u7528nvidia-smi<\/code>\u6765\u9a8c\u8bc1\u662f\u5426\u6210\u529f<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"ft2232\u9a71\u52a8\u5b89\u88c5\u65b9\u6cd5_ubuntu\u5b89\u88c5nvidia\u663e\u5361\u9a71\u52a8\u76842\u79cd\u65b9\u6cd5\u8f6f\u786c\u4ef6\u73af\u5883ubuntu18.0464bitNVidiaGTX1070Ti\u524d\u8a00\u505a\u6df1\u5ea6\u5b66\u4e60\u76f8\u5173\u7684\u5b66\u4e60...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8290"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8290"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8290\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}