CUDA Toolkit and Driver Installation
CLOVER configuration
Add nvda_drv=1 to the Boot->Arguments section
<key>Arguments</key> <string>-v dart=0 kext-dev-mode=1 rootless=0 nvda_drv=1</string>
Enable NVidia injection in the Graphics section
<key>NVidia</key> <true/>
Add CsrActiveConfig with value 0x67 to the RtVariables section to completely disable SIP. Using csrutil disable in the Recovery mode will not work.
<key>CsrActiveConfig</key> <string>0x67</string>
Enable NvidiaWeb injection in the SystemParameters
<key>NvidiaWeb</key> <true/>
Download NvidiaGraphicsFixup.kext (https://sourceforge.net/projects/nvidiagraphicsfixup/) and Lilu.kext (https://github.com/vit9696/Lilu/releases) and add them to /Volumes/EFI/EFI/CLOVER/kexts/Other
Besure that you have the EmuVariableUefi-64.efi file in /Volumes/EFI/EFI/CLOVER/drivers64UEFI
NVIDIA driver and CUDA installation
- Download the NVIDIA Web Driver for Mac OS X Sierra (my version is 10.12.6)
- You can find a list of available drivers here http://hackintosher.com/guides/get-nvidia-graphic-cards-working-hackintosh/#drivers
- Follow the NVIDIA CUDA Installation Guide for Mac OS X (http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html) to install the CUDA Toolkit
After that all these steps your should see your GTX1070 in the CUDA Control Panel in the System Preferences
Compiling Genoil ethminer
Currently the nvcc compiler does not support the newest Apple Clang 900.0.0, you must downgrade to 802.0.42 to make nvcc work
Go to https://developer.apple.com/download/more/?=for%20Xcode, download the Command Line Tools for Xcode 8.3.2 and install it
Run the following command to switch to the old version:
sudo xcode-select --switch /Library/Developer/CommandLineTools
If everything was done correctly you should something like this
$ clang --version Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Compile the Genoil ethminer. I put it in ~/workspace. You can put it where you want.
$ cd ~/workspace; git clone https://github.com/Genoil/cpp-ethereum # Install cmake via brew # Ethminer requires cmake version higher than 3.3. Mine is 3.9.2. $ brew install cmake $ cd cpp-ethereum $ mkdir build $ cd build $ cmake .. # By default ethminer will generate code for all types of NVIDIA GPU. GTX1070 has the compute capability 6.1. To exclude others compute capabilities I specified -DCOMPUTE=61, but it is not necessary. $ cmake -DETHASHCUDA=on -DCOMPUTE=61 --build . $ cmake --build . # If everything went well you should see the ethminer binary in build/ethminer folder # To check if ethminer sees your GTX1070 $ ./ethminer -U --list-devices [CUDA]: Listing CUDA devices. FORMAT: [deviceID] deviceName [0] GeForce GTX 1070 Compute version: 6.1 cudaDeviceProp::totalGlobalMem: 8589737984
Start mining
./ethminer -U -S eth.pool.minergate.com:45791 -O <your_wallet_or_login>
My Gigabyte N1 Gaming gives from 26 to 29 MH/s.
Happy ethereum mining!
Credits
http://hackintosher.com/guides/get-nvidia-graphic-cards-working-hackintosh/
https://github.com/Genoil/cpp-ethereum
https://stackoverflow.com/questions/36250949/revert-apple-clang-version-for-nvcc/36590330#36590330
https://minergate.com
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @nmd! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
You published your First Post
You made your First Comment
You got a First Vote
Award for the number of upvotes received
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Is it profitable ? How much Ethereum do you get per day ?
I tried mining Monero with my Radeon RX580 but it was just around 1 $ / day :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit