【问题标题】:NVRM: API mismatch despite having the same version on client and kernelNVRM:尽管客户端和内核版本相同,但 API 不匹配
【发布时间】:2020-07-04 10:24:00
【问题描述】:

我已安装 nvidia 驱动程序 440.64

重新启动后,我得到一个黑屏而不是登录屏幕。我按下 CTRL+ALT+F3 进行控制台登录并输入sudo prime-select intel。登录屏幕出现,我可以登录了。

登录后输入nvidia-smi

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

我执行以下操作:

prime-select query

输出:

intel

然后

sudo prime-select nvidia

输出:

Info: selecting the nvidia profile

然后

nvidia-smi

输出:

Failed to initialize NVML: Driver/library version mismatch

然后

dmesg

输出:

...
[   68.122795] NVRM: API mismatch: the client has the version 440.64.00, but
               NVRM: this kernel module has the version 440.64.  Please
               NVRM: make sure that this kernel module and all NVIDIA driver
               NVRM: components have the same version.
...

如果我重新启动,我会遇到同样的问题。

【问题讨论】:

    标签: gpu driver nvidia ubuntu-18.04


    【解决方案1】:

    nvidia deb repo 安装 nvidia-driver-440 将修复它。

    nvidia 驱动程序和客户端库应该来自同一个存储库或最可能不匹配的版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-01
      • 1970-01-01
      • 2015-06-25
      • 2021-01-26
      相关资源
      最近更新 更多