Title: OSX Mac/Hackintosh ethereum miner CUDA build Post by: Gabi on February 06, 2018, 11:02:55 PM Just went through the process of building ethminer with Cuda for OSX - it appear simple but devil in the details, its very frustrating... I spent way too much time on it, but finally it works! No more idle time for Nvidia on mac!
Hope it will save somebody a lot of time and frustration who is up for same challenge. It's a Genoil/chfast one: https://github.com/ethereum-mining/ethminer For some evil reason lol they provide Mac build but it crashes in OpenCL and not compiled for Cuda at all. You need build 0.12. It works for opencl only, but speed is a disaster - ~2mh on 1070. Newer builds not working on OSX at all. So what I did - 10.13 High sierra, latest Nvidia web drivers, latest Cuda 387.128, lots of pain and suffering and build is here: https://drive.google.com/file/d/1llztDndIvW119It897sRDFurTjD5kEo-/view?usp=sharing To run in Cuda Mode for example on ethermine pool: ./ethminer --farm-recheck 200 -U -S us1.ethermine.org:4444 -FS eu1.ethermine.org:444 -O 0xYOURETHADDRESS you can try OpenCL as well (-G instead of -U, but its horribly slow) 1070 getting 26.33 Mh/s, not that bad. One more thing - for some reason 3gb cards work on Linux version, but on Mac - nope, dont even try, you'll get memory allocation error. https://i.imgur.com/nsUzJZP.png Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: Digital Drug Lord on February 07, 2018, 12:40:47 AM where are the mac miners? I wish I knew because I know of many mac computers in music studio that wont mind me stealing their hash.
I could maybe get 600 h just from them alone! Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: CryptoWatcher420 on February 07, 2018, 06:01:17 AM no one gives a shit about mac's lol
Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: Gabi on February 07, 2018, 02:03:24 PM no one gives a shit about mac's lol Haha obviously thats true, cant blame them. Anyways might be useful for some lonely souls :) Still mining 26.33 stable. Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: Minabo on February 07, 2018, 05:22:34 PM I think it is impossible!
Mac OS couldn't allow to provide mining on it. Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: RYXES on February 07, 2018, 05:36:43 PM I like Mac's too much to overheat them, I'll stick to my Linux rigs and keep my Mac for fun :)
Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: goose_ on February 07, 2018, 08:15:16 PM Code: dyld: Library not loaded: @rpath/libcudart.9.1.dylib Thanks for the effort. :) Any idea where I can get libcudart.9.1? Is it from an SDK for CUDA? Thanks! Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: Gabi on February 07, 2018, 09:06:00 PM Code: dyld: Library not loaded: @rpath/libcudart.9.1.dylib Thanks for the effort. :) Any idea where I can get libcudart.9.1? Is it from an SDK for CUDA? Thanks! Yes, you need this: https://developer.nvidia.com/cuda-downloads It's a full dmg package that I used for cuda 9.1. To my surprise, still mining non-stop with same hashrate :) Title: Re: OSX Mac/Hackintosh ethereum miner CUDA build Post by: fortozs on March 03, 2018, 05:07:25 AM Thanks Gabi! I was having issues building from source, and the latest binary release at ethereum-mining was getting me a bunch of rejected shares. Working like a charm now with CUDA 9.1. About 26.66 Mh/s with my GTX1070. People can't conceive of mining on a Mac. These same people have probably never heard of Hackintoshes either.
|