ubuntu系统升级软件sudo apt upgrade后GPU崩溃报错,显示驱动版本不匹配——ubuntu系统版本过低导致的问题
ubuntu系统升级软件(sudo apt upgrade)后,GPU崩溃报错,查看系统日志:
Aug 2 06:25:02 lcwt rsyslogd: [origin software="rsyslogd" swVersion="8.32.0" x-pid="2059" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Aug 2 07:17:01 lcwt CRON[35084]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 2 07:20:24 lcwt kernel: [51371.511509] NVRM: API mismatch: the client has the version 515.105.01, but
Aug 2 07:20:24 lcwt kernel: [51371.511509] NVRM: this kernel module has the version 515.76. Please
Aug 2 07:20:24 lcwt kernel: [51371.511509] NVRM: make sure that this kernel module and all NVIDIA driver
Aug 2 07:20:24 lcwt kernel: [51371.511509] NVRM: components have the same version.
Aug 2 07:22:24 lcwt kernel: [51491.717119] NVRM: API mismatch: the client has the version 515.105.01, but
Aug 2 07:22:24 lcwt kernel: [51491.717119] NVRM: this kernel module has the version 515.76. Please
Aug 2 07:22:24 lcwt kernel: [51491.717119] NVRM: make sure that this kernel module and all NVIDIA driver
Aug 2 07:22:24 lcwt kernel: [51491.717119] NVRM: components have the same version.
Aug 2 07:22:27 lcwt kernel: [51494.080710] NVRM: API mismatch: the client has the version 515.105.01, but
Aug 2 07:22:27 lcwt kernel: [51494.080710] NVRM: this kernel module has the version 515.76. Please
Aug 2 07:22:27 lcwt kernel: [51494.080710] NVRM: make sure that this kernel module and all NVIDIA driver
Aug 2 07:22:27 lcwt kernel: [51494.080710] NVRM: components have the same version.
Aug 2 07:38:53 lcwt kernel: [52480.365436] NVRM: API mismatch: the client has the version 515.105.01, but
Aug 2 07:38:53 lcwt kernel: [52480.365436] NVRM: this kernel module has the version 515.76. Please
Aug 2 07:38:53 lcwt kernel: [52480.365436] NVRM: make sure that this kernel module and all NVIDIA driver
Aug 2 07:38:53 lcwt kernel: [52480.365436] NVRM: components have the same version.
Aug 2 07:39:06 lcwt systemd[1]: Started Session 45 of user lichangya.
Aug 2 07:39:13 lcwt kernel: [52500.424469] NVRM: API mismatch: the client has the version 515.105.01, but
Aug 2 07:39:13 lcwt kernel: [52500.424469] NVRM: this kernel module has the version 515.76. Please
Aug 2 07:39:13 lcwt kernel: [52500.424469] NVRM: make sure that this kernel module and all NVIDIA driver
Aug 2 07:39:13 lcwt kernel: [52500.424469] NVRM: components have the same version.
========================================
感觉十分的诡异,经过一番研究后发现了问题,原来是操作系统的版本过低,系统的版本是ubuntu18.04,因此默认支持的gcc版本最高为GCC-7,因此导致默认升级nvidia显卡驱动时安装出现了一定问题,于是决定升级ubuntu系统从18.04到22.04,然后安装gcc-12,然后再重新更新显卡驱动。
现有系统版本:
升级系统操作:
sudo do-release-upgrade
===========================================
posted on 2023-08-02 10:29 Angry_Panda 阅读(313) 评论(0) 编辑 收藏 举报
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)