I found trying to make it work on macOS a cryptonightmare and I'd have to do a lot of learning to get it working. I managed to compile sgminer-gm but not to get the cryptonight kernel working for Macs and I just don't have time right now to figure out why - I spent about a day on it before giving up. I'd be grateful if anyone who knows more about OpenCL kernel programming could give it a shot too.
[14:06:43] Initialising kernel cryptonight.cl with nfactor 10, n 1024
[14:06:43] initCl() finished. Found ATI Radeon HD 5770
[14:06:43] Error -54 while attempting to enqueue kernel 0.
[14:06:43] GPU 0 failure, disabling!
or
[14:07:45] Building binary cryptonightATI Radeon HD 5770gw64l8.bin
[14:07:49] Initialising kernel cryptonight.cl with nfactor 10, n 1024
[14:07:49] Error -61 when creating Cryptonight scratchpads buffer.
Thanks! Unfortunately all I get are GPU errors when it runs on my RX 570 GPU/2010Mac Pro so it’s never able to report a result that’s acceptable to the pool. :-(
Comments
I found trying to make it work on macOS a cryptonightmare and I'd have to do a lot of learning to get it working. I managed to compile sgminer-gm but not to get the cryptonight kernel working for Macs and I just don't have time right now to figure out why - I spent about a day on it before giving up. I'd be grateful if anyone who knows more about OpenCL kernel programming could give it a shot too.
https://github.com/genesismining/sgminer-gm/issues/56 this may help? but they are still stuck also.
I didn't get much further than that. I tried merging in some code (see https://github.com/genesismining/sgminer-gm/issues/62) from another xmr miner project but the closest I got was
[14:06:43] Initialising kernel cryptonight.cl with nfactor 10, n 1024
[14:06:43] initCl() finished. Found ATI Radeon HD 5770
[14:06:43] Error -54 while attempting to enqueue kernel 0.
[14:06:43] GPU 0 failure, disabling!
or
[14:07:45] Building binary cryptonightATI Radeon HD 5770gw64l8.bin
[14:07:49] Initialising kernel cryptonight.cl with nfactor 10, n 1024
[14:07:49] Error -61 when creating Cryptonight scratchpads buffer.
Anyhow, I compiled the xmr-stak-amd and xmr-stak-cpu miners if that's of any use to you
http://macminer.fabulouspanda.com/commandline/xmrstakamd/
from the dev branch of these projects
https://github.com/fireice-uk/xmr-stak-amd
https://github.com/fireice-uk/xmr-stak-cpu
Let me know how you get on with that.
Can you also compile https://github.com/fireice-uk/xmr-stak-nvidia or at least let us know what you did to get the others to compile in Xcode?
There are compile instructions for cpu and amd here:
http://macminer.fabulouspanda.com/blog/index.php?post/2017/09/29/How-to-mine-Monero/XMR-on-macOS
I'm unlikely to get around to compiling nvidia in the near future though and I don't have any nvidia card to test it with if I do, sorry!
Thanks! Unfortunately all I get are GPU errors when it runs on my RX 570 GPU/2010Mac Pro so it’s never able to report a result that’s acceptable to the pool. :-(