


I recommend using the locate command (not installed by default) rather than searching the filesystem every time.If you want to install drivers in Kali Linux, you have several options.

Update-initramfs -c -k 4.13.0-43-generic # Recompile itĪfter removing 384, I still had 384 files in: So I recompiled my kernel: uname -a # Find the kernel it's using Seeing this meant that the kernel was still compiled to reference 384, but it was only finding 410. But even after reboot, I was still getting this. However, I had completely removed the 384 version, and removed any remaining kernel drivers nvidia-384*. NVRM: make sure that this kernel module and all NVIDIA driver NVRM: this kernel module has the version 384.130. The error message was opaque, but checking the output of dmesg was the key: NVRM: API mismatch: the client has the version 410.79, but I was having this problem, and none of the other remedies worked. Then confirm you can load the correct driver: nvidia-smi TestĬonfirm you successfully unload those kmods lsmod | grep nvidia 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: sudo lsof /dev/nvidia*Īnd then kill those process, then continue to unload the kmods. Our final goal is to unload nvidia mod, so we should unload the module depend on nvidia: sudo rmmod nvidia_drm Nvidia 12312576 86 nvidia_modeset,nvidia_uvm 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?įirst, we should know which drivers are loaded. As etal said, rebooting can solve this problem, but I think a procedure without rebooting will help.
