rebryk / profanity-brute-force

Tool to hack a vanity address generated with Profanity
125 stars 35 forks source link

unknown exception occured #8

Open G6KG opened 1 year ago

G6KG commented 1 year ago

└─# uname -a Linux kali 6.0.0-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.7-1(2022-11-07) x86_64 GNU/Linux

┌──(root㉿home)-[~/profanity-brute-force] └─# ./profanity.x64 -h Mode: hashTable Target: Address Devices: unknown exception occured

second try:

┌──(root㉿home)-[~/profanity-brute-force] └─# ./profanity.x64 -h Mode: hashTable Target: Address Devices: GPU0: �<p�U, 140056519427688 bytes available, 0 compute units (precompiled = no) unknown exception occured

hastalamuerte commented 1 year ago

./profanity.x64 -h Mode: hashTable Target: Address Devices: GPU0: ޷#P�U, 140616501973232 bytes available, 32739 compute units (precompiled = no) unknown exception occured

same error on Debian . on win wsl same error too . while try to run with ./profanity.x64 --reverse --steps 20000 --cache --target 0x71**** Mode: reverse Target: Address Devices: unknown exception occured

Web3Paradise commented 1 year ago

WSL doesn't allow emulation to read/write files, so it won't work Also check if your GPU has at least 8gb of free memory

hastalamuerte commented 1 year ago

after some cli libs update and autoremove i saw Mode: reverse Target: Address Devices: GPU0: NVIDIA GeForce RTX 3070 Laptop GPU, 8361017344 bytes available, 40 compute units (precompiled = no) unknown exception occured

its not wsl its real debian


on wsl on another pc i was try to use ROCM hip libs from AMD , enable anything in VT bios settings and etc etc , but still no launch. deb wsl and ubuntu wsl cant see amd gpu

hastalamuerte commented 11 months ago

┌──(root㉿R9)-[~/Downloads/profanity-brute-force-master] └─# ./profanity.x64 --reverse --steps 20000 --cache --target 0x24bfec77b282d8f45a22e3a9dd6019ae61cd0704b02600aa53e7f3a1e70ec4374fabdea4ac483629ab3021224be6575dbf0ab2cd742ecabb7dc38c228c73a19b Mode: reverse Target: Address Devices: GPU0: NVIDIA GeForce RTX 3070 Laptop GPU, 8361017344 bytes available, 40 compute units (precompiled = no) unknown exception occured

real debian OS - same error.

ytrezq commented 11 months ago

@hastalamuerte : in profanity.cpp line 280, change vFoundDevices.size() to vFoundDevices.size()-1. If you want, I can share my linux binary for Xeon Phi (though such devices are treated as ᴄᴘᴜs).

hastalamuerte commented 11 months ago

@hastalamuerte : in profanity.cpp line 280, change vFoundDevices.size() to vFoundDevices.size()-1. If you want, I can share my linux binary for Xeon Phi (though such devices are treated as ᴄᴘᴜs).

Thanks a lot. after recompile with changing it start to breathe. But .. `┌──(root㉿R9)-[~/Downloads/profanity-brute-force-master] └─# ./profanity.x64 --reverse --steps 20000 --cache --target 0x24bfec77b282d8f45a22e3a9dd6019ae61cd0704b02600aa53e7f3a1e70ec4374fabdea4ac483629ab3021224be6575dbf0ab2cd742ecabb7dc38c228c73a19b Mode: reverse Target: Address Devices: GPU0: NVIDIA GeForce RTX 3070 Laptop GPU, 8361017344 bytes available, 40 compute units (precompiled = yes)

Initializing OpenCL... Creating context...OK Loading kernel from binary...OK Building program...OK

Memory limit: 8Gb Number of batches: 8 Number of steps: 20000 Target public address: x = {{0xe70ec437, 0x53e7f3a1, 0xb02600aa, 0x61cd0704, 0xdd6019ae, 0x5a22e3a9, 0xb282d8f4, 0x24bfec77}} y = {{0x8c73a19b, 0x7dc38c22, 0x742ecabb, 0xbf0ab2cd, 0x4be6575d, 0xab302122, 0xac483629, 0x4fabdea4}} Run batch 1... Run initialization... std::runtime_error - kernel queueing failed during initilization (res = -4) ┌──(root㉿R9)-[~/Downloads/profanity-brute-force-master] └─# ./profanity.x64 -h
Mode: hashTable Target: Address Devices: GPU0: NVIDIA GeForce RTX 3070 Laptop GPU, 8361017344 bytes available, 40 compute units (precompiled = no)

Initializing OpenCL... Creating context...OK Compiling kernel...OK Building program...10 warnings generated. OK Saving program...OK

Memory limit: 8Gb Number of batches: 8 Run batch 1... Run initialization... terminate called after throwing an instance of 'Dispatcher::OpenCLException' what(): kernel queueing failed during initilization (res = -4) zsh: IOT instruction (core dumped) ./profanity.x64 -h ``

ytrezq commented 11 months ago

Please note the in‑kernel free ɢᴘᴜ driver is funky for ɢᴘɢᴘᴜ computations : you have to swtich to the Nvidia ꜱᴅᴋ along the out of tree official ɴᴠɪᴅɪᴀ driver which in turn will force you to desinstall Wayland in favor of plain old Xorg…

hastalamuerte commented 11 months ago

Please note the in‑kernel free ɢᴘᴜ driver is funky for ɢᴘɢᴘᴜ computations : you have to swtich to the Nvidia ꜱᴅᴋ along the out of tree ɴᴠɪᴅɪᴀ driver which in turn will force you to desinstall Wayland in favor of plain old Xorg…

Thanks a lot. Will research that out. i am on debian kde x11, but yep there is installed wayland.

ytrezq commented 11 months ago

Please note the in‑kernel free ɢᴘᴜ driver is funky for ɢᴘɢᴘᴜ computations : you have to swtich to the Nvidia ꜱᴅᴋ along the out of tree ɴᴠɪᴅɪᴀ driver which in turn will force you to desinstall Wayland in favor of plain old Xorg…

Thanks a lot. Will research that out. i am on debian kde x11, but yep there is installed wayland.

Or switch to CL_DEVICE_TYPE_CPU from CL_DEVICE_TYPE_GPU and you’ll at least partially use vector capabilities of your ᴄᴘᴜ except in th case of Intel.