hashcat Forum
Using discrete GPU on macOS - 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: Using discrete GPU on macOS (/thread-8727.html)



Using discrete GPU on macOS - john_alan - 10-18-2019

In a modern MacBook there are usually two GPUs

Integrated and Discrete, with Discrete being much more powerful.


Usually when a macOS app is utilising the discrete GPU I receive a notification to say the GPU is being used.

I don't see this notification with Hashcat, yet I see that hashcat looks like it's using both:

Code:
OpenCL Platform #1: Apple
=========================
* Device #1: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz, skipped.
* Device #2: Intel(R) UHD Graphics 630, 384/1536 MB allocatable, 24MCU
* Device #3: AMD Radeon Pro 560X Compute Engine, 1024/4096 MB allocatable, 16MCU


Do I have to directly enable the discrete GPU to use it?


RE: Using discrete GPU on macOS - undeath - 10-18-2019

can you post a hashcat status output?


RE: Using discrete GPU on macOS - john_alan - 10-18-2019

(10-18-2019, 12:45 PM)undeath Wrote: can you post a hashcat status output?

Sure!

Code:
Session..........: hashcat
Status...........: Running
Hash.Type........: BLAKE2b
Hash.Target......: $BLAKE2$c4cfa39a3d37be31c59609e807970799caa68a19bfa...620c94
Time.Started.....: Fri Oct 18 11:22:44 2019 (1 sec)
Time.Estimated...: Sun Nov 15 18:18:12 2111 (92 years, 27 days)
Guess.Mask.......: ?a?a?a?a?a?a?a?a?a [9]
Guess.Queue......: 9/10 (90.00%)
Speed.#2.........: 17721.6 kH/s (8.89ms) @ Accel:8 Loops:4 Thr:256 Vec:1
Speed.#3.........:  199.2 MH/s (9.39ms) @ Accel:32 Loops:16 Thr:256 Vec:1
Speed.#*.........:  216.9 MH/s
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 250740736/630249409724609375 (0.00%)
Rejected.........: 0/250740736 (0.00%)
Restore.Point....: 0/735091890625 (0.00%)
Restore.Sub.#2...: Salt:0 Amplifier:408-412 Iteration:0-4
Restore.Sub.#3...: Salt:0 Amplifier:1760-1776 Iteration:0-16
Candidates.#2....: 860/''ss1 -> 623o{NANE
Candidates.#3....: NSHeraner -> $@r&FCANE


Seems like it's using both, however on the macOS dashboard (where it would usually say GPU enabled, as it would when playing games or something that explicitly uses the GPU), it doesn't indicate that the GPU is actively engaged...


RE: Using discrete GPU on macOS - undeath - 10-18-2019

Looks like a bug in the macOS dashboard then. Probably not accounting for OpenCL usage. Speed also seems ok.


RE: Using discrete GPU on macOS - john_alan - 10-18-2019

(10-18-2019, 01:37 PM)undeath Wrote: Looks like a bug in the macOS dashboard then. Probably not accounting for OpenCL usage. Speed also seems ok.


Cool thanks.