Hi steemians,
In this post, I will tell you how to mine ETH with GPU on your Mac. Even though I am explaning with the AMD device, the NVIDIA devices are still can be used same way with small changes of parameters.
From here. Choose the latest release binary for 'Darwin'.
Open Terminal app and go to the directory which the miner software downloaded.
Run this command. Use '-U' instead of '-G' for NVIDIA ones.
$ ./ethminer -G --list-devices
The result from my laptop shows that I have two opencl devices.
[OPENCL]:
Listing OpenCL devices.
FORMAT: [deviceID] deviceName
[0] Intel(R) HD Graphics 530
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 1610612736
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 402653184
CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[1] AMD Radeon Pro 460 Compute Engine
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 4294967296
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1073741824
CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
Let's start mining with my 'AMD 460'.
$ ./ethminer -G -S YOUR_MINING_POOL_ADDRESS -O YOUR_MINING_POOL_WALLET_ADDRESS --opencl-device 1
I've used '1' for '--opencl-device' option, because the index of my 'AMD 460' is '1' according to the result of previous command. Without this, it will run with my 'Intel HD Graphics' and maybe not mining properly. Replace YOUR_MINING_POOL_ADDRESS and YOUR_MINING_POOL_WALLET_ADDRESS with your real ones.
Use '-U' instead of '-G' for NVIDIA ones.
You can refer example for addresses at here.
Here is the screenshot from running on my mac.
It's mining approximately 1.5MH/s which is very poor performace to earn enough money 😥
You can see available options with this command.
$ ./ethminer --help
Enjoy your mining life~