Post
Topic
Board Mining (Altcoins)
Re: The official MacMiner thread [BTC/LTC-CPU/GPU/FPGA/ASIC]
by
RedB
on 09/08/2017, 18:57:50 UTC
Hey

I just got an eGPU with a RX580 + MBPro 13" over tb3 and was interested to see how the performance would hold up in a mining environment.

I've got it working with nicehash but I suspect that both GPUs are trying to be used for mining. Or atleast thats what I gather from the console. Device 0 being the internal Chip and 1 being the RX580. If this is the case I would like to just use the eGPU for mining and exclude the internal if possible. Is there a command or setting to chose exactly which GPU is used? I can provide more details and console messages if needed.

Cheers

I would love to know how an eGPU manages! Check out the API Output window of MacMiner - it's fed cleaner output than the GPU Miner window and you can see which devices are in use. You can choose which devices to mine with like so:

--device|-d    Select device to use, one value, range and/or comma separated (e.g. 0-2,4) default: all

so in GPU Miner window 'Manual flags' add --device 1 if that's the eGPU. Alternatively, you can add "device":"1" to the .config file for whatever currency you're mining in ~/Library/Application Support/MacMiner i.e.:

{
"pools":[
    {
        "url":"stratum+tcp://pool.ip:8334",
        "user":"user",
        "pass":"x"
    }
],
"device":"1"
}

You can also list devices like so in Terminal:
/Applications/MacMiner.app/Contents/Resources/sgminer/bin/sgminer --ndevs

Please let me know how you get on and with which algorithm!

If you are interested I shared my experience on egpu.io: https://egpu.io/forums/mac-setup/my-experience-with-cryptomining-on-macos/

Right now I got Keccak working pretty nice but I haven't tested out all of them. I'm planning on testing out other algorithm later this week and keep sharing my experiences on egpu.io

Super happy it works on High Sierra Beta with native eGPU detection! Smiley