Giter Site home page Giter Site logo

Comments (12)

PlasmaPower avatar PlasmaPower commented on July 28, 2024 3

try --no-default-features

from nano-vanity.

boogerlad avatar boogerlad commented on July 28, 2024 3

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.

PlasmaPower avatar PlasmaPower commented on July 28, 2024 2

Install the Nvidia CUDA toolkit then restart

from nano-vanity.

guilhermelawless avatar guilhermelawless commented on July 28, 2024 2

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.

lephleg avatar lephleg commented on July 28, 2024

@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

GPUZ

from nano-vanity.

PlasmaPower avatar PlasmaPower commented on July 28, 2024

@lephleg Unfortunately I believe there are also other issues using this with AMD cards. See #33

from nano-vanity.

lephleg avatar lephleg commented on July 28, 2024

@PlasmaPower As weird as it may sound, I am also getting this without passing the --features gpu flag now...

from nano-vanity.

lephleg avatar lephleg commented on July 28, 2024

Success at last! Let's see how far an i5 can get us... :)

from nano-vanity.

MikeRow avatar MikeRow commented on July 28, 2024

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.

MikeRow avatar MikeRow commented on July 28, 2024

@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.

adrianegraphene avatar adrianegraphene commented on July 28, 2024

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.

adrianegraphene avatar adrianegraphene commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.