• ubuntu 18.04安装RTX 2060 显卡驱动


    第一:安装ppa的显卡驱动源

    sudo add-apt-repository ppa:graphics-drivers/ppa
    sudo apt update

    第二:检查显卡和推荐驱动

    ubuntu-drivers devices

    现实如下结果:

    ffly@noi:~$ ubuntu-drivers devices
    == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
    modalias : pci:v000010DEd00001F08sv000010DEsd000012FDbc03sc00i00
    vendor   : NVIDIA Corporation
    driver   : nvidia-driver-415 - third-party free
    driver   : nvidia-driver-418 - third-party free
    driver   : nvidia-driver-430 - third-party free recommended
    driver   : xserver-xorg-video-nouveau - distro free builtin

    推荐的是430显卡。

    第三:安装

    sudo apt install nvidia-driver-430

    第四:重启并检查:

    nvidia-smi

    如果输出:

    ffly@noi:~$ nvidia-smi
    Mon May  6 07:54:58 2019       
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 430.09       Driver Version: 430.09       CUDA Version: 10.1     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  GeForce RTX 2060    Off  | 00000000:01:00.0  On |                  N/A |
    |  0%   46C    P8    11W / 160W |    189MiB /  5931MiB |      2%      Default |
    +-------------------------------+----------------------+----------------------+
                                                                                   
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |    0      1401      G   /usr/lib/xorg/Xorg                           108MiB |
    |    0      1569      G   /usr/bin/gnome-shell                          75MiB |
    |    0      2518      G   /usr/lib/firefox/firefox                       3MiB |
    +-----------------------------------------------------------------------------+

    第五:如果正常显示,则表示安装成功。

  • 相关阅读:
    第一周任务Largest Submatrix of All 1’s
    第一周 Largest Rectangle in a Histogram
    第二次作业
    B. Light bulbs(2019 ICPC上海站)
    二维平面最近点-分治
    python生成器,推导式
    python函数名的运用,闭包,迭代器
    python函数(二)
    python函数(一)
    python基础(七)
  • 原文地址:https://www.cnblogs.com/litifeng/p/10817562.html
Copyright © 2020-2023  润新知