首页 > 系统相关 >ubuntu系统升级软件sudo apt upgrade后GPU崩溃报错,显示驱动版本不匹配——ubuntu系统版本过低导致的问题

ubuntu系统升级软件sudo apt upgrade后GPU崩溃报错,显示驱动版本不匹配——ubuntu系统版本过低导致的问题

时间:2023-08-02 10:47:07浏览次数:39  
标签:kernel 07 module version 报错 lcwt ubuntu 版本 NVRM

 

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

相关文章

  • ubuntu16.04编译安装nginx1.24.0
    环境:DistributorID: UbuntuDescription: Ubuntu16.04.7LTSRelease: 16.04Codename: xenial 安装包:pcre-8.45.tar.gznginx-1.24.0.tar.gz开始安装:安装pcretar-xzvfpcre-8.45.tar.gzcdpcre-8.45./configure--prefix=/usr/local/pcremake&&makeinstall......
  • nvidia显卡驱动中的cuda版本和实际安装的cuda库版本的关系
    1,CUDADriverVersion是跟nvidia的GPU驱动(nvidia-driver)绑定在一起的:你在终端通过命令更新下载驱动后,再执行nvidia-smi得到如下图中右上角显示的cuda版本,例如我的: 上图表明:我现在的驱动版本是440.95.01,可以支持<=10.2版本的cuda2,CUDARuntimeVersion是你自己在系统上安......
  • git 报错
    git提交遇到的问题已建好的仓库,提交代码1.直接克隆远端仓库gitclonessh远端地址本地创建与远端仓库名一样的mkdir仓库名gitinit初始化#提交到暂存区并提交至远端gitadd.gitcommit-m'注释'gitconfig--globaluser......
  • ubuntu系统conda下运行pytorch报错:ImportError: libopenblas.so.0: cannot open share
    如题:ubuntu系统conda下运行pytorch报错:ImportError:libopenblas.so.0:cannotopensharedobjectfile   网上找了一些资料,基本都是自己下载openblas源码进行编译,不过突然之间相当conda环境提供一定的编译好的lib环境,使用conda命令既可安装,于是按照这个思路再进行搜索......
  • ubuntu搭建cuda开发环境
    驱动安装添加ppa后查看推荐的驱动sudoadd-apt-repositoryppa:graphics-drivers/ppasudoaptupdateubuntu-driversdevices显示nvidia-driver-535为推荐版本,安装sudoaptinstallnvidia-driver-535安装完成后重启电脑nvidia-smi显示显卡与驱动信息,说明驱动安装成功......
  • TDengine连接数满了报错:Connection is not available, request timed out after 3000
    背景使用tdengine时遇到一个情况,应用程序使用连接池将接收到的实时数据插入TD时,会出现获取不到连接的报错.重现起一个模拟程序,发送100条数据到应用程序,应用程序从批量插入改为逐条插入td,重现出报错:org.springframework.jdbc.support.MetaDataAccessException:Could......
  • 报错:WARNING: cannot load logging configuration file, logging is disabled
    问题:在webots里使用rospy时报warning。分析:无解决方案:参考https://blog.csdn.net/ckkboy/article/details/985048801.在/etc/下创建ros目录cd/etc/sudomkdirros2.将python_logging.conf文件复制到/etc/ros/下sudocp/opt/ros/melodic/etc/ros/python_log......
  • 无法访问org.springframework.context.annotation.Bean 错误的类文件:类文件具有错误
    Spring6和SpringBoot3不再支持Java8,最低版本为JDK17,请升级JDK>=17,同时IDEA>=2021.2长期使用的Java8,这次报错一直切换Spring依赖版本,没想到是Java太旧了,而且IDEA小于2021.2版本也不支持Java17来源SpringSecurity教程的源码,本地打开,各种依赖报错Error:(6,46)java......
  • 升级到python3以后yum报错
    升级完python后(python2升级到python3,并且将原来的/usr/bin下的python软连接给替换成python3的了),执行yum安装或查看命令都会产生这个错误:[root@localhostbin]#yumFile"/usr/bin/yum",line30exceptKeyboardInterrupt,e:^SyntaxErr......
  • 如何在Ubuntu 22.04中为Nginx创建自签名SSL证书
    介绍TLS,或传输层安全性,及其前身SSL,代表安全套接字层,是用于保护和加密计算机网络流量的web协议。有了TLS/SSL,服务器可以在服务器和客户端之间安全地发送通信,而不存在消息被外部方截获的可能性。证书系统还帮助用户验证他们连接的站点的身份。在本指南中,您将设置一个自签......