hashcat Forum
Compiling hashcat: -I doesn't detect GPU - 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: Compiling hashcat: -I doesn't detect GPU (/thread-7751.html)



Compiling hashcat: -I doesn't detect GPU - james79 - 08-18-2018

Hello,

I'm running hashcat compiled from source on Debian 9.1 Stretch.

I've got an instance with Intel Xeon CPUs and an NVIDIA Tesla P100 GPU.  This is the output of nvidia-smi:

james@hashcat-instance:~/src/hashcat$ nvidia-smi
Sat Aug 18 16:43:27 2018      
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.130                Driver Version: 384.130                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla P100-PCIE...  Off  | 00000000:00:04.0 Off |                    0 |
| N/A   33C    P0    27W / 250W |      0MiB / 16276MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                             
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+



This is what I get from ./hashcat -I

james@hashcat-instance:~/src/hashcat$ ./hashcat -I
hashcat (v4.2.1-23-g067ffa9d) starting...

OpenCL Info:

Platform ID #1
 Vendor  : Intel(R) Corporation
 Name    : Intel(R) OpenCL
 Version : OpenCL 2.0 LINUX

 Device ID #1
   Type           : CPU
   Vendor ID      : 8
   Vendor         : Intel(R) Corporation
   Name           : Intel(R) Xeon(R) CPU @ 2.20GHz
   Version        : OpenCL 2.0 (Build 37)
   Processor(s)   : 2
   Clock          : 2200
   Memory         : 1870/7483 MB allocatable
   OpenCL Version : OpenCL C 2.0
   Driver Version : 1.2.0.37



I'm not sure how to get hashcat to detect and use the NVIDIA Tesla P100 GPU.  I have cuda installed, the OpenCL runtime, and the nvidia drivers.  I thought this would work.

Does anyone have hashcat running on Debian 9.1 with NVIDIA GPUs and how did you get hashcat going?

I installed hashcat from deb repo too, and it installed a few other things.  Now hashcat -I detects a second platform but no extra device.  When I try to run hashcat, I get clGetDeviceIDs(): CL_DEVICE_NOT_FOUND.

Thanks for any help/pointers.

Maybe I should terminate the instance and install with Ubuntu.  It seems to be better supported.


RE: Compiling hashcat: -I doesn't detect GPU - james79 - 08-18-2018

D'oh. Found answer to my question:

https://killtacknine.com/test-driving-google-cloud-gpus-with-hashcat/

I also created the instance with Ubuntu 16.04LTS instead of Debian 9.1.