hashcat Forum
Hashcat 3.0 inc_vendor.cl missing - 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: Hashcat 3.0 inc_vendor.cl missing (/thread-5566.html)

Pages: 1 2 3


Hashcat 3.0 inc_vendor.cl missing - winxp5421 - 06-30-2016

I am running hashcat 3.0 on windows 10 and also on windows 7 both AMD gpu exclusive machines. 
Catalyst 15.12

'inc_vendor.cl' is located in OpenCL folder

Any suggestions?

Code:
C:\Users\tv\Desktop\HTPHashcat3\hashcat>hashcat64 -a 3 -m 100 ../hashlists/54 ?a?a?a?a?a?a?a?a?a?a
hashcat (v3.00-1-g67a8d97+) starting...

OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
- Device #1: Hawaii, 2880/4096 MB allocatable, 40MCU
- Device #2: WARNING: Not a native Intel OpenCL runtime, expect massive speed loss
            You can use --force to override this but do not post error reports if you do so
- Device #2:        Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz, skipped

Hashes: 17 hashes; 17 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Applicable Optimizers:
* Zero-Byte
* Precompute-Init
* Precompute-Merkle-Demgard
* Early-Skip
* Not-Salted
* Not-Iterated
* Single-Salt
* Brute-Force
* Raw-Hash
Watchdog: Temperature abort trigger set to 90c
Watchdog: Temperature retain trigger set to 75c

- Device #1: Kernel m00100_a3.3bd584e1.kernel not found in cache! Building may take a while...



=== Build failed, retry with optimization disabled ===




ERROR: clBuildProgram() : -11 : CL_BUILD_PROGRAM_FAILURE





=== Build Options : -I "C:/Users/tv/Desktop/HTPHashcat3/hashcat/OpenCL/" -D VENDOR_ID=1 -D CUDA_ARCH=0 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=3 -D DGST_R1=4 -D DGST_R2=2 -D DGST_R3=1 -D DGST_ELEM=5 -D KERN_TYPE=100 -D _unroll -cl-std=CL1.1 ===



=== Build Log (start) ===
C:\Users\tv\AppData\Local\Temp\\OCL1892T8.cl:10:10: fatal error: 'inc_vendor.cl' file not found
#include "inc_vendor.cl"
        ^

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR

=== Build Log (end) ===
- Device #1: Kernel C:\Users\tv\Desktop\HTPHashcat3\hashcat/OpenCL/m00100_a3.cl build failure. Proceeding without this device.

Session.Name...: hashcat
Status.........: Exhausted
Input.Mode.....: Mask (?a?a?a?a?a?a?a?a?a?a) [10]
Hash.Target....: File (../hashlists/54)
Hash.Type......: SHA1
Time.Started...: 0 secs
Recovered......: 0/17 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.......: 0/4533461702709235777 (0.00%)
Rejected.......: 0/0 (0.00%)
Restore.Point..: 18446744073709551615/5287606593041 (348867584.00%)

Started: Wed Jun 29 22:08:33 2016
Stopped: Wed Jun 29 22:08:34 2016

C:\Users\tv\Desktop\HTPHashcat3\hashcat>



RE: Hashcat 3.0 inc_vendor.cl missing - royce - 06-30-2016

Not sure what the root cause is, but if you change the the OpenCL directory and run hashcat from there, it should work (in other words ../hashcat64.exe)


RE: Hashcat 3.0 inc_vendor.cl missing - atom - 06-30-2016

Look like AMDs OpenCL runtime (on windows only) silently ignores the -I parameter. It's configured correctly, as you can see in the debug output:

Quote:-I "C:/Users/tv/Desktop/HTPHashcat3/hashcat/OpenCL/"

Also hashcat makes a special check for the existance and permission check of all the includes, also inc_vendor.cl, in that folder, otherwise it errors out.

I currently have no idea what's going on there, I also can not reproduce it locally as I do not have any AMD gpu in any windows box.

@winxp5421: Is the OS you're using a Windows XP?


RE: Hashcat 3.0 inc_vendor.cl missing - l30n - 06-30-2016

Same problem here. Im running win10

Quote:$ ./hashcat64.exe -m 20 -a 3 hash.txt -1 ?l?d ?u?l?l?l?l?l?l?l?l?l?l?l?l
hashcat (v3.00-1-g67a8d97) starting...

OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1:        Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, skipped
- Device #2: Intel(R) HD Graphics 4000, 350/1400 MB allocatable, 16MCU

Hashes: 526 hashes; 417 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Applicable Optimizers:
* Zero-Byte
* Precompute-Init
* Precompute-Merkle-Demgard
* Early-Skip
* Not-Iterated
* Prepended-Salt
* Single-Salt
* Brute-Force
* Raw-Hash
Watchdog: Temperature abort trigger disabled
Watchdog: Temperature retain trigger disabled

- Device #2: Kernel m00020_a3.d2e8a058.kernel not found in cache! Building may take a while...



=== Build failed, retry with optimization disabled ===




ERROR: clBuildProgram() : -11 : CL_BUILD_PROGRAM_FAILURE





=== Build Options : -I "C:/Users/user/Downloads/hashcat3/hashcat-3.00/hashcat-3.00/OpenCL/" -D VENDOR_ID=8 -D CUDA_ARCH=0 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=3 -D DGST_R2=2 -D DGST_R3=1 -D DGST_ELEM=4 -D KERN_TYPE=20 -D _unroll -cl-std=CL1.1 ===



=== Build Log (start) ===
:10:10: fatal error: 'inc_vendor.cl' file not found
#include "inc_vendor.cl"
         ^

error: front end compiler failed build.:10:10: fatal error: 'inc_vendor.cl' file not found
#include "inc_vendor.cl"
         ^

error: front end compiler failed build.
=== Build Log (end) ===
- Device #2: Kernel C:\Users\user\Downloads\hashcat3\hashcat-3.00\hashcat-3.00/OpenCL/m00020_a3.cl build failure. Proceeding without this device.

Session.Name...: hashcat
Status.........: Exhausted
Input.Mode.....: Mask (?u?l?l?l?l?l?l?l?l?l?l?l?l) [13]
Hash.Target....: File (hash.txt)
Hash.Type......: md5($salt.$pass)
Time.Started...: 0 secs
Recovered......: 0/417 (0.00%) Digests, 0/1 (0.00%) Salts
Recovered/Time.: CUR:N/A,N/A,N/A AVG:0.00,0.00,0.00 (Min,Hour,Day)
Progress.......: 0/2481152873203736576 (0.00%)
Rejected.......: 0/0 (0.00%)
Restore.Point..: 18446744073709551615/141167095653376 (13067311.00%)

Started: Thu Jun 30 09:44:01 2016
Stopped: Thu Jun 30 09:44:03 2016



RE: Hashcat 3.0 inc_vendor.cl missing - atom - 06-30-2016

Maybe a general AMD + windows problem?


RE: Hashcat 3.0 inc_vendor.cl missing - l30n - 06-30-2016

Well, I don't have AMD

Quote:OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1:        Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, skipped
- Device #2: Intel(R) HD Graphics 4000, 350/1400 MB allocatable, 16MCU



RE: Hashcat 3.0 inc_vendor.cl missing - atom - 06-30-2016

(06-30-2016, 09:51 AM)l30n Wrote: Well, I don't have AMD

Quote:OpenCL Platform #1: Intel(R) Corporation
========================================
- Device #1:        Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, skipped
- Device #2: Intel(R) HD Graphics 4000, 350/1400 MB allocatable, 16MCU

Interessting, please try -D 1


RE: Hashcat 3.0 inc_vendor.cl missing - l30n - 06-30-2016

(06-30-2016, 09:53 AM)atom Wrote: Interessting, please try -D 1

it worked.


RE: Hashcat 3.0 inc_vendor.cl missing - atom - 06-30-2016

Good because I tested the CPU version of Intel myself and it worked. However I did not test the GPU version. So that means both AMD and Intel (at least the GPU part) have a different JIT than NVidia for OpenCL on windows, or at least different settings. I don't see a way to workaround as long as I'm unable to test it locally. If anyone finds a workaround please tell me.


RE: Hashcat 3.0 inc_vendor.cl missing - unixm - 06-30-2016

inc_vendor.cl exists in the OpenCL directory. However if you copy the entire contents of the OpenCL directory into:

C:\Users\<whatever your username is>\AppData\Local\Temp

It will build and work.