Comments (12)
try --no-default-features
from nano-vanity.
Adding a system environment variable named "LIB" with a value "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\lib\x64" worked for me
from nano-vanity.
Install the Nvidia CUDA toolkit then restart
from nano-vanity.
EDIT: Compilation works, but crashes while opening the device.
Instructions for AMD are quite simple. See https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases/latest , download the .exe and install. Contains only a few headers and libs, nothing like the Nvidia toolkit.
It should also set the required environment variables so everything works, but just in case, the libraries are then located in C:\Program Files (x86)\OCL_SDK_Light
from nano-vanity.
@PlasmaPower I am also facing this:
error: linking with
link.exe failed: exit code: 1181
LINK : fatal error LNK1181: cannot open input file 'OpenCL.lib'
OS:
Windows 10 Pro (64bit)
Graphics Chipset:
Radeon (TM) RX 480 Graphics
Radeon Software Edition:
Adrenalin 2019
Radeon Software Version:
19.7.5
from nano-vanity.
@lephleg Unfortunately I believe there are also other issues using this with AMD cards. See #33
from nano-vanity.
@PlasmaPower As weird as it may sound, I am also getting this without passing the --features gpu
flag now...
from nano-vanity.
Success at last! Let's see how far an i5 can get us... :)
from nano-vanity.
Tested on i7-7700HQ (no GPU flag): 200k keys/second
Tested on GTX1080 (notebook version): 1.8M keys/second
Good job @PlasmaPower
from nano-vanity.
@PlasmaPower As weird as it may sound, I am also getting this without passing the
--features gpu
flag now...
I had the same troubles on windows 10.
Fix:
- Install Visual Studio 2019 (Community version, free)
- Install Nvidia CUDA toolkit
- restart computer
Compile with GPU flag.
from nano-vanity.
I am stuck on this exact problem too. I can pass --no-default-features
and get a successful build, but only my CPU is used, not my GPU....
If I try passing cargo --features gpu
, it overrides --no-default-features
and I end up with the same error as OP.
from nano-vanity.
Ok, after downloading this from github, I was able to install with cargo install nano-vanity --features gpu
However, when I try nano-vanity .robocash --gpu-device 0 --threads 0
, I get
Estimated attempts needed: 1099511627776
No computation devices specified
If I try nano-vanity .robocash --gpu
, the estimates comes up, followed by a delay, then the following.
Estimated attempts needed: 1099511627776
thread 'main' has overflowed its stack
GPU: AMD RX Radeon 5700 XT
LuxMark v3.1 score: 2061
@PlasmaPower Sorry to be a bug, any tips you can give for this? My CPU would take months to generate an 8 character vanity, but my GPU should be much quicker.... I tried running with --gpu
as well to be sure I wasn't just calling the wrong GPU index. I tried compiling first with --features gpu
, then installing with --features gpu
, but that made no difference to me.
from nano-vanity.
Related Issues (20)
- xor ID into key_root instead of dereferencing HOT 2
- Add parameter to optionally set local work group size HOT 1
- New NVIDIA OpenCL error HOT 6
- Compilation issue with modern AMD + optimization enabled HOT 1
- nano-vanity.exe location HOT 1
- --suffix "word" simple does not work: generates incorrect seeds HOT 2
- checkpoints maybe? HOT 1
- failed to select a version for the requirement `rustc_version = "^0.1" HOT 1
- thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value HOT 5
- Seed doesn't match generated wallet HOT 1
- Cannot build on ubuntu-20.04 - failed to select a version for the requirement `crypto-mac = "^0.5"` HOT 4
- 212% but nothing found yet. HOT 2
- installing without opencl? HOT 1
- Thread overflow on AMD gpus
- Error: linking with `cc` failed: exit status: 1
- Is it possible to go 1000x faster? HOT 1
- Nano-Vanity compiles, but won't run with the gpu flag (Error passing generic uint32_t to const uint32_t) HOT 11
- "The curve point of the blinding factor"
- the parameter type `T` must be valid for the static lifetime... HOT 1
- support Apple Silicon GPU (OpenCL downgrade)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nano-vanity.