Pages:
Author

Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22] - page 62. (Read 1153383 times)

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
LoyceV May I see the output of  '' ls -larths /usr/lib*/libOpenCL.so* ```
Depending on the distro the location of that library will be different.
If you do have the library a simple symbolic link may be all that you need
for vanitygens build machinery to find it.
Code:
root@Laptop:~# ls -larths /usr/lib*/libOpenCL.so*
ls: cannot access /usr/lib/libOpenCL.so*: No such file or directory
root@Laptop:~# locate libOpenCL
/usr/lib/i386-linux-gnu/libOpenCL.so.1
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0

I tried this:
Code:
root@Laptop:/usr/lib/x86_64-linux-gnu# cp -a libOpenCL.so.1* /usr/lib
But it still doesn't compile (same error):
Code:
test@Laptop:~/vanitygen-master$ make oclvanitygen
cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:22: recipe for target 'oclvanitygen' failed
make: *** [oclvanitygen] Error 1


Okay this did the trick to compile: I installed "ocl-icd-opencl-dev". It did have to remove one Nvidia-driver though, but after this, compile worked fine.
Next problem is getting this to work.
Code:
test@Laptop:~/vanitygen-master$ ./oclvanitygen 1test
Difficulty: 264104224
clGetPlatformIDs(0): Unknown code -1001
clGetPlatformIDs(0): Unknown code -1001
Available OpenCL platforms:
Since the drivers were so bad, seems like I'm not running Nvidia-drivers for my screen at the moment.
sr. member
Activity: 257
Merit: 250
Install the OpenCL SDK, how that's done will depend on your graphics card, operating system, where you installed stuff, etc.
I've been trying all kinds of things, but didn't get it to work. Same error. Any chance a reinstall with another (which one?) Linux-distribution can make this easier? I expect GPU-vanity will find 1 more character in the same time as CPU-miner, so it would be very nice to get to work.

LoyceV May I see the output of  '' ls -larths /usr/lib*/libOpenCL.so* ```
Depending on the distro the location of that library will be different.
If you do have the library a simple symbolic link may be all that you need
for vanitygens build machinery to find it.

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
it works like a charm on ubuntu 14.10.....   Wink
[/quote]
I'm running 14.04 (long term release). Do you have a Geforce 840M or another brand?
legendary
Activity: 1120
Merit: 1002
Install the OpenCL SDK, how that's done will depend on your graphics card, operating system, where you installed stuff, etc.
I've been trying all kinds of things, but didn't get it to work. Same error. Any chance a reinstall with another (which one?) Linux-distribution can make this easier? I expect GPU-vanity will find 1 more character in the same time as CPU-miner, so it would be very nice to get to work.
it works like a charm on ubuntu 14.10.....   Wink
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Install the OpenCL SDK, how that's done will depend on your graphics card, operating system, where you installed stuff, etc.
I've been trying all kinds of things, but didn't get it to work. Same error. Any chance a reinstall with another (which one?) Linux-distribution can make this easier? I expect GPU-vanity will find 1 more character in the same time as CPU-miner, so it would be very nice to get to work.
legendary
Activity: 2087
Merit: 1015
I have a question again:
The original Makefile contained this:
Code:
most: vanitygen keyconv
And thus it didn't compile oclvanitygen so I added this:
Code:
most: vanitygen oclvanitygen keyconv

Is this the right track? If I try to compile, it gives this:
Code:
cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:22: recipe for target 'oclvanitygen' failed
make: *** [oclvanitygen] Error 1

Any suggestions?



Install the OpenCL SDK, how that's done will depend on your graphics card, operating system, where you installed stuff, etc.

Quote
/usr/bin/ld: cannot find -lOpenCL
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I have a question again:
The original Makefile contained this:
Code:
most: vanitygen keyconv
And thus it didn't compile oclvanitygen so I added this:
Code:
most: vanitygen oclvanitygen keyconv

Is this the right track? If I try to compile, it gives this:
Code:
cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:22: recipe for target 'oclvanitygen' failed
make: *** [oclvanitygen] Error 1

Any suggestions?
full member
Activity: 181
Merit: 100
Bitflipy.com - $$_Flip your lucky coin_$$
Thanks for this good software...back holding some Bitcoins so i'm going to try it Smiley

keep up !
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
And this is the result of a bad laptop GPU (the one in your laptop is probably also much better):
Code:
$ ./oclvanitygen 1K1773R
Difficulty: 15058417127
[1.68 Mkey/s][total 71303168][Prob 0.5%][50% in 1.7h]
I'm going to post here and ask for information I can probably find in the topic, but I'm not yet done reading the 130 pages Wink

Where do I download oclvanitygen? Google doesn't really help me, and the one download I found looked like a shady website.
I'm running Ubuntu Linux, and get around 200-300 kKeys/s out of my CPUs (depending on system load).There's one 6 digit address I'd love to find, but it takes 30 days for 50% chance, and once I find this, I'll come up with other wishes.

I'd love to use my GPU (03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2) and hope to get much better performance that way.

Can someone send me in the right direction to get this to work?
I feel stupid now. All the time searching for oclvanitygen I couldn't find it, I type just "download vanitygen" in Google and it gives me https://github.com/samr7/vanitygen ... Turns out I had it all along, it just didn't compile.
I'll play around and report performance here if I get it to work.
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
Been running oclvanitygen for around 3-4 hours now. trying to get an address with 6 chosen characters.

Any idea how long this would take? i'm running at around 50Mkey/s


Thx

My two Radon R9 200 / HD 7900 cards have a combined 46MKeys/sec and found a seven after ninety minutes.  I had to restart and found the same seven prefix in four hours (but a different seven prefix in about an hour).  Am going to run it all weekend to celebrate - it's the first time I've been able to run at it's full potential.  Grin
Usually you get some time frame displayed in the console. Note that luck is involved here.

Yep - as discussed on the 7th of September 2015. https://bitcointalksearch.org/topic/m.12351327 http://archive.is/OUlPT once I started getting Delta errors I couldn't get the drivers working for the older version or the latest version.

I had to update the AMD driver's again the other day when I posted this, then use the OgNasty variant and I'm in business.  Cool
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
Been running oclvanitygen for around 3-4 hours now. trying to get an address with 6 chosen characters.

Any idea how long this would take? i'm running at around 50Mkey/s


Thx

My two Radon R9 200 / HD 7900 cards have a combined 46MKeys/sec and found a seven after ninety minutes.  I had to restart and found the same seven prefix in four hours (but a different seven prefix in about an hour).  Am going to run it all weekend to celebrate - it's the first time I've been able to run at it's full potential.  Grin
Usually you get some time frame displayed in the console. Note that luck is involved here.
legendary
Activity: 3808
Merit: 7912
Create a file containing many prefixes you would like and use it with the -f option.  Its a more efficient use of your card(s).
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
Been running oclvanitygen for around 3-4 hours now. trying to get an address with 6 chosen characters.

Any idea how long this would take? i'm running at around 50Mkey/s


Thx

My two Radon R9 200 / HD 7900 cards have a combined 46MKeys/sec and found a seven after ninety minutes.  I had to restart and found the same seven prefix in four hours (but a different seven prefix in about an hour).  Am going to run it all weekend to celebrate - it's the first time I've been able to run at it's full potential.  Grin
sr. member
Activity: 257
Merit: 250
Hey cheers for that man! :)
Code:
milton@milton:~/temp/vanitygen$ make clean
rm -f vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o vanitygen keyconv oclvanitygen oclvanityminer
milton@milton:~/temp/vanitygen$ sed -i.orig -e s'/\(return\) \+\(quirks\)/\1 (\2 \& ~VG_OCL_AMD_BFI_INT)/' oclengine.c
milton@milton:~/temp/vanitygen$ make -j1 all
cc -ggdb -O3 -Wall   -c -o vanitygen.o vanitygen.c
cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
cc -ggdb -O3 -Wall   -c -o util.o util.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o keyconv.o keyconv.c
cc keyconv.o util.o -o keyconv -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
cc -ggdb -O3 -Wall   -c -o oclengine.o oclengine.c
oclengine.c: In function ‘vg_ocl_prefix_check’:
oclengine.c:1553:18: warning: variable ‘tablesize’ set but not used [-Wunused-but-set-variable]
  int orig_delta, tablesize;
                  ^
cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL
cc -ggdb -O3 -Wall   -c -o oclvanityminer.o oclvanityminer.c
cc oclvanityminer.o oclengine.o pattern.o util.o -o oclvanityminer -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL -lcurl
milton@milton:~/temp/vanitygen$ ./oclvanitygen -1D 1:0 1AMD
Difficulty: 77178
Compiling kernel, can take minutes...done!
Pattern: 1AMD                                                                 
Address: 1AMDwsc4ZgV3TMnaeeSK8UBnLy28ey8hN3
Privkey: 5KEoF4fyPozcVNSfgi5e29dvc2iq6KmUv2RamprPPMUaBVxfvFk
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓

This is the Lifeboat Foundation's updated application.  It will work on Windows with the current Radeon drivers if you trust them enough to run it.

https://lifeboat.com/oclvanitygen

SSSSsssssswwwwwwweeeeeeeeeetttttttttt !!!!!!!]

Oh thank you OgNasty am now at 46 - 48 MKey/s (had installed down to 10.8 I think it was, but that didn't fix issues, updated the drivers to the latest and am in 64 bit mode (no real difference from non 64 mode, but will use because it's there.

Am sending a small donation your way.  Grin  Cool  Kiss
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
Does any one know what's up with this? https://i.imgur.com/G2lGy9L.png?2

Even when trying to generate a short prefix like 1Tst, it always says something about a "delta" and restarts... I'm using oclvanitygen btw.

The Radeon driver changed a year ago... use "-S" and it will work (albeit slower)

Or you can search through this thread for a 3rd party who updated the code/driver (if you trust that sort of thing)

This is the Lifeboat Foundation's updated application.  It will work on Windows with the current Radeon drivers if you trust them enough to run it.

https://lifeboat.com/oclvanitygen


If you are running Linux, nonnakip has created this document to help you get the default oclvanitygen working.

https://nastyfans.org/download/oclvanitygen.txt
hero member
Activity: 798
Merit: 722
Does any one know what's up with this? https://i.imgur.com/G2lGy9L.png?2

Even when trying to generate a short prefix like 1Tst, it always says something about a "delta" and restarts... I'm using oclvanitygen btw.

The Radeon driver changed a year ago... use "-S" and it will work (albeit slower)

Or you can search through this thread for a 3rd party who updated the code/driver (if you trust that sort of thing)
sr. member
Activity: 257
Merit: 250
I could not get this to work with the open source radeon stack on linux.
I installed radeon-crimson-15.12-15.302-151217a-297685e.zip
Seems to only find matches in safe mode on my rig.
Code:
milton@milton:~/temp/vanitygen$ /usr/bin/time -v ./oclvanitygen -D 1:0 -1 1ABCDE -S -v
Prefix difficulty:            259627881 1ABCDE
Difficulty: 259627881
Device: Hawaii
Vendor: Advanced Micro Devices, Inc. (1002)
Driver: 1912.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 2.0 AMD-APP (1912.5)
Max compute units: 40
Max workgroup size: 256
Global memory: 8021225920
Max allocation: 4244635648
OpenCL compiler flags:
Loading kernel binary 36a99a0fe623ec427079e545855decb8.oclbin
Grid size: 2560x4096
Modular inverse: 10240 threads, 1024 ops each
Using OpenCL prefix matcher
Pattern: 1ABCDE                                                                
Pubkey (hex): 04bcc0186d64f98580eb5f6c722b7c317ce58761720bd142768ee5ec3439d6a35bc63b47b83ebdf03f87a3fcdf1df2fa3d9d6c4bcb0935eb98e7bf1a00a9e6d3de
Privkey (hex): D23FEFD6084CAC825D063A85532B9D43A5CFBD4A3478C1C38260BDE618F27BCB
Privkey (ASN1): 308201130201010420d23fefd6084cac825d063a85532b9d43a5cfbd4a3478c1c38260bde618f27bcba081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a14403420004bcc0186d64f98580eb5f6c722b7c317ce58761720bd142768ee5ec3439d6a35bc63b47b83ebdf03f87a3fcdf1df2fa3d9d6c4bcb0935eb98e7bf1a00a9e6d3de
Address: 1ABCDEht5Mg8D8KvaTdALPif8hDgG3qmu2
Privkey: 5KQt8T8X1MeF5Z2NjwceHrvLVbk7PebNo38Kp93oghCPPBvmtgS
Halting...done!
Command being timed: "./oclvanitygen -D 1:0 -1 1ABCDE -S -v"
User time (seconds): 0.20
System time (seconds): 0.20
Percent of CPU this job got: 22%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.83
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 91700
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 9345
Voluntary context switches: 417
Involuntary context switches: 31
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
Without -S
Code:
milton@milton:~/temp/vanitygen$ ./oclvanitygen -D 1:0 -1 1ABCDE -v
Prefix difficulty:            259627881 1ABCDE
Difficulty: 259627881
Device: Hawaii
Vendor: Advanced Micro Devices, Inc. (1002)
Driver: 1912.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 2.0 AMD-APP (1912.5)
Max compute units: 40
Max workgroup size: 256
Global memory: 8003790784
Max allocation: 4244635648
OpenCL compiler flags: -DDEEP_PREPROC_UNROLL -DVERY_EXPENSIVE_BRANCHES -DDEEP_VLIW -DAMD_BFI_INT
Loading kernel binary af7e77b6af14fc4c5fb4342f8879b567.oclbin
Grid size: 2560x4096
Modular inverse: 10240 threads, 1024 ops each
Using OpenCL prefix matcher
[39.37 Mkey/s][total 1468006400][Prob 99.6%]                                   Match idx: 1
CPU hash: 47956086f8a6abd6842beb6de9808be8f40395e4
GPU hash: 64a6a66a53980ec1ea8180d056b7481df24acf17
Found delta: 7954221 Start delta: 73400321
[37.54 Mkey/s][total 1677721600][Prob 99.8%]                                   Match idx: 1
CPU hash: 5f474edbc3b476957fbb91b4573d1bb7d481177b
GPU hash: 64a6a66e9e5625dfe3f4f429cd926d95c4194a01
Found delta: 1102226 Start delta: 20971521
[37.44 Mkey/s][total 1887436800]                                               Match idx: 1
CPU hash: 05142be1e81deccb9c9cb32b5759ae7ddcc34db9
GPU hash: 64a6a66cfe128f9bbc0c1a2c87894ff394e2ad45
Found delta: 2499805 Start delta: 73400321
[37.46 Mkey/s][total 2097152000]                                               Match idx: 1
CPU hash: 6ae839a706481ddae41990448aaf6a57d5b67202
GPU hash: 64a6a66d88f4dd37acac6b99a72ee4de56c76d92
Found delta: 1099274 Start delta: 20971521
GPU idle: 1.01%                                                              
[37.44 Mkey/s][total 2181038080]                                               ^C
With -S
Code:
milton@milton:~/temp/vanitygen$ /usr/bin/time -v ./oclvanitygen -D 1:0 -1 1nix -S -v
Prefix difficulty:              4553521 1nix
Difficulty: 4553521
Device: Hawaii
Vendor: Advanced Micro Devices, Inc. (1002)
Driver: 1912.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 2.0 AMD-APP (1912.5)
Max compute units: 40
Max workgroup size: 256
Global memory: 8027255232
Max allocation: 4244635648
OpenCL compiler flags:
Loading kernel binary 36a99a0fe623ec427079e545855decb8.oclbin
Grid size: 2560x4096
Modular inverse: 10240 threads, 1024 ops each
Using OpenCL prefix matcher
Pattern: 1nix                                                                  
Pubkey (hex): 0424aa8da2d660b3bd9d40d5bb3a58c2e4d51a539e69b6b99a8cec89920b1a238861ebe969e4303babbd8a9caaed11117f2c44b8f973e456f95c2b96ec13344ef6
Privkey (hex): 49E8BA6B1BCBAFDD84BF5EE5C60EBAB102AB7FFAD962F38DDD67EA584FC2D67E
Privkey (ASN1): 30820113020101042049e8ba6b1bcbafdd84bf5ee5c60ebab102ab7ffad962f38ddd67ea584fc2d67ea081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a1440342000424aa8da2d660b3bd9d40d5bb3a58c2e4d51a539e69b6b99a8cec89920b1a238861ebe969e4303babbd8a9caaed11117f2c44b8f973e456f95c2b96ec13344ef6
Address: 1nixTZtdryjfp3UuJWMDeZ5kK5dUbe7Ht
Privkey: 5JNqVP4LWSGsDrTPWJDEfbsg8o8d9cZB8Ssa9CwXEQtFqSuihBZ
Halting...done!
Command being timed: "./oclvanitygen -D 1:0 -1 1nix -S -v"
User time (seconds): 0.19
System time (seconds): 0.18
Percent of CPU this job got: 39%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.94
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 92220
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 9321
Voluntary context switches: 291
Involuntary context switches: 21
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
I'm thinking I may have an incomplete install I had to build the kernel module manually
and kind of package up the binaries, libraries, development headers and then copy to the
root file system. I may of balls something up. Anyway I'm happy with that. Take it easy guys
and maybe I'll see ya round sometime -- teehee
hero member
Activity: 560
Merit: 501
Supermutated Virulent Microbial Strain
Does any one know what's up with this? https://i.imgur.com/G2lGy9L.png?2

Even when trying to generate a short prefix like 1Tst, it always says something about a "delta" and restarts... I'm using oclvanitygen btw.
hero member
Activity: 868
Merit: 1000
How to use Vanitygen in Mac os x?
Pages:
Jump to: