Hashcat not running on my CPU
#1
I am trying to run hashcat on both my CPU and GPU because by GPU is not that fancy. I installed the OpenCL drivers from intel (install_GUI.sh from l_opencl_p_18.1.0.015) and the OpenCL packages as mentioned in the wiki. After much trouble I managed to get hashcat to recognize my CPU:

Code:
hashcat -I
hashcat (v5.1.0-1138-g581839d4) starting...

* Device #2: CUDA SDK Toolkit installation NOT detected.
            CUDA SDK Toolkit installation required for proper device support and utilization
            Falling back to OpenCL Runtime

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

OpenCL Platform ID #1
 Vendor..: Intel(R) Corporation
 Name....: Intel(R) CPU Runtime for OpenCL(TM) Applications
 Version.: OpenCL 2.1 LINUX

 Backend Device ID #1
   Type...........: CPU
   Vendor.ID......: 8
   Vendor.........: Intel(R) Corporation
   Name...........: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
   Version........: OpenCL 2.1 (Build 0)
   Processor(s)...: 4
   Clock..........: 2400
   Memory.........: 1969/7876 MB allocatable
   OpenCL.Version.: OpenCL C 2.0
   Driver.Version.: 18.1.0.0920

OpenCL Platform ID #2
 Vendor..: NVIDIA Corporation
 Name....: NVIDIA CUDA
 Version.: OpenCL 1.2 CUDA 10.2.120

 Backend Device ID #2
   Type...........: GPU
   Vendor.ID......: 32
   Vendor.........: NVIDIA Corporation
   Name...........: GeForce 920M
   Version........: OpenCL 1.2 CUDA
   Processor(s)...: 2
   Clock..........: 954
   Memory.........: 501/2004 MB allocatable
   OpenCL.Version.: OpenCL C 1.2
   Driver.Version.: 430.14

When I run hashcat with "-d 2" it runs fine on my GPU (but only at ~135kH/s). But when I try to run it on my CPU with "-d 1" it says:

Code:
hashcat (v5.1.0-1138-g581839d4) starting...

* Device #2: CUDA SDK Toolkit installation NOT detected.
            CUDA SDK Toolkit installation required for proper device support and utilization
            Falling back to OpenCL Runtime

No devices found/left.

How could this be? It's actually detecting both devices, it runs on my GPU but when I specify the CPU it says no devices found?
Reply
#2
--opencl-device-types 1,2 (or short -D 1,2) to enable both CPU and GPU cracking. see --help output
Reply
#3
Smile 
(06-09-2019, 09:20 AM)philsmd Wrote: --opencl-device-types 1,2 (or short -D 1,2) to enable both CPU and GPU cracking. see --help output

That works, thanks a lot. I did actually study the "--help" output and I can't believe I missed that, please forgive me (I'm a newbie)

BTW, I think it's really funny that this forum requires you to use a password of at least 16 characters Big Grin
Reply
#4
(06-09-2019, 10:32 AM)oneup Wrote: BTW, I think it's really funny that this forum requires you to use a password of at least 16 characters Big Grin

I guess you know why Wink
Reply