I have installed CUDA7.5. Now I have driver version mismatch. When I run
sudo dmesg |grep NVRM
[ 9.168098] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.41 Fri Aug 21 23:09:52 PDT 2015
[ 46.984880] NVRM: API mismatch: the client has the version 352.39, but
[ 46.984880] NVRM: this kernel module has the version 352.41. Please
[ 46.984880] NVRM: make sure that this kernel module and all NVIDIA driver
[ 46.984880] NVRM: components have the same version.
[ 46.984883] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22
[ 658.817643] NVRM: API mismatch: the client has the version 352.39, but
[ 658.817643] NVRM: this kernel module has the version 352.41. Please
[ 658.817643] NVRM: make sure that this kernel module and all NVIDIA driver
[ 658.817643] NVRM: components have the same version.
[ 658.817655] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22
[ 893.515205] NVRM: API mismatch: the client has the version 352.39, but
[ 893.515205] NVRM: this kernel module has the version 352.41. Please
[ 893.515205] NVRM: make sure that this kernel module and all NVIDIA driver
[ 893.515205] NVRM: components have the same version.
[ 893.515216] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22
[ 1526.097007] NVRM: API mismatch: the client has the version 304.125, but
[ 1526.097007] NVRM: this kernel module has the version 352.41. Please
[ 1526.097007] NVRM: make sure that this kernel module and all NVIDIA driver
[ 1526.097007] NVRM: components have the same version.
[ 1526.097020] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22
Then I checked
nvidia-smi -a
NVIDIA: API mismatch: the NVIDIA kernel module has version 352.41,
but this NVIDIA driver component has version 304.125. Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
Failed to initialize NVML: Unknown Error
When I checked package list,
I have
sudo dpkg --list | grep nvidia
ii nvidia-304-updates 304.125-0ubuntu0.0.2 amd64 NVIDIA legacy binary driver - version 304.125
ii nvidia-current-updates 304.125-0ubuntu0.0.2 amd64 Transitional package for nvidia-current-updates
ii nvidia-opencl-icd-304-updates 304.125-0ubuntu0.0.2 amd64 NVIDIA OpenCL ICD
ii nvidia-settings 355.11-0ubuntu0~gpu14.04.1 amd64 Tool for configuring the NVIDIA graphics driver
I know my kernel has 352.41. How can I match to that version?
Thanks
Now sudo dpkg --list | grep nvidia gave me
rc nvidia-304 304.128-0ubuntu0~gpu14.04.2 amd64 NVIDIA legacy binary driver - version 304.128
rc nvidia-304-updates 304.125-0ubuntu0.0.2 amd64 NVIDIA legacy binary driver - version 304.125
ii nvidia-352 352.41-0ubuntu0~gpu14.04.1 amd64 NVIDIA binary driver - version 352.41
rc nvidia-opencl-icd-304 304.128-0ubuntu0~gpu14.04.2 amd64 NVIDIA OpenCL ICD
rc nvidia-opencl-icd-304-updates 304.125-0ubuntu0.0.2 amd64 NVIDIA OpenCL ICD
ii nvidia-opencl-icd-352 352.41-0ubuntu0~gpu14.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.6.2 amd64 Tools to enable NVIDIA’s Prime
ii nvidia-settings 355.11-0ubuntu0~gpu14.04.1 amd64 Tool for configuring the NVIDIA graphics driver
So it should match.
But I checked
$ sudo dmesg |grep NVRM
[ 9.168098] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.41 Fri Aug 21 23:09:52 PDT 2015
[ 46.984880] NVRM: API mismatch: the client has the version 352.39, but
[ 46.984880] NVRM: this kernel module has the version 352.41. Please
[ 46.984880] NVRM: make sure that this kernel module and all NVIDIA driver
[ 46.984880] NVRM: components have the same version.
[ 46.984883] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22
Still mismatch as 352.41 and 352.39.
Now
$ nvidia-smi -a
==============NVSMI LOG==============