hashcat Forum

Full Version: 2019 Mac Pro and AMD Radeon Pro 580X
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am new to hashcat. I am having problems getting my GPU recognized on a MacPro7,1 with AMD Radeon Pro 580X. Is this hardware compatible with hashcat? Or, do I have a lost cause? Below shows results from hashcat 6, hashcat 5.1 and clinfo.
Thank you.

I compiled the latest source from https://github.com/hashcat/hashcat.
It compiled without any errors.
>./hashcat -b
hashcat (v6.0.0-25-g15634059) 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.

/Volumes/XXXXX\ hashcat6/hashcat/OpenCL: No such file or directory

- - - - -

The reason i went with 6.0.0 is because hashcat 5.1.0 show s the following:
>hashcat -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: Apple
=========================
* Device #1: Intel(R) Xeon(R) W-3245 CPU @ 3.20GHz, skipped.
* Device #2: AMD Radeon Pro 580X Compute Engine, 2048/8192 MB allocatable, 36MCU

Benchmark relevant options:
===========================
* --optimized-kernel-enable
Hashmode: 0 - MD5
Speed.#2.........: 10291.5 MH/s (55.54ms) @ Accel:256 Loops:256 Thr:256 Vec:1
Hashmode: 100 - SHA1
Speed.#2.........:  3310.6 MH/s (88.59ms) @ Accel:256 Loops:128 Thr:256 Vec:1
Hashmode: 1400 - SHA2-256
Speed.#2.........:  1375.4 MH/s (106.30ms) @ Accel:256 Loops:64 Thr:256 Vec:1
Hashmode: 1700 - SHA2-512
* Device #2: ATTENTION! OpenCL kernel self-test failed.

- - - - 
>clinfo shows the following at the bottom:
....

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Apple
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [P0]
  clCreateContext(NULL, ...) [default]            Success [P0]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Apple
    Device Name                                   AMD Radeon Pro 580X Compute Engine
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  Success (1)
    Platform Name                                 Apple
    Device Name                                   Intel(R) Xeon(R) W-3245 CPU @ 3.20GHz
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Apple
    Device Name                                   AMD Radeon Pro 580X Compute Engine
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  Invalid device type for platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (2)
    Platform Name                                 Apple
    Device Name                                   AMD Radeon Pro 580X Compute Engine
    Device Name                                   Intel(R) Xeon(R) W-3245 CPU @ 3.20GHz
NOTE: your OpenCL library only supports OpenCL 1.0,
but some installed platforms support OpenCL 1.2.
Programs using 1.2 features may crash
or behave unexpectedly
Did you try to see if the path / folder does exist or not ?
Is this folder there ?
Code:
/Volumes/XXXXX\ hashcat6/hashcat/OpenCL

Why is there are "\ " there ? is this a space within the path ? could you try without any special chars within the path ?

how did you clone and compile it ?

maybe you could try different folders.


did you try to uninstall the brew version ? maybe it's better to just have one version on the system at any time and not both the brew and git version ?
1) The OpenCL subfolder exists.
2) I downloaded the src from hashcat.net, the tar.Z file. I went into the src sub folder and did make. The make log did not show any errors. 
3) In the AM, I will uninstall the brew version, create a new folder without spaces and recompile. I will post the results here.

Thank you.

(07-02-2020, 09:01 AM)philsmd Wrote: [ -> ]Did you try to see if the path / folder does exist or not ?
Is this folder there ?
Code:
/Volumes/XXXXX\ hashcat6/hashcat/OpenCL

Why is there are "\ " there ? is this a space within the path ? could you try without any special chars within the path ?

how did you clone and compile it ?

maybe you could try different folders.


did you try to uninstall the brew version ? maybe it's better to just have one version on the system at any time and not both the brew and git version ?
PhilsMD,
Thank you for your reply. I have done the following:
I deleted the copy of hashcat6, and uninstalled the brew version.
I created a folder without blanks, and obtained the source from https://github.com/hashcat/hashcat.git
This created the subfolder hashcat. I cd hashcat, make, make install
The installations ran without errors. 
hashcat -V returns v6.0.0-26-g5d04e97a
hashcat -b now runs.
* Device #2: ATTENTION! OpenCL kernel self-test failed.
is noted on the following tests:
Hashmode: 1700 - SHA2-512
Hashmode: 1800 - sha512crypt $6$, SHA512 (Unix) (Iterations: 5000)
Hashmode: 15900 - DPAPI masterkey file v2 (Iterations: 12899)

* Device #2: Skipping hash-mode 15300 - known CUDA/OpenCL Runtime/Driver issue (not a hashcat issue)
             You can use --force to override, but do not report related errors.
Hashmode: 15300 - DPAPI masterkey file v1 (Iterations: 23999)
Hashmode: 7100 - macOS v10.8+ (PBKDF2-SHA512) (Iterations: 1023)
Hashmode: 11300 - Bitcoin/Litecoin wallet.dat (Iterations: 200459)

It looks like it is partially working. Are these errors typical/normal? Thank you.

(07-02-2020, 09:01 AM)philsmd Wrote: [ -> ]Did you try to see if the path / folder does exist or not ?
Is this folder there ?
Code:
/Volumes/XXXXX\ hashcat6/hashcat/OpenCL

Why is there are "\ " there ? is this a space within the path ? could you try without any special chars within the path ?

how did you clone and compile it ?

maybe you could try different folders.


did you try to uninstall the brew version ? maybe it's better to just have one version on the system at any time and not both the brew and git version ?