Posts: 12
Threads: 2
Joined: Dec 2017
Trying to run with AMD CPU icd for some test on my Ryzen 1700X. I get the following error:
Code:
./hashcat64.bin --opencl-platform=2 -b
hashcat (v4.0.1) 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: NVIDIA Corporation, skipped or no OpenCL compatible devices found.
OpenCL Platform #2: Advanced Micro Devices, Inc.
================================================
* Device #1: AMD Ryzen 7 1700X Eight-Core Processor, 4012/16048 MB allocatable, 16MCU
Benchmark relevant options:
===========================
* --opencl-platforms=2
* --optimized-kernel-enable
Hashmode: 900 - MD4
clBuildProgram(): CL_BUILD_PROGRAM_FAILURE
error: unknown argument: '--no_warnings'
In file included from /root/hashcat-4.0.1/OpenCL/OCL20278T1.cl:12:
/root/hashcat-4.0.1/OpenCL/inc_common.cl:6:16: warning: 'extern' variable has an initializer
__constant u32 c_append_helper[64][16] =
^
error: Clang front-end compilation failed!
Frontend phase failed compilation.
* Device #1: Kernel /root/hashcat-4.0.1/OpenCL/m00900_a3-optimized.cl build failed - proceeding without this device.
Started: Thu Jan 11 13:19:53 2018
Stopped: Thu Jan 11 13:19:53 2018
Any hint?
Posts: 20
Threads: 4
Joined: Jan 2018
Did you try --force? Your CPU will be orders of magnitude slower than your nvidia card anyhow. I would try different drivers for the Nvidia device
Posts: 12
Threads: 2
Joined: Dec 2017
01-26-2018, 03:56 PM
(This post was last modified: 01-26-2018, 04:08 PM by malakudi.)
Yes, tried with --force. I don't understand which program/library outputs:
error: unknown argument: '--no_warnings'
Is it something from AMD? I searched hashcat source code and --no_warning is not defined anywhere.
edit: OK, I found that "--no_warnings" is defined inside AMD OpenCL library. I guess it is passed to another program as an option, which doesn't support it. Maybe clang? I use clang 3.8
Posts: 12
Threads: 2
Joined: Dec 2017
Just FYI I fixed the issue. An incorrect symbolic link was setup from the AMD APP installation script.
Performance though is much worse compared to Intel ICD OpenCL driver for CPUs. Sample test below (CPU is AMD Ryzen 1700X), first is AMD icd, second is Intel:
Code:
./hashcat64.bin --opencl-platform=3 -b -w 4
hashcat (v4.1.0) starting in benchmark mode...
OpenCL Platform #1: Intel(R) Corporation, skipped or no OpenCL compatible devices found.
OpenCL Platform #2: NVIDIA Corporation, skipped or no OpenCL compatible devices found.
OpenCL Platform #3: Advanced Micro Devices, Inc.
================================================
* Device #1: AMD Ryzen 7 1700X Eight-Core Processor, 4010/16041 MB allocatable, 16MCU
Benchmark relevant options:
===========================
* --opencl-platforms=3
* --workload-profile=4
Hashmode: 0 - MD5
Speed.Dev.#1.....: 179.7 MH/s (92.11ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 100 - SHA1
Speed.Dev.#1.....: 129.2 MH/s (130.00ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 1400 - SHA-256
Speed.Dev.#1.....: 64306.2 kH/s (259.90ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 1700 - SHA-512
Speed.Dev.#1.....: 13127.1 kH/s (320.43ms) @ Accel:1024 Loops:256 Thr:1 Vec:2
Hashmode: 2500 - WPA/WPA2 (Iterations: 4096)
Speed.Dev.#1.....: 13472 H/s (302.54ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 1000 - NTLM
Speed.Dev.#1.....: 192.9 MH/s (86.67ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 3000 - LM
Speed.Dev.#1.....: 236.6 MH/s (70.17ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 5500 - NetNTLMv1 / NetNTLMv1+ESS
Speed.Dev.#1.....: 191.7 MH/s (88.65ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 5600 - NetNTLMv2
Speed.Dev.#1.....: 9033.0 kH/s (464.79ms) @ Accel:1024 Loops:256 Thr:1 Vec:4
Hashmode: 1500 - descrypt, DES (Unix), Traditional DES
Speed.Dev.#1.....: 11789.0 kH/s (356.55ms) @ Accel:256 Loops:1024 Thr:1 Vec:4
Hashmode: 500 - md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5) (Iterations: 1000)
Speed.Dev.#1.....: 46799 H/s (348.09ms) @ Accel:1024 Loops:1000 Thr:1 Vec:4
Hashmode: 3200 - bcrypt $2*$, Blowfish (Unix) (Iterations: 32)
Speed.Dev.#1.....: 6226 H/s (319.86ms) @ Accel:32 Loops:16 Thr:8 Vec:4
Hashmode: 1800 - sha512crypt $6$, SHA512 (Unix) (Iterations: 5000)
Speed.Dev.#1.....: 1642 H/s (254.11ms) @ Accel:512 Loops:256 Thr:1 Vec:2
Hashmode: 7500 - Kerberos 5 AS-REQ Pre-Auth etype 23
Speed.Dev.#1.....: 6533.3 kH/s (299.57ms) @ Accel:64 Loops:32 Thr:64 Vec:4
Hashmode: 13100 - Kerberos 5 TGS-REP etype 23
Speed.Dev.#1.....: 6993.7 kH/s (297.04ms) @ Accel:64 Loops:32 Thr:64 Vec:4
Hashmode: 15300 - DPAPI masterkey file v1 (Iterations: 23999)
Speed.Dev.#1.....: 2337 H/s (298.74ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 15900 - DPAPI masterkey file v2 (Iterations: 7999)
Speed.Dev.#1.....: 895 H/s (292.35ms) @ Accel:512 Loops:256 Thr:1 Vec:2
Hashmode: 7100 - macOS v10.8+ (PBKDF2-SHA512) (Iterations: 35000)
Speed.Dev.#1.....: 187 H/s (319.84ms) @ Accel:512 Loops:256 Thr:1 Vec:2
Hashmode: 11600 - 7-Zip (Iterations: 524288)
Speed.Dev.#1.....: 113 H/s (282.31ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 12500 - RAR3-hp (Iterations: 262144)
Speed.Dev.#1.....: 867 H/s (295.34ms) @ Accel:256 Loops:16384 Thr:1 Vec:4
Hashmode: 13000 - RAR5 (Iterations: 32767)
Speed.Dev.#1.....: 1176 H/s (434.55ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 6211 - TrueCrypt PBKDF2-HMAC-RIPEMD160 + XTS 512 bit (Iterations: 2000)
Speed.Dev.#1.....: 11640 H/s (349.81ms) @ Accel:1024 Loops:512 Thr:1 Vec:4
Hashmode: 13400 - KeePass 1 (AES/Twofish) and KeePass 2 (AES) (Iterations: 6000)
Speed.Dev.#1.....: 7770 H/s (350.34ms) @ Accel:1024 Loops:1024 Thr:1 Vec:4
Hashmode: 6800 - LastPass + LastPass sniffed (Iterations: 500)
Speed.Dev.#1.....: 76503 H/s (211.98ms) @ Accel:1024 Loops:500 Thr:1 Vec:4
Hashmode: 11300 - Bitcoin/Litecoin wallet.dat (Iterations: 199999)
Speed.Dev.#1.....: 72 H/s (292.16ms) @ Accel:1024 Loops:256 Thr:1 Vec:2
Started: Fri Mar 2 14:27:15 2018
Stopped: Fri Mar 2 14:30:45 2018
Code:
./hashcat64.bin --opencl-platform=1 -b -w 4
hashcat (v4.1.0) starting in benchmark mode...
OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: AMD Ryzen 7 1700X Eight-Core Processor, 4010/16041 MB allocatable, 16MCU
OpenCL Platform #2: NVIDIA Corporation, skipped or no OpenCL compatible devices found.
OpenCL Platform #3: Advanced Micro Devices, Inc., skipped or no OpenCL compatible devices found.
Benchmark relevant options:
===========================
* --opencl-platforms=1
* --workload-profile=4
Hashmode: 0 - MD5
Speed.Dev.#1.....: 198.8 MH/s (84.35ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 100 - SHA1
Speed.Dev.#1.....: 168.7 MH/s (12.36ms) @ Accel:1024 Loops:128 Thr:1 Vec:8
Hashmode: 1400 - SHA-256
Speed.Dev.#1.....: 76878.3 kH/s (218.16ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 1700 - SHA-512
Speed.Dev.#1.....: 29164.2 kH/s (287.51ms) @ Accel:1024 Loops:512 Thr:1 Vec:4
Hashmode: 2500 - WPA/WPA2 (Iterations: 4096)
Speed.Dev.#1.....: 15240 H/s (268.23ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 1000 - NTLM
Speed.Dev.#1.....: 210.8 MH/s (79.52ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 3000 - LM
Speed.Dev.#1.....: 281.5 MH/s (59.49ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 5500 - NetNTLMv1 / NetNTLMv1+ESS
Speed.Dev.#1.....: 208.7 MH/s (80.33ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 5600 - NetNTLMv2
Speed.Dev.#1.....: 9109.6 kH/s (460.53ms) @ Accel:1024 Loops:256 Thr:1 Vec:8
Hashmode: 1500 - descrypt, DES (Unix), Traditional DES
Speed.Dev.#1.....: 12242.3 kH/s (342.33ms) @ Accel:256 Loops:1024 Thr:1 Vec:8
Hashmode: 500 - md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5) (Iterations: 1000)
Speed.Dev.#1.....: 44796 H/s (363.60ms) @ Accel:1024 Loops:1000 Thr:1 Vec:8
Hashmode: 3200 - bcrypt $2*$, Blowfish (Unix) (Iterations: 32)
Speed.Dev.#1.....: 5685 H/s (349.56ms) @ Accel:32 Loops:16 Thr:8 Vec:8
Hashmode: 1800 - sha512crypt $6$, SHA512 (Unix) (Iterations: 5000)
Speed.Dev.#1.....: 4307 H/s (378.55ms) @ Accel:1024 Loops:512 Thr:1 Vec:4
Hashmode: 7500 - Kerberos 5 AS-REQ Pre-Auth etype 23
Speed.Dev.#1.....: 6575.2 kH/s (318.21ms) @ Accel:64 Loops:32 Thr:64 Vec:8
Hashmode: 13100 - Kerberos 5 TGS-REP etype 23
Speed.Dev.#1.....: 7237.0 kH/s (288.67ms) @ Accel:64 Loops:32 Thr:64 Vec:8
Hashmode: 15300 - DPAPI masterkey file v1 (Iterations: 23999)
Speed.Dev.#1.....: 2603 H/s (268.20ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 15900 - DPAPI masterkey file v2 (Iterations: 7999)
Speed.Dev.#1.....: 2041 H/s (256.49ms) @ Accel:1024 Loops:256 Thr:1 Vec:4
Hashmode: 7100 - macOS v10.8+ (PBKDF2-SHA512) (Iterations: 35000)
Speed.Dev.#1.....: 460 H/s (260.05ms) @ Accel:1024 Loops:256 Thr:1 Vec:4
Hashmode: 11600 - 7-Zip (Iterations: 524288)
Speed.Dev.#1.....: 151 H/s (211.33ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 12500 - RAR3-hp (Iterations: 262144)
Speed.Dev.#1.....: 1114 H/s (229.77ms) @ Accel:256 Loops:16384 Thr:1 Vec:8
Hashmode: 13000 - RAR5 (Iterations: 32767)
Speed.Dev.#1.....: 1335 H/s (383.27ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 6211 - TrueCrypt PBKDF2-HMAC-RIPEMD160 + XTS 512 bit (Iterations: 2000)
Speed.Dev.#1.....: 10217 H/s (399.17ms) @ Accel:1024 Loops:512 Thr:1 Vec:8
Hashmode: 13400 - KeePass 1 (AES/Twofish) and KeePass 2 (AES) (Iterations: 6000)
Speed.Dev.#1.....: 8502 H/s (320.57ms) @ Accel:1024 Loops:1024 Thr:1 Vec:8
Hashmode: 6800 - LastPass + LastPass sniffed (Iterations: 500)
Speed.Dev.#1.....: 86170 H/s (187.09ms) @ Accel:1024 Loops:500 Thr:1 Vec:8
Hashmode: 11300 - Bitcoin/Litecoin wallet.dat (Iterations: 199999)
Speed.Dev.#1.....: 168 H/s (249.88ms) @ Accel:1024 Loops:512 Thr:1 Vec:4
Started: Fri Mar 2 15:25:03 2018
Stopped: Fri Mar 2 15:31:28 2018
Posts: 2
Threads: 0
Joined: Mar 2018
I had the same "error: unknown argument: '--no_warnings'" issue you had. I am using AMD Opteron Processor and does not have a GPU. You mentioned that you resolved this issue. Could you please tell me how you resolved this? Thanks.
Posts: 2
Threads: 0
Joined: Mar 2018
To those who might have the same problem:
1. Install AMD_APP_SDK.
2. Add installation_folder/x86_64/sdk to LD_LIBRARY_PATH
3. Add installation_folder/x86_64/sdk to LIBRARY_PATH