-
Notifications
You must be signed in to change notification settings - Fork 717
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
GPU enabled run doesn't discover bitcoin password #104
Comments
Thanks for the detailed bug report, it's very much appreciated! Unfortunately, I don't have access to an OS X box with a GPU to reproduce this, so it may be difficult or impossible for me to figure this out. It may require a bunch of trial-and-error on both our parts, if/when you can spare the time to help me.... First off, could you run the Next, can you try removing this pragma directive from line 235 of the Thanks! |
Tests do fail, but notice that they use CPU as gpu unit (regardless of what gpu is selected in Mac settings) Result is the same with 235 pragma being removed as well as all pragmas being removed. P.S. No crashes were detected while running on integrated video as well as on AMD one. |
Thanks for running the tests (and sorry for the delay). A couple of things here... First off, the unit tests test all available OpenCL devices in whatever order they're returned by the OpenCL ICD loader. I'm guessing the CPU is returned first on your system, and when it fails, the GPU tests are skipped. The failing tests above are due to a bug in the unit tests--I think this is now fixed. Would you mind grabbing the most recent version and running the tests again? Next, can you confirm that there are a total of 5 tests which fail (3 grouped together near the bottom, and 2 farther up)? If there are fewer than 5 tests which fail, are they under the earlier I made a debug version of btcrecover which outputs a bunch of intermediate results. After the tests above, could you download this version (from this branch if you want to see the source) and run it like this:
and attach the resulting Thank you! |
Running tests against provided master branch: ASCII mode:
Unicode mode:
Debug file for debug version (with exhausted password as well): |
Thanks! The debug file differs from what it should be at the very beginning... for some reason, the initial data that's sent to the GPU isn't what it should be/gets corrupted right away. My initial guess is an issue with OpenCL or the GPU drivers. Are these the stock OS X drivers? What, if anything, did you have to do to get OpenCL and PyOpenCL running on your box? Are you using brew/gcc, xcode, or something else? I'll have to think about next steps, I'm not sure at the moment.... |
When enabling GPU, passwords not being discovered in bitcoin wallet, while same CPU-enabled run does find correct password.
Environment:
Steps to reproduce:
123
)%3d
--enable-gpu
:Password search exhausted
For sake of testing tried to run on integrated GPU and CPU via OpenCL:
Using OpenCL GPU Intel(R) HD Graphics 530
- password was found as expected.Using OpenCL CPU Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
- password found as expectedLet me know if any extra info is needed
The text was updated successfully, but these errors were encountered: