zoukankan      html  css  js  c++  java
  • mint 20 install NVIDIA driver for 3080 via run

    3080 太新 在mint里还没有驱动。只能自己手动下载run文件

     安装过程参考 https://blog.csdn.net/qq_30468723/article/details/107531062

    1下载run文件

    https://www.nvidia.cn/Download/index.aspx?lang=cn

    设置成可执行 

    sudo chmod a+x NVIDIA-Linux-x86_64-455.23.04.run

     复制到/home根目录

    2 前置条件

    sudo apt-get -y install build-essential
    sudo apt-get install dkms

    3 禁用nouveau

    sudo xed /etc/modprobe.d/blacklist.conf

    添加

    blacklist nouveau

    options nouveau modeset=0

    sudo update-initramfs -u

    重启

    sudo reboot

    检查

    lsmod | grep nouveau

    无内容 说明禁用成功

    4 安装

    进入命令行

    ctrl+alt+F1

    删除其他版本

    sudo apt-get remove nvidia-*

    安装

    sudo ./
    NVIDIA-Linux-x86_64-455.23.04.run -no-x-check -no-nouveau-check -no-opengl-files

    选项,一定要慢一点,不要按太快,而且不简单是默认选项

    第一个选继续安装

    第2个dkms我选择了yes,默认是No

    Would you like to register the kernel module souces with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later?

    第3个选择yes,默认是no

    Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x? Any pre-existing x confile will be backed up.
    选择 Yes 继续

    5 安装完毕

    modprobe nvidia

    检查

    nvidia-smi

    重启

    sudo reboot
  • 相关阅读:
    JAVA 高级特性 JDBC
    C3P0 连接池
    JAVA WEB Servlet
    JAVAWEB JSP
    sed 命令
    shell 简单脚本编程
    从首页问答标题到问答详情页
    首页列表显示全部问答,完成问答详情页布局
    制作首页的显示列表
    发布功能完成
  • 原文地址:https://www.cnblogs.com/xuanmanstein/p/13891014.html
Copyright © 2011-2022 走看看