当前位置: 首页 > news >正文

nvidia驱动升级-ubuntu 1804

升级

1.从官网下载*.run驱动文件
2.卸载原始驱动

sudo /usr/bin/nvidia-uninstall
sudo apt-get --purge remove nvidia-\*   # 可能不需要加-\
sudo apt-get purge nvidia-\*                  # 可能不需要加-\
sudo apt-get purge libnvidia-\*              # 可能不需要加-\
sudo apt-get autoremove                     # 可能不需要或执行失败

3.关闭进程

sudo systemctl isolate multi-user.target
sudo modprobe -r nvidia-drm

3.1关闭自启动gpu服务
4.重启服务器

reboot

5.安装驱动

sh *.run

5.1安装成功后,开启自启动gpu服务
6.重启服务器

—或者直接执行

./Tesla-V100-NVIDIA-Linux-x86_64-535.183.06.run -no-x-check

进行覆盖安装,若提醒有程序占用,则关闭/etc/rc.local中的启动项,重启服务器再进行安装。

安装过程提示:Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if your kernel changes later.您要向DKMS注册内核模块源代码吗?如果您稍后更改了内核,这将允许DKMS自动构建新模块。 可选择No。

异常处理:

0.需要先卸载之前的驱动:
1.报内核不匹配

apt install linux-headers-generic

2.sh RTX8000-NVIDIA-Linux-x86_64-535.129.03.run 安装GPU驱动报错:

ERROR: An NVIDIA kernel module 'nvidia-uvm' appears to already be loaded in your kernel.  This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your    
  kernel was configured without support for module unloading.  Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver.  If no GPU-based programs are running, you know that your kernel 
  supports module unloading, and you still receive this message, then an error may have occurred that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer. 

3.执行

bash RTX8000-NVIDIA-Linux-x86_64-535.129.03.run

4.重启

rebbot
http://www.dtcms.com/a/53582.html

相关文章:

  • 系统架构设计师—数据库基础篇—关系代数运算
  • FreeRTOS 任务管理与运行时间统计:API 解析与配置实践
  • SQLAlchemy系列教程:集成Pydantic增强数据处理能力
  • 7.自然语言处理(NLP)理论基础——大模型微调的基石
  • 【蓝桥杯集训·每日一题2025】 AcWing 5539. 牛奶交换 python
  • C语言番外篇(4)------------------>VS环境下源码的隐藏
  • Dify部署踩坑指南(Windows+Mac)
  • Spring Boot 项目中 Redis 常见问题及解决方案
  • 常见的限流算法有哪些?
  • 社区智慧养老标准规范全解析
  • Java停车平台高并发抢锁技术方案设计 - 慧停宝开源停车管理平台
  • C语言番外篇(5)-------------->作用域与生命周期
  • 基于ANTLR4的大数据SQL编辑器解析引擎实践|得物技术
  • aws(学习笔记第三十一课) aws cdk深入学习(batch-arm64-instance-type)
  • 贪心算法一
  • python实现的生态模拟系统
  • 第5章:vuex
  • Linux部署java项目
  • NO.26十六届蓝桥杯备战|字符数组七道练习|islower|isupper|tolower|toupper|strstr(C++)
  • 支持多数据源的 MyBatis-Plus 实现
  • C语言基础之【指针】(下)
  • Python的那些事第四十二篇:Python的无人机监控环境监测系统研究
  • macos查询pip默认镜像地址
  • 基于Hadoop的热门旅游景点推荐数据分析与可视化系统(基于Django大数据技术的热门旅游景点数据分析与可视化)
  • 抽象类与普通类的核心区别
  • Leetcode 264-丑数/LCR 168/剑指 Offer 49
  • QT异步编程
  • 无显示器安装访问树莓派3B+
  • C语言基础系列【19】inline关键字
  • 鸿蒙开发:RelativeContainer 相对布局详解【全套华为认证学习资料分享(考试大纲、培训教材、实验手册等等)】