tomkha / nq-miner Goto Github PK
View Code? Open in Web Editor NEWNimiq GPU miner. Supports Nvidia and AMD cards.
License: GNU Affero General Public License v3.0
Nimiq GPU miner. Supports Nvidia and AMD cards.
License: GNU Affero General Public License v3.0
I'm getting segmentation fault after recompiling:
CUDA_PATH=/usr/local/cuda yarn install
CUDA_PATH=/usr/local/cuda yarn build
mv build/Release/*.node .
everything looks fine at first glance:
ldd ./nimiq_miner_cuda.node
linux-vdso.so.1 (0x00007ffc255e5000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4bdf880000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4bdf865000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4bdf842000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4bdf650000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4bdfbbb000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4bdf501000)
But executing "start_gpu.sh" with renamed binary in the script always results in
Segmentation fault
And same with:
$> ./nimiq_miner_cuda.node --version
Segmentation fault
Compiled with:
cuda 10.2
node 10.19.0
I have a couple things but didn't want to create an issue for each one:
ubuntu 18.04
now run ./release_linux.sh
What is the reason for such a mistake?
make: Entering directory '/home/hqw/nq-miner-app/nq-miner-0.99.7/build'
RULE binding_gyp_nimiq_miner_cuda_target_CUDA_compiler_0 Release/obj.target/nimiq_miner_cuda/geni/argon2d.o
/bin/sh: 1: nvcc: not found
nimiq_miner_cuda.target.mk:10: recipe for target 'Release/obj.target/nimiq_miner_cuda/geni/argon2d.o' failed
make: *** [Release/obj.target/nimiq_miner_cuda/geni/argon2d.o] Error 127
make: Leaving directory '/home/hqw/nq-miner-app/nq-miner-0.99.7/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/hqw/nq-miner-app/nq-miner-0.99.7/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.15.0-130-generic
gyp ERR! command "/usr/bin/node" "/home/hqw/nq-miner-app/nq-miner-0.99.7/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /home/hqw/nq-miner-app/nq-miner-0.99.7
gyp ERR! node -v v10.23.1
gyp ERR! node-gyp -v v5.1.1
gyp ERR! not ok
error Command failed with exit code 1.
You could add the lucky memory command because most coins mineable by your program don't use memory for mining... It will help reduce consumption and stability. If this option already exists, how to do it.
If possible could you please add other stats to your api so awesome miner can read it. Right now it only reads total hashrate. It's missing the pool, shares, hw errors, number of gpus and their stats, clock, fan, temps, and performance.
Thanks
am unable to start the miner due to it not being in the repository:
"------------------------START Miner----------------------"
'nq-miner.exe' is not recognized as an internal or external command,
operable program or batch file.
"------------------------END Miner----------------------"
"Something went wrong or you exited"
Press any key to continue . . .
A very high hashrate of >30MH/s is displayed with the GTX 770 when using CUDA. The drivers are up to date. The device is not displayed in the pool and there seems to be no mining progress. opencl works normally.
Hi,
I used https://hub.shortnim.me/setupMiner for setting up the program and installed everything as told.
I get this error after executing ./start_gpu.sh as root:
------------------------START Miner----------------------
[I 19:32:39] NQMiner: NQ Miner 0.99.7 OpenCL starting
Error: Failed to initialize miner: clGetPlatformIDs
at new NativeMiner (/snapshot/nq-miner/src/NativeMiner.js:0:0)
at /snapshot/nq-miner/index.js:0:0
at Object. (/snapshot/nq-miner/index.js:0:0)
at Module._compile (pkg/prelude/bootstrap.js:1261:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:710:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1316:12)
at startup (internal/bootstrap/node.js:320:19)
------------------------END Miner----------------------
Something went wrong or you exited
What's the issue? Do I lack some dependencies? Do I have to install something manually? It looks like a runtime error but honestly idk.
Feel free to help. Thanks in advance!
Hello, please add support of failover pools. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.