08-25-2023, 12:11 AM
GTX 1070 was running hashcat fine in an old desktop. Added a GTX 980, and hashcat couldn't see either device.
Current state: Host was downgraded to Debian 11 with a fresh install. Successfully installed CUDA toolkit + NVIDIA driver.
This sees the 1070 but not the 980; however both devices register with the OS.
Perhaps this is more of an NVIDIA issue than a hashcat issue; though I'm curious about:
1. Why hashcat stopped seeing the GTX 1070?
2. Why CUDA + NVIDIA don't see the GTX 980?
Code:
$ hashcat --benchmark [26/26]
hashcat (v6.2.6) 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.
clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR
ATTENTION! No OpenCL, HIP or CUDA compatible platform found.
You are probably missing the OpenCL, CUDA or HIP runtime installation.
* AMD GPUs on Linux require this driver:
"AMDGPU" (21.50 or later) and "ROCm" (5.0 or later)
* Intel CPUs require this runtime:
"OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
* NVIDIA GPUs require this runtime and/or driver (both):
"NVIDIA Driver" (440.64 or later)
"CUDA Toolkit" (9.0 or later)
Current state: Host was downgraded to Debian 11 with a fresh install. Successfully installed CUDA toolkit + NVIDIA driver.
Code:
$ sudo nvidia-smi
Thu Aug 24 17:06:59 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.10 Driver Version: 535.86.10 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| 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 GTX 1070 Off | 00000000:01:00.0 Off | N/A |
| 0% 48C P0 35W / 151W | 0MiB / 8192MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
This sees the 1070 but not the 980; however both devices register with the OS.
Code:
$ lspci | grep -F NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
03:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 980] (rev a1)
03:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
Perhaps this is more of an NVIDIA issue than a hashcat issue; though I'm curious about:
1. Why hashcat stopped seeing the GTX 1070?
2. Why CUDA + NVIDIA don't see the GTX 980?