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   Angry_Panda  阅读(313)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示