-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hashcat not using multiple GPUs on MacOS #2083
Comments
@singe I have the same issue with a previous version of OSX. |
@singe I found the "bug". Try manually patch src/backend.c and retry (using -D1,2 --force) :
Let me known :) |
Confirmed that fixes the bug, thanks! |
Commit 57a1492 should fix this issue. Please check and reopen if it's not working. |
Looks like this issue is back with the latest 6.0.0 release and commit. I did a quick check, and applying the same patch @matrix did earlier to allow --force fixes it, so there's no technical reason why it shouldn't work, just looks like an error in the selection logic I haven't had time to dig into yet. The diff:
For completeness sake, here's the output from hashcat 5.1.0, 6.0.0 and 6.0.0 with my patch and --force: 5.1.0 (homebrew)
6.0.0
6.0.0 patched with --force
|
I have no way to reproduce this because I do not have access to an OSX system with AMD GPU. Therefore I can't patch the sources, because I can't reproduce if the patch is actually doing what it should do. However, the original issue is very different from the problem you have now, because the device is not being ignored but not being selected. IOW, the issue is a very different one, even if it seems the same. |
Ok, I'll open a new issue. Happy to do some testing when I get some time and try submit a patch. |
This is a repeat of hashcat@57a1492 which was undone in this commit 34f71aa#diff-7af547b52769371de74af0bfca268a62R6599 The original issue was hashcat#2083 and discussion of a fix was hashcat#2086. The problem is with Apple devices with an Intel and AMD GPU and using both simultaneously and the alias check.
After commit e3500ff hashcat won't make use of the Intel and AMD GPU on a MBP 2016 running MacOS Mojave 10.14.5.
At the last working commit, running gave:
hashcat (v5.1.0-968-ge3500ff4) starting in benchmark mode...
[snip CUDA warnings ...]
The first commit that introduces the bad behaviour is 6fd936b), where running gives:
As you can see only device 2 is used, and the second GPU device 3 is skipped. Device 3 can be forced with -d3, but then device 2 will be skipped. Specifying -d2,3 will just use device 2.
The text was updated successfully, but these errors were encountered: