Pages:
Author

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

legendary
Activity: 1140
Merit: 1000
The Real Jude Austin
Try: find -name libopencl.so

And tell me the paths.



Remove the Intel OpenCL this way, seems you installed this manually...:

$ sudo rm /etc/ld.so.conf.d/opencl-vendor-intel.conf
$ sudo ldconfig

after this, go to the vanitygen folder:
$ make clean && make
Done

Quote
$ rm *.oclbin

The second command removes the compiled OpenCL kernel for your GPU which dosnt work anyway, always remove it when changing drivers/rebuilding, otherwise you'll end up using an old OpenCL kernel.
I have no file ending on oclbin.


Now back to your first line:
Quote
You will have to install the packages i've told you. nvidia-libopencl1-352 should show "installed".
Installing nvidia-libopencl1-352 removes ocl-lcd-libopencl1.

After this:
Code:
# dpkg --get-selections | grep opencl
nvidia-libopencl1-352                           install
nvidia-opencl-icd-352                           install
ocl-icd-libopencl1:amd64                        deinstall
opencl-headers                                  install


Quote
Now, try again and post the results.
I now get this:
Code:
make oclvanitygen
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
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
make: *** [oclvanitygen] Error 1
Error "/usr/bin/ld: cannot find -lOpenCL" is what I've had before, and so far if I got rid of this error I got an oclvanitygen that can't find a platform.

Any more suggestions are much appreciated Wink
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Remove the Intel OpenCL this way, seems you installed this manually...:

$ sudo rm /etc/ld.so.conf.d/opencl-vendor-intel.conf
$ sudo ldconfig

after this, go to the vanitygen folder:
$ make clean && make
Done

Quote
$ rm *.oclbin

The second command removes the compiled OpenCL kernel for your GPU which dosnt work anyway, always remove it when changing drivers/rebuilding, otherwise you'll end up using an old OpenCL kernel.
I have no file ending on oclbin.


Now back to your first line:
Quote
You will have to install the packages i've told you. nvidia-libopencl1-352 should show "installed".
Installing nvidia-libopencl1-352 removes ocl-lcd-libopencl1.

After this:
Code:
# dpkg --get-selections | grep opencl
nvidia-libopencl1-352                           install
nvidia-opencl-icd-352                           install
ocl-icd-libopencl1:amd64                        deinstall
opencl-headers                                  install


Quote
Now, try again and post the results.
I now get this:
Code:
make oclvanitygen
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
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
make: *** [oclvanitygen] Error 1
Error "/usr/bin/ld: cannot find -lOpenCL" is what I've had before, and so far if I got rid of this error I got an oclvanitygen that can't find a platform.

Any more suggestions are much appreciated Wink
sr. member
Activity: 406
Merit: 252
Since there is a high demand of generating vanity addresses I am wondering if there is any way to enable a split-key vanity address generation system on a VPS server.

I would work like this:

1. Installing vanitygen.exe on the server via SSH access.

2. Allowing it to run for finding an address with a particular prefix when someone inputs his part public key.

I am just skeptical on whether it will solve ESDA at a faster rate as graphics cards generally does.
legendary
Activity: 1792
Merit: 1008
/dev/null
$ locate libOpenCL.so
Code:
/usr/lib/x86_64-linux-gnu/libOpenCL.so
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so
/usr/share/man/man7/libOpenCL.so.7.gz

Quote
do you have the ocl or nvidia package installed?
How can I be sure about this?
$ dpkg --get-selections | grep opencl
Ensure the nvidia package is installed.
Code:
nvidia-libopencl1-352                           deinstall
nvidia-opencl-icd-352                           install
ocl-icd-libopencl1:amd64                        install
opencl-headers                                  install
Nvidia installed. I wonder about the amd though, as my system runs on Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz

Quote
I wouldnt be surprised if your ldconfig prefers the intel OpenCL first, which would break things. Why did you install it anyway?
Desperation Tongue I tried so many things I found online, hoping one would work.

Quote
Try it this way:

$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall  -L/usr/lib/x86_64-linux-gnu -lpcre -lcrypto -lm -lpthread -lOpenCL
Done in 90 ms, without errors.
But still no available OpenCL platforms:
Code:
./oclvanitygen 1test
Difficulty: 264104224
clGetPlatformIDs(0): Unknown code -1001
clGetPlatformIDs(0): Unknown code -1001
Available OpenCL platforms:

Quote
if this also dosnt work, we'll have to locate and remove that intel OpenCL first from the ldconfig.
$ grep -R -E "OpenCL|intel" /etc/ld.so.conf*
I like the "we" in this, thanks for your help so far!
Code:
# grep -R -E "OpenCL|intel" /etc/ld.so.conf*
/etc/ld.so.conf.d/opencl-vendor-intel.conf:/usr/lib/OpenCL/vendors/intel
I feel clueless Huh
You will have to install the packages i've told you. nvidia-libopencl1-352 should show "installed".

Remove the Intel OpenCL this way, seems you installed this manually...:

$ sudo rm /etc/ld.so.conf.d/opencl-vendor-intel.conf
$ sudo ldconfig

after this, go to the vanitygen folder:
$ make clean && make
$ rm *.oclbin

The second command removes the compiled OpenCL kernel for your GPU which dosnt work anyway, always remove it when changing drivers/rebuilding, otherwise you'll end up using an old OpenCL kernel.

Now, try again and post the results.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
$ locate libOpenCL.so
Code:
/usr/lib/x86_64-linux-gnu/libOpenCL.so
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so
/usr/share/man/man7/libOpenCL.so.7.gz

Quote
do you have the ocl or nvidia package installed?
How can I be sure about this?
$ dpkg --get-selections | grep opencl
Ensure the nvidia package is installed.
Code:
nvidia-libopencl1-352                           deinstall
nvidia-opencl-icd-352                           install
ocl-icd-libopencl1:amd64                        install
opencl-headers                                  install
Nvidia installed. I wonder about the amd though, as my system runs on Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz

Quote
I wouldnt be surprised if your ldconfig prefers the intel OpenCL first, which would break things. Why did you install it anyway?
Desperation Tongue I tried so many things I found online, hoping one would work.

Quote
Try it this way:

$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall  -L/usr/lib/x86_64-linux-gnu -lpcre -lcrypto -lm -lpthread -lOpenCL
Done in 90 ms, without errors.
But still no available OpenCL platforms:
Code:
./oclvanitygen 1test
Difficulty: 264104224
clGetPlatformIDs(0): Unknown code -1001
clGetPlatformIDs(0): Unknown code -1001
Available OpenCL platforms:

Quote
if this also dosnt work, we'll have to locate and remove that intel OpenCL first from the ldconfig.
$ grep -R -E "OpenCL|intel" /etc/ld.so.conf*
I like the "we" in this, thanks for your help so far!
Code:
# grep -R -E "OpenCL|intel" /etc/ld.so.conf*
/etc/ld.so.conf.d/opencl-vendor-intel.conf:/usr/lib/OpenCL/vendors/intel
I feel clueless Huh
legendary
Activity: 1792
Merit: 1008
/dev/null
$ locate libOpenCL.so
Code:
/usr/lib/x86_64-linux-gnu/libOpenCL.so
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so
/usr/share/man/man7/libOpenCL.so.7.gz

Quote
do you have the ocl or nvidia package installed?
How can I be sure about this?
$ dpkg --get-selections | grep opencl
Ensure the nvidia package is installed.

I wouldnt be surprised if your ldconfig prefers the intel OpenCL first, which would break things. Why did you install it anyway?
Try it this way:

$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall  -L/usr/lib/x86_64-linux-gnu -lpcre -lcrypto -lm -lpthread -lOpenCL

if this also dosnt work, we'll have to locate and remove that intel OpenCL first from the ldconfig.
$ grep -R -E "OpenCL|intel" /etc/ld.so.conf*
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
$ locate libOpenCL.so
Code:
/usr/lib/x86_64-linux-gnu/libOpenCL.so
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so
/usr/share/man/man7/libOpenCL.so.7.gz

Quote
do you have the ocl or nvidia package installed?
How can I be sure about this?
legendary
Activity: 1792
Merit: 1008
/dev/null
install these packages and recompile (make clean && make):
nvidia-libopencl1-352
nvidia-opencl-icd-352
The first one was new, the second installed already.

Now I'm back to the error I had before: can't find -lOpenCL
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
make: *** [oclvanitygen] Error 1

When I installed nvidia-libopencl1-352, I got this:
Code:
The following packages will be REMOVED:
  ocl-icd-dbg ocl-icd-libopencl1
The following NEW packages will be installed:
  nvidia-libopencl1-352

Code:
Removing ocl-icd-dbg:amd64 (2.1.3-4) ...
dpkg: ocl-icd-libopencl1:amd64: dependency problems, but removing anyway as you requested:
 nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however:
  Package ocl-icd-libopencl1:amd64 is to be removed.
  Package nvidia-libopencl1-352 is not installed.

Removing ocl-icd-libopencl1:amd64 (2.1.3-4) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Selecting previously unselected package nvidia-libopencl1-352.
(Reading database ... 199141 files and directories currently installed.)
Preparing to unpack .../nvidia-libopencl1-352_352.63-0ubuntu0.14.04.1_amd64.deb ...
Unpacking nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ...
Setting up nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...

So some packages are fighting eachoter over dependencies, and I end up with either one of the required packages. More suggestions are welcome Smiley

If I reinstall ocl-icd-libopencl1 I'm back to where I started (it compiles but no Available OpenCL platforms:
Code:
apt-get install ocl-icd-libopencl1
......
dpkg: nvidia-libopencl1-352: dependency problems, but removing anyway as you requested:
 nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however:
  Package ocl-icd-libopencl1:amd64 is not installed.
  Package nvidia-libopencl1-352 is to be removed.

$ locate libOpenCL.so
do you have the ocl or nvidia package installed?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
install these packages and recompile (make clean && make):
nvidia-libopencl1-352
nvidia-opencl-icd-352
The first one was new, the second installed already.

Now I'm back to the error I had before: can't find -lOpenCL
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
make: *** [oclvanitygen] Error 1

When I installed nvidia-libopencl1-352, I got this:
Code:
The following packages will be REMOVED:
  ocl-icd-dbg ocl-icd-libopencl1
The following NEW packages will be installed:
  nvidia-libopencl1-352

Code:
Removing ocl-icd-dbg:amd64 (2.1.3-4) ...
dpkg: ocl-icd-libopencl1:amd64: dependency problems, but removing anyway as you requested:
 nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however:
  Package ocl-icd-libopencl1:amd64 is to be removed.
  Package nvidia-libopencl1-352 is not installed.

Removing ocl-icd-libopencl1:amd64 (2.1.3-4) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Selecting previously unselected package nvidia-libopencl1-352.
(Reading database ... 199141 files and directories currently installed.)
Preparing to unpack .../nvidia-libopencl1-352_352.63-0ubuntu0.14.04.1_amd64.deb ...
Unpacking nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ...
Setting up nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...

So some packages are fighting eachoter over dependencies, and I end up with either one of the required packages. More suggestions are welcome Smiley

If I reinstall ocl-icd-libopencl1 I'm back to where I started (it compiles but no Available OpenCL platforms:
Code:
apt-get install ocl-icd-libopencl1
......
dpkg: nvidia-libopencl1-352: dependency problems, but removing anyway as you requested:
 nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however:
  Package ocl-icd-libopencl1:amd64 is not installed.
  Package nvidia-libopencl1-352 is to be removed.
hero member
Activity: 702
Merit: 500
When I run oclvanitygen then after sometime my pc automatically turns off.
What could be the reason for it ?
How to prevent it ?


1.  check your fans are cooling the system properly (both system fan AND graphics card fan).    its possible your system is overheating.  ocl drives the graphics card very hard.

2.  check power.  as before, the graphics card will be pulling a lot more power than usual.  check the power supply, and cabling are up to the task.  make sure you've got the 4ight number of cables coming from the power supply to the graphics card's auxiliary power inputs.

3.  just in case, also check that you haven't got 'sleep mode' set to turn the computer off after some minutes of inactivity.

4.  try doing something else that will drive the graphics card hard that isn't vanitygen.  maybe try a high performance 3d game or benchmark app and see if you get the same problem.

ideally, try and watch the pc and see if you can see what its saying before it switches off.

-- Jez
hero member
Activity: 1162
Merit: 547
CryptoTalk.Org - Get Paid for every Post!
When I run oclvanitygen then after sometime my pc automatically turns off.
What could be the reason for it ?
How to prevent it ?
legendary
Activity: 1624
Merit: 1024
try this:

vanitygen.exe -o result.txt 1BTC
Thank you
hero member
Activity: 843
Merit: 1004
Hello.
An error message appeared on the screen.

Code:
oclvanitygen.exe -p 0 -d 1 -o result.txt 1BTC
pause


Code:
oclvanitygen.exe -p 0 -d 0 -o result.txt 1BTC
pause


How to run on the processor?



try this:

vanitygen.exe -o result.txt 1BTC
legendary
Activity: 1624
Merit: 1024
Hello.
An error message appeared on the screen.

Code:
oclvanitygen.exe -p 0 -d 1 -o result.txt 1BTC
pause


Code:
oclvanitygen.exe -p 0 -d 0 -o result.txt 1BTC
pause


How to run on the processor?

legendary
Activity: 1792
Merit: 1008
/dev/null
I'm running 14.04 (long term release). Do you have a Geforce 840M or another brand?
Do you use the binary (ie, proprietary) drivers form nvidia? if so, i can help you get it up and running.
You probably don't, do you have bumblebee installed for discrete GPU use?
I've reinstalled (from Ubuntu to Mint), but I get the same error:
Code:
test@Laptop:~/vanitygen-master$ ./oclvanitygen 1test
Difficulty: 264104224
clGetPlatformIDs(0): Unknown code -1001
clGetPlatformIDs(0): Unknown code -1001
Available OpenCL platforms:

I am using NVIDIA Driver Version 352.63, I'm not sure about the bumblebee-thing. Any help to get it working would be much appreciated Smiley
install these packages and recompile (make clean && make):
nvidia-libopencl1-352
nvidia-opencl-icd-352
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I'm running 14.04 (long term release). Do you have a Geforce 840M or another brand?
Do you use the binary (ie, proprietary) drivers form nvidia? if so, i can help you get it up and running.
You probably don't, do you have bumblebee installed for discrete GPU use?
I've reinstalled (from Ubuntu to Mint), but I get the same error:
Code:
test@Laptop:~/vanitygen-master$ ./oclvanitygen 1test
Difficulty: 264104224
clGetPlatformIDs(0): Unknown code -1001
clGetPlatformIDs(0): Unknown code -1001
Available OpenCL platforms:

I am using NVIDIA Driver Version 352.63, I'm not sure about the bumblebee-thing. Any help to get it working would be much appreciated Smiley
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
LoyceV,
shit man! looks like you've really sodomized your computer now, uhm
I apologise for that LoyceV . I'm not sure how you can return your system
to how it was now. Again sorry about that. Probably best if I shutup now.
I've been planning a reinstall for a long time, guess I'll have to really do it now. I'm just not sure what distribution to use yet, I seem to like none of them anymore lately. I'll just try Mint.
legendary
Activity: 1792
Merit: 1008
/dev/null
I'm running 14.04 (long term release). Do you have a Geforce 840M or another brand?
Do you use the binary (ie, proprietary) drivers form nvidia? if so, i can help you get it up and running.
You probably don't, do you have bumblebee installed for discrete GPU use?
sr. member
Activity: 257
Merit: 250
LoyceV,
shit man! looks like you've really sodomized your computer now, uhm
I apologise for that LoyceV . I'm not sure how you can return your system
to how it was now. Again sorry about that. Probably best if I shutup now.
legendary
Activity: 3808
Merit: 7912
So if I got this right:
If person A wants me to search for a vanity address for him, but I would also like to search for vanity addresses for n other people simultaneously, the result that I find, with which person A can generate his desired vanity address, is only usable to person A if he has a certain piece of information from all these n other people?

 You don't have it right.  Person A gives you a key which you use in the generation of A's address.  You can only do A's address unless the n other people want to share A's key (N.B. they do not).  Now only A will have the private key.
Pages:
Jump to: