Native Mac Miner Release v4 (new GPU BETA)

@justvanbloom
First off that you for creating this program. I’m currently using v4 of your program.

I currently have an issue with mining Zcash on the Minergate pool. I’m seeing the Sol/s, good shares and bad shares reflecked on the Minergate dashboard, but the Total mined is not updating. It stays at 0. Can you tell me if there is something I have done wrong or if there is a config file I need to tweak.

Link to Minergate settings: https://minergate.com/altminers/nheqminer

My setting on the Zcash Miner: Zcash address - my email address, password - x, Server:port - zec.pool.minergate.com:3357

Some output from the program:
ZCASH CPU Miner - GitHub - justvanbloom/nheqminer: Currently fastest public CPU Equihash/zcash/zec miner jvb_nheqminer/0.3.9
Thanks to Zcash developers and community, nicehash, tromp, kost and xenoncat. Donate!
BTC:1GaGRtcCjb7ThaDgDLjgVwV8fctzEf12ct
Setting log level to 2
[21:13:58][0x00007fffa50763c0] api | Listening on port 9000
[21:13:58][0x0000700003585000] stratum | Connecting to stratum server zec.pool.minergate.com:3357
[21:13:58][0x0000700003585000] stratum | Connected!
[21:13:58][0x0000700003585000] stratum | Starting miner
[21:13:58][0x0000700003608000] miner#0 | Using Xenoncat’s AVX2 solver.
[21:13:58][0x000070000368b000] miner#1 | Using Xenoncat’s AVX2 solver.
[21:13:58][0x000070000370e000] miner#2 | Using Xenoncat’s AVX2 solver.
[21:13:58][0x0000700003791000] miner#3 | Using Xenoncat’s AVX2 solver.
[21:13:58][0x0000700003897000] miner#5 | Using Xenoncat’s AVX2 solver.
[21:13:58][0x0000700003814000] miner#4 | Using Xenoncat’s AVX2 solver.
[21:13:58][0x0000700003608000] miner#0 | Starting thread #0
[21:13:58][0x0000700003897000] miner#5 | Starting thread #5
[21:13:58][0x0000700003814000] miner#4 | Starting thread #4
[21:13:58][0x0000700003791000] miner#3 | Starting thread #3
[21:13:58][0x000070000368b000] miner#1 | Starting thread #1
[21:13:58][0x000070000370e000] miner#2 | Starting thread #2
[21:13:58][0x0000700003585000] stratum | Subscribed to stratum server
[21:13:58][0x0000700003585000] miner | Extranonce is 00000000
[21:13:58][0x0000700003585000] stratum | Authorized worker my@email
[21:13:58][0x0000700003585000] stratum | e[35mTarget set to 0040000000000000000000000000000000000000000000000000000000000000e[0m
[21:13:58][0x0000700003585000] stratum | e[36mReceived new job #176195#886e[0m
[21:15:24][0x0000700003608000] stratum | Submitting share #4, nonce 00000000000000000000000000000000000000000000000000000097
[21:15:24][0x0000700003585000] stratum | e[32mAccepted share #4e[0m
[21:16:11][0x0000700003585000] stratum | e[36mReceived new job #176196#720e[0m
[21:16:15][0x0000700003585000] stratum | e[36mReceived new job #176197#715e[0m
[21:16:26][0x0000700003585000] stratum | e[36mReceived new job #176198#713e[0m
[21:17:33][0x0000700003585000] stratum | e[36mReceived new job #176199#708e[0m
[21:18:16][0x0000700003608000] stratum | Submitting share #5, nonce 00000000000000000000000000000000000000000000000000000050
[21:18:16][0x0000700003585000] stratum | e[32mAccepted share #5e[0m
[21:18:32][0x0000700003585000] stratum | e[36mReceived new job #176200#703e[0m
[21:19:01][0x0000700003814000] stratum | Submitting share #6, nonce 04000000000000000000000000000000000000000000000000000036
[21:19:01][0x0000700003585000] stratum | e[32mAccepted share #6e[0m

Thanks for any pointers, I’m getting low Sol’s on iMac 2017 Radeon Pro 580 8GB

I compiled from source under 10.12.6 with no issues.

./silentarmy --list
Devices on platform “Apple”:
ID 0: Intel(R) Core™ i7-7700K CPU @ 4.20GHz
ID 1: AMD Radeon Pro 580 Compute Engine

Im using “./silentarmy --use 1”, and I tried multiple variations of “–instances=” 2 worked best almost no difference between 1 and 3, anything 4 & above was far worse.

I initially was getting:
Total 27.6 sol/s [dev1 27.1] 0 shares
Total 27.1 sol/s [dev1 26.8] 0 shares

I then changed OPTIM_SIMPLIFY_ROUND to 1 and got:
Total 33.3 sol/s [dev1 32.6] 5 shares
Total 34.0 sol/s [dev1 34.2] 5 shares

Not sure what I should be getting with this config but i should be outperforming the 75 sol/s of a RX 480, any tips?

Hi @kozyilmaz !
I downloaded your branch macos-clang from github but I get some errors. Can you help me to compile it on macOS?
In particular, my error is:

make[2]: *** No rule to make target `../nheqminer/cpu_xenoncat/asm_mac/equihash_avx1.o', needed by `nheqminer'.  Stop.
make[2]: *** Waiting for unfinished jobs....

Thank you!
Alessio

I’ve already run the assemble.sh script in cpu_xenocat/asm_mac folder.

Tried again using nheqminer-macos, got error :frowning:

  [...]
  INSTALL    boost
  CLONE      nheqminer
  CONFIG     nheqminer
  BUILD      nheqminer
make[1]: *** [build] Error 1
make: *** [nheqminer_all] Error 2

Ideas? Is there a way to see logs?

Solved!

The make script does not work with CUDA 8 and Command Line Tools 8.3. I’d already noticed that but I skipped the warning by commenting the @false in the Makefile (line 48). Anyway, it works well with Command Line Tools 7.3, therefore I installed it, leaving the @false commented, and the compilation went well.

Thanks to @kozyilmaz for the excellent job!

Oh sorry for my late reply, you already figured it out!
$ PRINT_DEBUG=y make will show logs, just in case

No problem, you answered very quickly, but fortunately I solved my issue more quickly :slight_smile:

Hi. I am a newbie so sorry if I made some stupid mistake. I am using this software to TRY TO mine on Mac but I have two main problems.

  1. It seems that is NOT using my GPU but only my CPU. Got a Radeon 580

  2. I don’t receive any ZCASH !!! Shouldn’t I receive something every time I read “Submitting share” ?

New Version of nheqminer gpu is currently tested.
Will release later today. Also supports BTG now.

1 Like

I am not having luck with last release as it gives reconnecting every 3 weeks. Cant wait to try this one.

Any luck? Having the same issue.

I really can not wait for the new build vanbloom please release soon!!!

2 Likes

Please test this gpu cmdline version.
https://github.com/justvanbloom/zcash_mac_nheqminer/raw/master/nheqminer-gpu.dms

Will test this tonight and post the results what is a reasonable timeframe for you 6h or 12h +?

Did you want to give me a .dms file? I have no idea how to open a .dms file If I remember what I saw on google is that it was some amiga emulator of sorts. But can you-you send the .dmg link, please?

Yeah, I had no luck :confused:

VanBloom you ever gonna get back with us man?

GPU Miner

https://github.com/justvanbloom/nheqminer/raw/kost/mac/nheqminer-gpu.zip

Release

nheqminer-gpu (CPU & GPU >= SM 5.0, AVX and CUDA)[USE_CPU_XENONCAT, USE_CUDA_DJEZO]

NOTE: nheqminer-gpu depends on CUDA capable graphics card with “Compute Capability” >= 5.0 and CUDA driver for MAC (/usr/local/cuda/lib/libcuda.dylib)

Usage

Simple benchmarks:
./nheqminer-cpu -b -t 2 ./nheqminer-gpu -b -cd 0

Mining examples for btg:
$ ./nheqminer-gpu -l pool.serverpower.net:3857 -u BTGADRESS.yourworker -cd 0

or change vars in miner.sh and start it with
$ ./miner.sh

1 Like

any luck getting this to work with AMD Radeon Pro 560 OpenCL ?