CPU device not available - f4nthomas - 04-28-2020
Hi folks,
For some reason, my hashcat can use only GPU, CPU seems to be "not available". Hashcat does not see it within the available devices.
Do you have any clue why? My CPU isn't old (i9-9900KF), and drivers should be up-to-date. I tried to explicitly enable it along with GPU using a parameter "-D 1,2" and also with "-d 1,2" ) for benchmarks in any combination, but without success.
Code: [ 9:55:56] C:\hashcat-5.1.0>hashcat64.exe -m 0 -D 1,2 -b
hashcat (v5.1.0) 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.
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause "CL_OUT_OF_RESOURCES" or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: GeForce RTX 2080 SUPER, 2048/8192 MB allocatable, 48MCU
Benchmark relevant options:
===========================
* --opencl-device-types=1,2
* --optimized-kernel-enable
Hashmode: 0 - MD5
Speed.#1.........: 43729.5 MH/s (73.23ms) @ Accel:256 Loops:1024 Thr:256 Vec:4
Started: Tue Apr 28 09:56:20 2020
Stopped: Tue Apr 28 09:56:27 2020
[ 9:56:27] C:\hashcat-5.1.0>
[ 9:56:30] C:\hashcat-5.1.0>hashcat64.exe -I
hashcat (v5.1.0) starting...
OpenCL Info:
Platform ID #1
Vendor : NVIDIA Corporation
Name : NVIDIA CUDA
Version : OpenCL 1.2 CUDA 10.1.0
Device ID #1
Type : GPU
Vendor ID : 32
Vendor : NVIDIA Corporation
Name : GeForce RTX 2080 SUPER
Version : OpenCL 1.2 CUDA
Processor(s) : 48
Clock : 1845
Memory : 2048/8192 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 436.30
[ 9:56:34] C:\hashcat-5.1.0>
[ 9:56:57] C:\hashcat-5.1.0># CPU INFO:
[ 9:57:03] C:\hashcat-5.1.0>wmic cpu get caption, deviceid, name, numberofcores, maxclockspeed, status
Caption DeviceID MaxClockSpeed Name NumberOfCores Status
Intel64 Family 6 Model 158 Stepping 13 CPU0 3600 Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz 8 OK
[ 9:57:14] C:\hashcat-5.1.0>
Thank you in advance for any advice!
RE: CPU device not available - philsmd - 04-28-2020
you need to install the drivers as mentioned in https://hashcat.net/hashcat/
https://software.intel.com/en-us/articles/opencl-drivers#cpu-section
current win driver at time of this writing: http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/13794/opencl_runtime_18.1_x64_setup.msi
RE: CPU device not available - f4nthomas - 04-28-2020
(04-28-2020, 11:51 AM)philsmd Wrote: you need to install the drivers as mentioned in https://hashcat.net/hashcat/
https://software.intel.com/en-us/articles/opencl-drivers#cpu-section
current win driver at time of this writing: http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/13794/opencl_runtime_18.1_x64_setup.msi
Thanks, I've downloaded it, installed, then I rebooted PC, and now I got only CPU listed, the GPU is missing ... not sure if it's funny or not . Did I do anything wrong? This situation is weird to me, perhaps maybe it got something to do with the windows registry or something like that....
Code: [13:29:08] C:\hashcat-5.1.0>hashcat64.exe -I -D 1,2
hashcat (v5.1.0) starting...
OpenCL Info:
Platform ID #1
Vendor : Intel(R) Corporation
Name : Intel(R) CPU Runtime for OpenCL(TM) Applications
Version : OpenCL 2.1 WINDOWS
Device ID #1
Type : CPU
Vendor ID : 8
Vendor : Intel(R) Corporation
Name : Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz
Version : OpenCL 2.1 (Build 0)
Processor(s) : 16
Clock : 3600
Memory : 8175/32702 MB allocatable
OpenCL Version : OpenCL C 2.0
Driver Version : 18.1.0.0920
[13:29:18] C:\hashcat-5.1.0>hashcat64.exe -D 1,2 -m 0 -b
hashcat (v5.1.0) 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.
OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz, 8175/32702 MB allocatable, 16MCU
Benchmark relevant options:
===========================
* --opencl-device-types=1,2
* --optimized-kernel-enable
Hashmode: 0 - MD5
Speed.#1.........: 1630.5 MH/s (10.19ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Started: Tue Apr 28 13:29:38 2020
Stopped: Tue Apr 28 13:29:47 2020
[13:29:47] C:\hashcat-5.1.0>hashcat64.exe -D 1,2 -d 1,2 -m 0 -b
hashcat (v5.1.0) 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.
An invalid device was specified using the --opencl-devices parameter.
The specified device was higher than the number of available devices (1).
Started: Tue Apr 28 13:30:52 2020
Stopped: Tue Apr 28 13:30:52 2020
[13:30:52] C:\hashcat-5.1.0>
RE: CPU device not available - philsmd - 04-28-2020
Please install the nvidia driver directly from https://www.nvidia.com/Download/index.aspx
also see https://hashcat.net/faq/wrongdriver if installing the GPU driver doesn't work immediately
RE: CPU device not available - f4nthomas - 04-28-2020
(04-28-2020, 02:00 PM)philsmd Wrote: Please install the nvidia driver directly from https://www.nvidia.com/Download/index.aspx
also see https://hashcat.net/wiki/wrongdriver if installing the GPU driver doesn't work immediately
Perfect, this worked! After installation of latest GPU Drivers I can see now both devices (CPU & GPU) listed correctly :
Code: [15:44:14] C:\hashcat-5.1.0>hashcat64.exe -I
hashcat (v5.1.0) starting...
OpenCL Info:
Platform ID #1
Vendor : NVIDIA Corporation
Name : NVIDIA CUDA
Version : OpenCL 1.2 CUDA 11.0.140
Device ID #1
Type : GPU
Vendor ID : 32
Vendor : NVIDIA Corporation
Name : GeForce RTX 2080 SUPER
Version : OpenCL 1.2 CUDA
Processor(s) : 48
Clock : 1845
Memory : 2048/8192 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 445.87
Platform ID #2
Vendor : Intel(R) Corporation
Name : Intel(R) CPU Runtime for OpenCL(TM) Applications
Version : OpenCL 2.1 WINDOWS
Device ID #2
Type : CPU
Vendor ID : 8
Vendor : Intel(R) Corporation
Name : Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz
Version : OpenCL 2.1 (Build 0)
Processor(s) : 16
Clock : 3600
Memory : 8175/32702 MB allocatable
OpenCL Version : OpenCL C 2.0
Driver Version : 18.1.0.0920
[15:44:23] C:\hashcat-5.1.0>
Many many thanks for your time and help! Very appreciated! :-)
Have a good day!
|