Error cuInit unknown error Linux

Good day to all,
I thank you if you can please help me with the following problem:
I work with programs that make use of the graphics card until yesterday 11.11.20 it worked without problems, today it was updated and it does not work for me:
When running the program, the following appears:

cuInit (): unknown error.

I tried to run a script from the nvidia page (Device node Verification Installation Guide Linux :: CUDA Toolkit Documentation):

mknod: / dev / nvidia0: File exists
mknod: / dev / nvidiactl: File exists
modprobe: ERROR: could not insert ‘nvidia_current_uvm’: Unknown symbol in module, or unknown parameter (see dmesg)
modprobe: ERROR: …/libkmod/libkmod-module.c:990 command_do () Error running install command 'modprobe nvidia; modprobe -i nvidia-current-uvm 'for module nvidia_uvm: retcode 1
modprobe: ERROR: could not insert ‘nvidia_uvm’: Invalid argument

Data that can help:

  • OS: Linux Debian 10.2.0-15

  • NVIDIA: GTX 1060 3GB

  • nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2020 NVIDIA Corporation
    Built on Wed_Jul_22_19: 09: 09_PDT_2020
    Cuda compilation tools, release 11.0, V11.0.221
    Build cuda_11.0_bu.TC445_37.28845127_0

  • nvidia-smi
    Thu Nov 12 14:10:58 2020

  • ------------------------------------------------- ---------------------------- +
    | NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0 |
    | ------------------------------- + ----------------- ----- + ---------------------- +
    | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr: Usage / Cap | Memory-Usage | GPU-Util Compute M. |
    | | | MIG M. |
    | =============================== + ================ ===== + ====================== |
    | 0 GeForce GTX 1060 Off | 00000000: 01: 00.0 On | N / A |
    | N / A 47C P8 6W / N / A | 248MiB / 3016MiB | 0% Default |
    | | | N / A |

  • ------------------------------- + ----------------- ----- + ---------------------- +

  • ------------------------------------------------- ---------------------------- +
    | Processes: |
    | GPU GI CI PID Type Process name GPU Memory |
    | ID ID Usage |
    | =============================================== ============================ |
    | 0 N / A N / A 1006 G / usr / lib / xorg / Xorg 243MiB |
    | 0 N / A N / A 1295 G xfwm4 2MiB |

  • ------------------------------------------------- ---------------------------- +

same problem after kali linux upgrade.

Oh yes, I precisely updated Kali and the video card was updated and there the error occurred

Yeah same some programs aren’t able to see the GPU…

I have the same problem here when using hashcat because of the kali linux upgrade did anyone find a solution?

Good gay everyone

today (08.12.20) I updated my Kali and the Nvidia and Cuda card worked, I did the following steps:

  1. sudo apt update
  2. sudo apt -y full-upgrade -y
  3. Reboot (sudo init 6)
  4. sudo apt install -y nvidia-driver nvidia-cuda-toolkit
  5. Reboot (sudo init 6)
  6. nvidia-smi
  7. hashcat -I
  8. and voila!

I hope that those who have had the same problem, this helps them, greetings!