decred / gominer

Go (golang) based GPU miner for Decred.
GNU General Public License v3.0
160 stars 80 forks source link

macOS version #174

Open FlorinAndrei opened 6 years ago

FlorinAndrei commented 6 years ago

Will there be a macOS version released any time soon?

I am specifically interested in GPU mining with AMD chips with 2 GB of memory.

jcvernaleo commented 6 years ago

Not sure what the situation is now but the reason we never did it before (when I was working on it) was that none of us had access to a mac with a GPU capable of mining. I only had access to some mac minis and a macbook air, none of which have anything interesting GPU wise.

s-ben commented 5 years ago

Hey @jcvernaleo (or anyone else still interested). I was able to get gominer built and running on my MacBook Pro (16 GB RAM, NVIDIA GeForce GT 750M 2048 MB video card). I was able to just use the Linux build commands:

go get -u github.com/golang/dep/cmd/dep
mkdir -p $GOPATH/src/github.com/decred
cd $GOPATH/src/github.com/decred
git clone  https://github.com/decred/gominer.git
cd gominer
dep ensure

I already had CUDA installed, so didn't try the Linux build instructions there, but they could just work as well.

NOTE: Using my 'NVIDIA GeForce GT 750M' graphics card, I was only able to get like 75 MH/s, which wasn't enough to catch any successful shares on supernova pool (didn't try others). Presumably due to higher difficulty due to ASICs.

jcvernaleo commented 5 years ago

Nice! I saw your PR with the instructions update in a little bit.

Yeah, unfortunately, we are probably pretty well into the ASIC realm not but I still prefer to have this working at least for testnet use.

s-ben commented 5 years ago

Right. I do also think that someone might be able to mine on some pools with a real GPU rig (not just a spare graphics card on a 5 yr old MacBook Pro (what I have)). We might want to add a warning here (or somewhere) though that it is unlikely to be profitable now, to save people from wasting time if they don't know the risks.

s-ben commented 5 years ago

P.S. I also do plan on using this to set up testnet mining. Think this could be useful for developers.

davecgh commented 11 months ago

Everything is on an entirely new hash function now so this doesn't apply anymore. Closing.

davecgh commented 11 months ago

Oops, wrong repo and issue.