Bitcoin Forum
November 06, 2024, 10:10:43 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: OSX Mac/Hackintosh ethereum miner CUDA build  (Read 214 times)
Gabi (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
February 06, 2018, 11:02:55 PM
 #1

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.




Digital Drug Lord
Member
**
Offline Offline

Activity: 308
Merit: 12


View Profile
February 07, 2018, 12:40:47 AM
 #2

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!
CryptoWatcher420
Sr. Member
****
Offline Offline

Activity: 462
Merit: 258

Small Time Miner, Rig Builder, Crypto Trader


View Profile
February 07, 2018, 06:01:17 AM
 #3

no one gives a shit about mac's lol

6pin to EPS 12v 4+4pin w/pigtail & 2.5mm barrel plug for Pico Psu for SERVER PSU ONLY GPU MINING RIGS! | Donations: BTC-  | Join Me on Discord! https://discord.gg/VDwWFcK
Gabi (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
February 07, 2018, 02:03:24 PM
 #4

no one gives a shit about mac's lol

Haha obviously thats true, cant blame them. Anyways might be useful for some lonely souls Smiley Still mining 26.33 stable.

Minabo
Member
**
Offline Offline

Activity: 74
Merit: 10

Keep calm and stay yourself in any situation.


View Profile
February 07, 2018, 05:22:34 PM
 #5

I think it is impossible!
Mac OS couldn't allow to provide mining on it.



        ▄▄███▄▄
    ▄▄███████████▄▄
▄▄███████████████████▄▄
██████████████████████████
▀▀██████████████████▀▀ ▄▄
    ▀▀██████████▀▀ ▄▄████
        ▀▀█▀▀ ▄▄█████████
            ▄█████████████
            ██████████████
            ██████████████
            ██████████████
            ██████████████
            █████████████▀
            █████████▀▀
            █████▀▀
            ▀▀▀

.
Brickblock.io║║
║║
║║
║║
║║.
║║
║║
║║
║║
║║

                ▄▄██▄
            ▄▄█▀▀  ██
        ▄▄█▀▀      █▌
    ▄▄█▀▀   ▄▀    ██
▄▄▄█▀▀    ▄█▀     ▐█
██      ▄██▀       █▌
▀▀██▄███▀        ██
    ██▀▀█▄▄▄     █▌
    █▄  ██▀▀▀█▄██
    █▄█▀





    ▄▄▄▄▄▄
    ▄████████
    █████▀▀▀▀
▐████
▐████
████████████
████████████
▐████
▐████
▐████
▐████




                ▄████▄▄    ▄
██             ████████████▀ 
████▄         █████████████▀ 
▀████████▄▄   █████████████
▄▄█████████████████████████
██████████████████████████
▀██████████████████████ 
█████████████████████ 
    ▀█████████████████▀
    ▄█████████████▀
▄▄███████████████▀ 
▀▀▀▀▀▀▀▀▀▀▀ 



▄▄▄                  ▄▄▄
█████▄             ▄██████▄
█████████▄        ████████████▄
██████████▌▄     ██████████████
██████████▌▐█  ▄█████████████▀▄█
██████████▌▐██▄▀████████████ ███
██████████▌▐████▀██████████ ████
██████████▌▐█████ ███████▀▄█████
██████████▌ ▀█████▄▀████ ███████
██████████▌   ▀▀████ ██▄████████
▀█████████▌      ▀▀▀▀ ▄█████████
▀▀█████▌             ▀▀██████
        ▀█▌                  ▀▀█
║║
║║
║║
║║
║║.
RYXES
Member
**
Offline Offline

Activity: 140
Merit: 10

Merit me or don't.


View Profile
February 07, 2018, 05:36:43 PM
 #6

I like Mac's too much to overheat them, I'll stick to my Linux rigs and keep my Mac for fun Smiley

Merit me or don't.
goose_
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
February 07, 2018, 08:15:16 PM
 #7

Code:
dyld: Library not loaded: @rpath/libcudart.9.1.dylib

Thanks for the effort.  Smiley

Any idea where I can get libcudart.9.1? Is it from an SDK for CUDA?  Thanks!
Gabi (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
February 07, 2018, 09:06:00 PM
 #8

Code:
dyld: Library not loaded: @rpath/libcudart.9.1.dylib

Thanks for the effort.  Smiley

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 Smiley

fortozs
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
March 03, 2018, 05:07:25 AM
 #9

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!