hashcat Forum
cuLaunchKernel(): out of memory - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: cuLaunchKernel(): out of memory (/thread-10052.html)



cuLaunchKernel(): out of memory - kingaling - 04-30-2021

Hello. I'm runnig Ubuntu Server 20.04. It has 2 Xeon processors and 32GB ECC RAM.
I'm having issues running hashcat with these PKZIP hash modes: (ALL other hash modes appear to work fine)

  17200 | PKZIP (Compressed)
  17220 | PKZIP (Compressed Multi-File)
  17225 | PKZIP (Mixed Multi-File)

The failures for all 3 look like this:

Code:
root@gpubaby:/opt/hashcat-6.1.1# ./hashcat -d 1,2,3,4 -b -m 17200
hashcat (v6.1.1) starting in benchmark mode...

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

Kernel /opt/hashcat-6.1.1/OpenCL/m17200_a3-optimized.cl:
Optimized kernel requested but not needed - falling back to pure kernel

CUDA API (CUDA 11.3)
====================
* Device #1: NVIDIA TITAN V, 11758/12066 MB, 80MCU
* Device #2: NVIDIA TITAN V, 11758/12066 MB, 80MCU
* Device #3: NVIDIA TITAN V, 11758/12066 MB, 80MCU
* Device #4: NVIDIA TITAN V, 11758/12066 MB, 80MCU

OpenCL API (OpenCL 3.0 CUDA 11.3.55) - Platform #1 [NVIDIA Corporation]
=======================================================================
* Device #5: NVIDIA TITAN V, skipped
* Device #6: NVIDIA TITAN V, skipped
* Device #7: NVIDIA TITAN V, skipped
* Device #8: NVIDIA TITAN V, skipped

Benchmark relevant options:
===========================
* --backend-devices=1,2,3,4
* --optimized-kernel-enable

Hashmode: 17200 - PKZIP (Compressed)

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

cuLaunchKernel(): out of memory

Speed.#1.........:        0 H/s (0.00ms) @ Accel:32 Loops:1024 Thr:1024 Vec:1
Speed.#2.........:        0 H/s (0.00ms) @ Accel:32 Loops:1024 Thr:1024 Vec:1
Speed.#3.........:        0 H/s (0.00ms) @ Accel:32 Loops:1024 Thr:1024 Vec:1
Speed.#4.........:        0 H/s (0.00ms) @ Accel:32 Loops:1024 Thr:1024 Vec:1
Speed.#*.........:        0 H/s

Started: Fri Apr 30 16:04:55 2021
Stopped: Fri Apr 30 16:05:08 2021


Code:
root@gpubaby:/opt/hashcat-6.1.1# nvidia-smi
Fri Apr 30 16:12:28 2021     
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 465.19.01    Driver Version: 465.19.01    CUDA Version: 11.3    |
|-------------------------------+----------------------+----------------------+
| 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 TITAN V      On  | 00000000:02:00.0 Off |                  N/A |
| 33%  45C    P8    30W / 250W |      0MiB / 12066MiB |      0%      Default |
|                              |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|  1  NVIDIA TITAN V      On  | 00000000:03:00.0 Off |                  N/A |
| 33%  46C    P8    27W / 250W |      0MiB / 12066MiB |      0%      Default |
|                              |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|  2  NVIDIA TITAN V      On  | 00000000:82:00.0 Off |                  N/A |
| 34%  46C    P8    26W / 250W |      0MiB / 12066MiB |      0%      Default |
|                              |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|  3  NVIDIA TITAN V      On  | 00000000:83:00.0 Off |                  N/A |
| 35%  47C    P8    29W / 250W |      0MiB / 12066MiB |      0%      Default |
|                              |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                             
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU  GI  CI        PID  Type  Process name                  GPU Memory |
|        ID  ID                                                  Usage      |
|=============================================================================|
|  No running processes found                                                |
+-----------------------------------------------------------------------------+


I've tried hashcat 6.0.0, 6.1.0 & 6.1.1
My next steps were to try on Windows and/or install older CUDA version. If I go that route I'll keep ya'll posted.

Anyone have anything similar for this Cuda version or video card? And a fix Smile


RE: cuLaunchKernel(): out of memory - kingaling - 05-01-2021

Well using google instead of duckduckgo for searching.... I found this gist that displays the exact same issue on the exact same same hash modes: https://gist.github.com/malakudi/a296b6e7930491f276740051eeab9526
I've inquired there as well in case they found a solution.