Author

Topic: start btcrecover with opencl problems (Read 94 times)

newbie
Activity: 35
Merit: 0
April 29, 2023, 02:35:16 AM
#4
i installed full requierments and installed openCL and still get this :/



Successfully built pytools
Installing collected packages: appdirs, typing-extensions, numpy, platformdirs, pytools, pyopencl
Successfully installed appdirs-1.4.4 numpy-1.21.6 platformdirs-3.5.0 pyopencl-2021.2.9+cl12 pytools-2022.1.12 typing-extensions-4.5.0

C:\btcrecover-master\btcrecover-master>btcrecover.py --help



C:\btcrecover-master\btcrecover-master>python btcrecover.py --wallet wallets\wallet_1 --token btcrecover-tokens-auto.txt --enable-opencl

Starting btcrecover 1.11.0-Cryptoguide on Python 3.7.0 64-bit, 21-bit unicodes, 64-bit ints
Read additional options from tokenlist file: --help

OpenCL: Available Platforms
Traceback (most recent call last):
  File "btcrecover.py", line 38, in
    btcrpass.parse_arguments(sys.argv[1:])
  File "C:\btcrecover-master\btcrecover-master\btcrecover\btcrpass.py", line 6239, in parse_arguments
    info = opencl_information()
NameError: name 'opencl_information' is not defined
Press Enter to exit ...
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
April 28, 2023, 11:36:40 PM
#3
NameError: name 'opencl_information' is not defined
Try to install the full requirements listen on BTCRecover's "requirements-full.txt" file.
You can install those in one command:
Code:
python -m pip install -r "requirements-full.txt"
(if the requirements file isn't in python's directory, provide the absolute path)

By the way, is this related to your other topic where you're trying to bruteforce a wallet with unknown password using random characters tokens?
Because even with GPU acceleration, it'll be impossible for longer passwords.
hero member
Activity: 784
Merit: 672
Top Crypto Casino
April 28, 2023, 07:38:19 PM
#2
In that case you should update the Nvidia drivers to up-to-dated version first before doing anything else. With the latest drivers the problem will will solved. The latest driver version for your GPU is Driver Version: 531.68, you should download and install it through Nvidia's website.

If the problem exists even after updating to the latest gpu driver. In that case you should  try to run the following command:

Code:
pip uninstall pyopencl 

Because sometimes the problem is mainly caused due to pyopencl installation and that's why uninstalling it might solve the issue.

Once the uninstallation is complete you should now run this command:

Code:
pip install pyopencl

Once the pyopencl is reinstalled, you should try to run it and it might run without any issues. If after following the above steps btcrecover still wasn't able to use GPU acceleration then you should try to run the btcrecover with administrative privileges. In that case you should run the command line as administrator by left clicking on it and selecting run as administrator. That will most probably solve the issue.




newbie
Activity: 35
Merit: 0
April 28, 2023, 04:05:00 PM
#1
Hi.

I was going to try to bruteforce my wallet i had an easy password on. I installed python on my windows machine with a gtx 1060 6GB and installed btcrecover. I al trying to start it with opencl but i run into a problems wich i can't get it to start. it starts without --enable-opencl to run on CPU but how do i run it on GPU ?

i also installed PyOpenCL for python 3.8 whl.




Starting btcrecover 1.11.0-Cryptoguide on Python 3.8.4 64-bit, 21-bit unicodes, 64-bit ints
Error: --performance cannot be used with --tokenlist or --passwordlist


C:\btcrecover-master\btcrecover-master>python btcrecover.py --wallet wallets\wallet_1 --token btcrecover-tokens-auto.txt  --enable-gpu --global-ws 4096 --local-ws 256

Starting btcrecover 1.11.0-Cryptoguide on Python 3.8.4 64-bit, 21-bit unicodes, 64-bit ints
Read additional options from tokenlist file: --help
Error: WalletElectrum28 does not support GPU acceleration (Though it might support OpenCL acceleration using your GPU, so try --enable-opencl)
Press Enter to exit ...


C:\btcrecover-master\btcrecover-master>python btcrecover.py --wallet wallets\wallet_1 --token btcrecover-tokens-auto.txt  --enable-opencl --global-ws 4096 --local-ws 256

Starting btcrecover 1.11.0-Cryptoguide on Python 3.8.4 64-bit, 21-bit unicodes, 64-bit ints
Read additional options from tokenlist file: --help

OpenCL: Available Platforms
Traceback (most recent call last):
  File "btcrecover.py", line 38, in
    btcrpass.parse_arguments(sys.argv[1:])
  File "C:\btcrecover-master\btcrecover-master\btcrecover\btcrpass.py", line 6239, in parse_arguments
    info = opencl_information()
NameError: name 'opencl_information' is not defined
Press Enter to exit ...
Jump to: