Bug#816283: NVRM: API mismatch on cuda/jessie-backports
Andreas Beckmann
anbe at debian.org
Thu Mar 31 14:12:47 UTC 2016
On 2016-03-31 11:46, Alois Schloegl wrote:
> I'm trying to get Cuda working on debian/jessie. When running
> nvidia-smi, dmesg shows this message:
>
> [ 2355.945623] NVRM: API mismatch: the client has the version 352.41, but
> NVRM: this kernel module has the version 352.79. Please
> NVRM: make sure that this kernel module and all NVIDIA driver
> NVRM: components have the same version.
> [ 2355.970347] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl
> failed, error -22
>
> Any ideas, where this client with version 352.41 comes from, and how to
> fix this ?
We had 352.41-1 in experimental ... or did you install that driver from
the .run installer?
This "client" is an old library ... try
strace -e open nvidia-smi
to see which library is is openening and then see where this is
pointing, it's probably /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
being incorrect in some way.
> FYI:
> * More information is available here
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816283#44
Please keep this discussion in the bug!
>
> * Currently the following packages are installed, as shown with 'dpkg
> -l |grep -i nvidia'
>
> ii glx-alternative-nvidia 0.7.1~bpo8+1
> amd64 allows the selection of NVIDIA as GLX provider
> ii libcublas6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA cuBLAS Library
> ii libcuda1:amd64 352.79-1~bpo8+1
> amd64 NVIDIA CUDA Driver Library
> ii libcudart6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA CUDA Runtime Library
> ii libcufft6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA cuFFT Library
> ii libcufftw6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA cuFFTW Library
> ii libcuinj64-6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA CUINJ Library (64-bit)
> ii libcurand6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA cuRAND Library
> ii libcusparse6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA cuSPARSE Library
> ii libegl1-nvidia:amd64 352.79-1~bpo8+1
> amd64 NVIDIA binary EGL libraries
> ii libgl1-nvidia-glx:amd64 352.79-1~bpo8+1
> amd64 NVIDIA binary OpenGL libraries
> ii libgles1-nvidia:amd64 352.79-1~bpo8+1
> amd64 NVIDIA binary OpenGL|ES 1.x libraries
> ii libgles2-nvidia:amd64 352.79-1~bpo8+1
> amd64 NVIDIA binary OpenGL|ES 2.x libraries
> ii libnppc6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA Performance Primitives core runtime library
> ii libnppi6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA Performance Primitives for image processing
> runtime library
> ii libnpps6.5:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA Performance Primitives for signal processing
> runtime library
> ii libnvcuvid1:amd64 352.79-1~bpo8+1
> amd64 NVIDIA CUDA Video Decoder runtime library
> ii libnvidia-compiler:amd64 352.79-1~bpo8+1
> amd64 NVIDIA runtime compiler library
> ii libnvidia-eglcore:amd64 352.79-1~bpo8+1
> amd64 NVIDIA binary EGL core libraries
> ii libnvidia-ml1:amd64 352.79-1~bpo8+1
> amd64 NVIDIA Management Library (NVML) runtime library
> ii libnvtoolsext1:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA Tools Extension Library
> ii libnvvm2:amd64 6.5.19-3~bpo8+1
> amd64 NVIDIA NVVM Library
> ii nvidia-alternative 352.79-1~bpo8+1
> amd64 allows the selection of NVIDIA as GLX provider
> ii nvidia-cuda-dev 6.5.19-3~bpo8+1
> amd64 NVIDIA CUDA development files
> ii nvidia-cuda-doc 6.5.19-3~bpo8+1
> all NVIDIA CUDA and OpenCL documentation
> ii nvidia-cuda-gdb 6.5.19-3~bpo8+1
> amd64 NVIDIA CUDA Debugger (GDB)
> ii nvidia-cuda-toolkit 6.5.19-3~bpo8+1
> amd64 NVIDIA CUDA development toolkit
> ii nvidia-driver 352.79-1~bpo8+1
> amd64 NVIDIA metapackage
> ii nvidia-driver-bin 352.79-1~bpo8+1
> amd64 NVIDIA driver support binaries
> ii nvidia-installer-cleanup 20151021+1~bpo8+1
> amd64 cleanup after driver installation with the
> nvidia-installer
> ii nvidia-kernel-common 20151021+1~bpo8+1
> amd64 NVIDIA binary kernel module support files
> ii nvidia-kernel-dkms 352.79-1~bpo8+1
> amd64 NVIDIA binary kernel module DKMS source
> ii nvidia-kernel-support 352.79-1~bpo8+1
> amd64 NVIDIA binary kernel module support files
> ii nvidia-modprobe 358.09-1~bpo8+1
> amd64 utility to load NVIDIA kernel modules and create
> device nodes
> ii nvidia-opencl-common 352.79-1~bpo8+1
> amd64 NVIDIA OpenCL driver
> ii nvidia-opencl-icd:amd64 352.79-1~bpo8+1
> amd64 NVIDIA OpenCL installable client driver (ICD)
> ii nvidia-persistenced 358.09-1~bpo8+1
> amd64 daemon to maintain persistent software state in the
> NVIDIA driver
> ii nvidia-profiler 6.5.19-3~bpo8+1
> amd64 NVIDIA Profiler for CUDA and OpenCL
> ii nvidia-smi 352.79-1~bpo8+1
> amd64 NVIDIA System Management Interface
> ii nvidia-support 20151021+1~bpo8+1
> amd64 NVIDIA binary graphics driver support files
> ii nvidia-vdpau-driver:amd64 352.79-1~bpo8+1
> amd64 Video Decode and Presentation API for Unix - NVIDIA
> driver
> ii nvidia-visual-profiler 6.5.19-3~bpo8+1
> amd64 NVIDIA Visual Profiler for CUDA and OpenCL
> ii xserver-xorg-video-nvidia 352.79-1~bpo8+1
> amd64 NVIDIA binary Xorg driver
More information about the pkg-nvidia-devel
mailing list