4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

How to mine ETH with GPU on your Mac

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.

Prerequisites

  • Macintosh computer with OSX
  • Basic knowledges about using Terminal (for navigating directories)
  • Ethereum mining pool address for you (try minergate or nicehash if you don't have yet)

Download miner software

From here. Choose the latest release binary for 'Darwin'.
Open Terminal app and go to the directory which the miner software downloaded.

Check your GPU

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 ``` # Mining Let's start mining with my 'AMD 460'. ```shell $ ./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](https://minergate.com/altminers/genoil). Here is the screenshot from running on my mac. ![스크린샷 2017-07-19 오후 4.37.54.png](https://steemitimages.com/DQmYjQx9xmHve27MqTNpeoSucXCvdzpYCRrfRUHVL8qWDJT/%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202017-07-19%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%204.37.54.png) It's mining approximately 1.5MH/s which is very poor performace to earn enough money 😥 # For advanced using You can see available options with this command. ```shell $ ./ethminer --help ```
Enjoy your mining life~
17 upvotes $0.00

Replies (22)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: