cuInit(): unknown error
#1
Dears,
I know this problem it's on this forum but I try a lot of solution and it does'nt work

hashcat --version
v6.1.1

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_14_21:12:58_PST_2021
Cuda compilation tools, release 11.2, V11.2.152
Build cuda_11.2.r11.2/compiler.29618528_0



nvidia-smi :
Mon Apr 18 18:12:09 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03    Driver Version: 510.47.03    CUDA Version: 11.6    |
|-------------------------------+----------------------+----------------------+
| 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  NVIDIA GeForce ...  On  | 00000000:01:00.0 Off |                  N/A |
|  0%  41C    P8    7W / 180W |    67MiB /  8192MiB |      0%      Default |
|                              |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|  1  NVIDIA GeForce ...  On  | 00000000:02:00.0 Off |                  N/A |
|  0%  44C    P8    8W / 180W |      6MiB /  8192MiB |      0%      Default |
|                              |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU  GI  CI        PID  Type  Process name                  GPU Memory |
|        ID  ID                                                  Usage      |
|=============================================================================|
|    0  N/A  N/A      947      G  /usr/lib/xorg/Xorg                56MiB |
|    0  N/A  N/A      1032      G  /usr/bin/gnome-shell                8MiB |
|    1  N/A  N/A      947      G  /usr/lib/xorg/Xorg                  4MiB |
+-----------------------------------------------------------------------------+


hashcat -I
hashcat (v6.1.1) starting...

cuInit(): unknown error

OpenCL Info:
============

OpenCL Platform ID #1
  Vendor..: The pocl project
  Name....: Portable Computing Language
  Version.: OpenCL 1.2 pocl 1.6, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG

  Backend Device ID #1
    Type...........: CPU
    Vendor.ID......: 128
    Vendor.........: GenuineIntel
    Name...........: pthread-Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz
    Version........: OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-skylake
    Processor(s)...: 20
    Clock..........: 5200
    Memory.Total...: 13780 MB (limited to 4096 MB allocatable in one block)
    Memory.Free....: 13716 MB
    OpenCL.Version.: OpenCL C 1.2 pocl
    Driver.Version.: 1.6


I try whith hashcat 6.2.5 same issue
sudo apt -y full-upgrade -y same issue
https://hashcat.net/forum/thread-9625.html same issue

Can you help me please ?

Best regards
Reply
#2
deinstall pocl and install intel opencl directly from their homepage to get your CPU working

next thing, it seems hashcat doesnt recognize your GPU, under linux you will need the cuda development sdk with the correct corresponding driver (this can be tough to figure out)

you could try to downgrade to cuda 11.5 as it seems 11.6 making some problems right now
Reply