CPU-only usage not allowed
#1
Howdy ! 

How are u guys doing ?

I'm using funtoo linux and last hashcat bin released

4.4.6-gentoo #3 SMP Sat Jul 2 16:13:11 BRT 2016 x86_64 Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz GenuineIntel GNU/Linux

nvidia-drivers-367.27 with uvm 

If run --benchmark, by default , my gpu is used.


# hashcat64.bin --benchmark      
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, skipped

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #2: GeForce GTX 860M, 500/2002 MB allocatable, 5MCU




but 

./hashcat64.bin -d 1 --benchmark
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, skipped

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #2: GeForce GTX 860M, skipped



ERROR: No devices found/left


or

./hashcat64.bin -D 1 --benchmark  
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, 3991/15967 MB allocatable, 8MCU

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #2: GeForce GTX 860M, skipped



ERROR: clSetKernelArg() : -38 : CL_INVALID_MEM_OBJECT


Please, anyone could show me the right direction to solve it ?

I really appreciate any feedback

Thanks in advance.
#2
Did you install the intel opencl driver?
#3
(07-13-2016, 05:56 AM)otkaz Wrote: Did you install the intel opencl driver?

Yeah man, I have installed the last one from Intel website as suggested by README from Hashcat.

Thanks for your reply, I will keep trying harder to find a solution.
#4
On Gentoo/Funtoo I think you need to 'emerge intel-opencl-sdk' or something similar. Just helped a friend set up Hashcat on her Gentoo box and I believe that was the package we used that worked.
#5
(07-13-2016, 08:42 PM)epixoip Wrote: On Gentoo/Funtoo I think you need to 'emerge intel-opencl-sdk' or something similar. Just helped a friend set up Hashcat on her Gentoo box and I believe that was the package we used that worked.

Hey man , thanks for your reply

I already did it the same issue

Sad
#6
Can you please post the output of clinfo
#7
(07-14-2016, 11:59 AM)atom Wrote: Can you please post the output of clinfo

for sure

Follow attached "output_clinfo"


Attached Files
.txt   output_clinfo.txt (Size: 12.22 KB / Downloads: 11)
#8
Your Intel OpenCL SDK is ways too old.

Quote: Platform Name                                   Intel(R) OpenCL
 Platform Vendor                                 Intel(R) Corporation
 Platform Version                                OpenCL 1.1 LINUX

Should be:

Quote: Platform Name                                   Intel(R) OpenCL
 Platform Vendor                                 Intel(R) Corporation
 Platform Version                                OpenCL 1.2 LINUX
#9
(07-14-2016, 06:21 PM)atom Wrote: Your Intel OpenCL SDK is ways too old.

Quote: Platform Name                                   Intel(R) OpenCL
 Platform Vendor                                 Intel(R) Corporation
 Platform Version                                OpenCL 1.1 LINUX

Should be:

Quote: Platform Name                                   Intel(R) OpenCL
 Platform Vendor                                 Intel(R) Corporation
 Platform Version                                OpenCL 1.2 LINUX

Ok, take a look on next attached file
Package : intel-opencl-2.0-2.0-54425.tar.gz
Downloaded from: https://software.intel.com/en-us/article...nux_driver

./hashcat64.bin --benchmark
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) HD Graphics, 815/1630 MB allocatable, 20MCU
- Device #2: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, skipped

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #3: GeForce GTX 860M, 500/2002 MB allocatable, 5MCU



ERROR: clCreateContext() : -5 : CL_OUT_OF_RESOURCES

./hashcat64.bin -d 2 --benchmark
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) HD Graphics, skipped
- Device #2: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, skipped

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #3: GeForce GTX 860M, skipped



ERROR: No devices found/left


Attached Files
.txt   output_cli2.txt (Size: 6.32 KB / Downloads: 4)
#10
(07-14-2016, 09:46 PM)puffyctl Wrote:
(07-14-2016, 06:21 PM)atom Wrote: Your Intel OpenCL SDK is ways too old.

Quote: Platform Name                                   Intel(R) OpenCL
 Platform Vendor                                 Intel(R) Corporation
 Platform Version                                OpenCL 1.1 LINUX

Should be:

Quote: Platform Name                                   Intel(R) OpenCL
 Platform Vendor                                 Intel(R) Corporation
 Platform Version                                OpenCL 1.2 LINUX

Ok, take a look on next attached file
Package : intel-opencl-2.0-2.0-54425.tar.gz
Downloaded from: https://software.intel.com/en-us/article...nux_driver

./hashcat64.bin --benchmark
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) HD Graphics, 815/1630 MB allocatable, 20MCU
- Device #2: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, skipped

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #3: GeForce GTX 860M, 500/2002 MB allocatable, 5MCU



ERROR: clCreateContext() : -5 : CL_OUT_OF_RESOURCES

./hashcat64.bin -d 2 --benchmark
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) HD Graphics, skipped
- Device #2: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, skipped

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #3: GeForce GTX 860M, skipped



ERROR: No devices found/left

Hello guys,

Just installed lasted version available today from funtoo repo

intel-ocl-sdk 4.4.0.117-r1

Seems working ( just gimme a feedback ) . Thank you from everyone that spent a time helping me out .


/hashcat64.bin -d 1 --benchmark
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, skipped

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #2: GeForce GTX 860M, skipped



ERROR: No devices found/left


./hashcat64.bin -D 1 --benchmark  
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz, 3991/15967 MB allocatable, 8MCU

OpenCL Platform #2: NVIDIA Corporation
======================================
- Device #2: GeForce GTX 860M, skipped

Hashtype: MD4

Speed.Dev.#1.:   857.2 MH/s (97.94ms)

Hashtype: MD5

^CSpeed.Dev.#1.:        0 H/s (0.00ms)

Started: Fri Jul 15 00:08:19 2016
Stopped: Fri Jul 15 00:08:24 2016


Feel free to close if solved.

Number of platforms                               2
 Platform Name                                   Intel(R) OpenCL
 Platform Vendor                                 Intel(R) Corporation
 Platform Version                                OpenCL 1.2 LINUX
 Platform Profile                                FULL_PROFILE
 Platform Extensions                             cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_
atomics cl_khr_byte_addressable_store cl_khr_spir cl_intel_exec_by_local_thread cl_khr_depth_images cl_khr_3d_image_writes cl_khr_fp64  
 Platform Extensions function suffix             INTEL

 Platform Name                                   NVIDIA CUDA
 Platform Vendor                                 NVIDIA Corporation
 Platform Version                                OpenCL 1.2 CUDA 8.0.0
 Platform Profile                                FULL_PROFILE
 Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_
khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts
 Platform Extensions function suffix             NV

 Platform Name                                   Intel(R) OpenCL
Number of devices                                 1
 Device Name                                     Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
 Device Vendor                                   Intel(R) Corporation
 Device Vendor ID                                0x8086
 Device Version                                  OpenCL 1.2 (Build 117)
 Driver Version                                  1.2.0.117
 Device OpenCL C Version                         OpenCL C 1.2  
 Device Type                                     CPU
 Device Profile                                  FULL_PROFILE
 Max compute units                               8
 Max clock frequency                             2800MHz
 Device Partition                                (core)
   Max number of sub-devices                     8
   Supported partition types                     by counts, equally, by names (Intel)
 Max work item dimensions                        3
 Max work item sizes                             8192x8192x8192
 Max work group size                             8192
 Preferred work group size multiple              128


NULL platform behavior
 clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
 clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
 clCreateContext(NULL, ...) [default]            No platform
 clCreateContext(NULL, ...) [other]              Success [INTEL]
 clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No platform
 clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
 clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No platform
 clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No platform
 clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform