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
===========================================
标签:kernel,07,module,version,报错,lcwt,ubuntu,版本,NVRM From: https://www.cnblogs.com/devilmaycry812839668/p/17599932.html