type
status
date
slug
tags
summary
category
password
icon
The error message
NVML: Driver/library version mismatch
tell us the Nvidia driver kernel module (kmod) have a wrong version, so we should unload this driver, and then load the correct version of kmod
How can we do that?
First, we should know which drivers are loaded.
You may get
Our final goal is to unload
nvidia
mod, so we should unload the module depend on nvidia
:Then, unload
nvidia
Troubleshooting
If you get an error like
rmmod: ERROR: Module nvidia is in use
, which indicates that the kernel module is in use, you should kill the process that using the kmod:and then kill those process, then continue to unload the kmods.
Test
Confirm you successfully unload those kmods
You should get nothing. Then confirm you can load the correct driver:
You should get the correct output.
- 作者:GraphPKU
- 链接:graphpku.cn/article/fd5e9844-49f7-4b15-b1df-10550e6295c5
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。