GPU Mining on Intel Apple Mac using XMRig and KawPow
Posted: Wed Aug 04, 2021 6:36 pm
First release of XMRIG for mac os working for CPU and AMD GPUs.
Currently the following algo have been tested on GPU and CPU:
KawPow "kawpow" GPU
RandomX "algo": "rx/0" CPU
UPX "cn/upx2" CPU
1. Download this version of xmrig.zip.
2. Download configGPU.json and rename to config.json.
3. Create a new folder on your Desktop and put xmrig and config.json in the folder.
4. Open config.json and update:
KawPow index to 1 if you have an Intel GPU. This will prevent XMRig from trying to use the Intel GPU.
In some configurations, "0" index ALSO WORKS!
Update algo to "kawpow" and change your URL and user to your pool information. If using Unminable pool, URL is kp.unmineable.com:3333 and user is COIN:WALLETID:USER
5. Launch XMRig. Open Terminal -> Change directory to where you put XMRig and launch ./xmrig.
On an Intel MacBook Pro 16" AMD 5600M GPU, we get 6.39 MH/s hashrate.
Currently the following algo have been tested on GPU and CPU:
KawPow "kawpow" GPU
RandomX "algo": "rx/0" CPU
UPX "cn/upx2" CPU
1. Download this version of xmrig.zip.
2. Download configGPU.json and rename to config.json.
3. Create a new folder on your Desktop and put xmrig and config.json in the folder.
4. Open config.json and update:
KawPow index to 1 if you have an Intel GPU. This will prevent XMRig from trying to use the Intel GPU.
In some configurations, "0" index ALSO WORKS!
Code: Select all
"kawpow": [
{
"index": 1,
"intensity": 36864,
"worksize": 256,
"threads": [-1],
"unroll": 8
}
Update algo to "kawpow" and change your URL and user to your pool information. If using Unminable pool, URL is kp.unmineable.com:3333 and user is COIN:WALLETID:USER
Code: Select all
"pools": [
{
"algo": "kawpow",
"coin": null,
"url": "kp.unmineable.com:3333",
"user": "COIN:WALLETID:USER",
5. Launch XMRig. Open Terminal -> Change directory to where you put XMRig and launch ./xmrig.
On an Intel MacBook Pro 16" AMD 5600M GPU, we get 6.39 MH/s hashrate.
Code: Select all
* ABOUT XMRig/6.13.0-dev-macos clang/12.0.0
* LIBS libuv/1.41.0 OpenSSL/1.1.1i hwloc/2.4.1
* HUGE PAGES supported
* 1GB PAGES unavailable
* CPU Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (1) 64-bit AES
L2:2.0 MB L3:16.0 MB 8C/16T NUMA:1
* MEMORY 10.3/64.0 GB (16%)
DIMM_A0: 32 GB DDR4 @ 2667 MHz MT40A4G8BAF-062E:B
DIMM_B0: 32 GB DDR4 @ 2667 MHz MT40A4G8BAF-062E:B
* MOTHERBOARD Apple Inc. - Mac-A61BADE1FDAD7B05
* DONATE 1%
* ASSEMBLY auto:intel
* POOL #1 kp.unmineable.com:3333 algo kawpow
* COMMANDS hashrate, pause, resume, results, connection
* OPENCL #0 Apple/OpenCL 1.2 (Jun 21 2021 21:07:35)
* OPENCL GPU #0 n/a Intel(R) UHD Graphics 630 1250 MHz cu:24 mem:384/1536 MB
* OPENCL GPU #1 n/a AMD Radeon Pro 5600M Compute Engine 1144 MHz cu:40 mem:2044/8176 MB
* CUDA disabled
[2021-08-04 13:22:29.130] net use pool kp.unmineable.com:3333 159.203.108.228
[2021-08-04 13:22:29.130] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871239
[2021-08-04 13:22:29.131] opencl use profile kawpow (1 thread) scratchpad 32 KB
| # | GPU | BUS ID | INTENSITY | WSIZE | MEMORY | NAME
| 0 | 1 | n/a | 36864 | 256 | 3063 | AMD Radeon Pro 5600M Compute Engine
[2021-08-04 13:22:29.133] opencl GPU #1 compiling...
[2021-08-04 13:22:29.450] opencl GPU #1 compilation completed (317 ms)
[2021-08-04 13:22:29.450] opencl error CL_INVALID_VALUE when calling clGetProgramInfo
[2021-08-04 13:22:29.450] opencl READY threads 1/1 (319 ms)
[2021-08-04 13:22:29.692] opencl KawPow program for period 623746 compiled (242ms)
[2021-08-04 13:22:29.926] opencl KawPow program for period 623747 compiled (234ms)
[2021-08-04 13:22:30.440] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871239
[2021-08-04 13:22:33.614] miner KawPow light cache for epoch 249 calculated (3922ms)
[2021-08-04 13:22:53.961] opencl KawPow DAG for epoch 249 calculated (20336ms)
[2021-08-04 13:23:20.030] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871240
[2021-08-04 13:23:28.324] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871241
[2021-08-04 13:23:28.596] opencl KawPow program for period 623748 compiled (265ms)
[2021-08-04 13:23:29.533] miner speed 10s/60s/15m 5.93 n/a n/a MH/s max 6.04 MH/s
[2021-08-04 13:23:54.651] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871242
[2021-08-04 13:24:29.827] miner speed 10s/60s/15m 6.38 6.32 n/a MH/s max 6.39 MH/s
[2021-08-04 13:25:00.257] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871243
[2021-08-04 13:25:30.196] miner speed 10s/60s/15m 6.35 6.33 n/a MH/s max 6.39 MH/s
[2021-08-04 13:25:32.111] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871244
[2021-08-04 13:25:32.523] opencl KawPow program for period 623749 compiled (402ms)
[2021-08-04 13:26:30.566] miner speed 10s/60s/15m 6.28 6.28 n/a MH/s max 6.39 MH/s
[2021-08-04 13:26:41.720] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871245
[2021-08-04 13:27:30.917] miner speed 10s/60s/15m 6.21 6.17 n/a MH/s max 6.39 MH/s
[2021-08-04 13:28:31.290] miner speed 10s/60s/15m 6.19 6.20 n/a MH/s max 6.39 MH/s
[2021-08-04 13:28:35.752] opencl GPU #1 COMPUTE ERROR
[2021-08-04 13:28:41.735] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871245
[2021-08-04 13:28:59.071] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871246
[2021-08-04 13:29:26.577] net new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1871247
[2021-08-04 13:29:27.064] opencl KawPow program for period 623750 compiled (477ms)
[2021-08-04 13:29:31.706] miner speed 10s/60s/15m 5.85 6.06 n/a MH/s max 6.39 MH/s