GPU Mining on Intel Apple Mac using XMRig and KawPow

CAN ONLY REPLY TO TOPICS HERE! The latest software for mining cryptocurrency on Mac. New software links added daily. Post your software or share others. Official install guides for macOS Cryptocurrency miners will be documented here.
User avatar
macminergod
Site Admin
Posts: 160
Joined: Mon Feb 22, 2021 7:41 pm

GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by macminergod »

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.

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.


Macbook Pro 5600m Gpu Mining Macos
Macbook Pro 5600m Gpu Mining Macos (412.67 KiB) Viewed 1491 times

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
Board: Open. Register here.
cloudcatcher
Posts: 2
Joined: Mon Oct 04, 2021 7:05 pm

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by cloudcatcher »

This is amazing, I was up and running in no time.

I have two external GPUs that aren't being utilized...what can I modify to get them to work? Only one GPU is being utilized, one of the external ones, #1 below. Thanks!

* OPENCL GPU #0 n/a Intel(R) UHD Graphics 630 1150 MHz cu:24 mem:384/1536 MB
* OPENCL GPU #1 n/a AMD Radeon RX 560 Compute Engine 1200 MHz cu:14 mem:1024/4096 MB
* OPENCL GPU #2 n/a AMD Radeon Pro 560X Compute Engine 1004 MHz cu:16 mem:1024/4096 MB
* OPENCL GPU #3 n/a AMD Radeon RX 560 Compute Engine 1200 MHz cu:16 mem:1024/4096 MB
* CUDA disabled
User avatar
macminergod
Site Admin
Posts: 160
Joined: Mon Feb 22, 2021 7:41 pm

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by macminergod »

cloudcatcher wrote: Mon Oct 04, 2021 7:08 pm This is amazing, I was up and running in no time.

I have two external GPUs that aren't being utilized...what can I modify to get them to work? Only one GPU is being utilized, one of the external ones, #1 below. Thanks!

* OPENCL GPU #0 n/a Intel(R) UHD Graphics 630 1150 MHz cu:24 mem:384/1536 MB
* OPENCL GPU #1 n/a AMD Radeon RX 560 Compute Engine 1200 MHz cu:14 mem:1024/4096 MB
* OPENCL GPU #2 n/a AMD Radeon Pro 560X Compute Engine 1004 MHz cu:16 mem:1024/4096 MB
* OPENCL GPU #3 n/a AMD Radeon RX 560 Compute Engine 1200 MHz cu:16 mem:1024/4096 MB
* CUDA disabled
Yes, update your index file. Can you share your hashrates you're getting for these cards please in macOS ?
Board: Open. Register here.
cloudcatcher
Posts: 2
Joined: Mon Oct 04, 2021 7:05 pm

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by cloudcatcher »

Here are the hash rates, attached. Also what unMinable reports.
Attachments
Screenshot 2021 10 07 At 1.37.59 PM
Screenshot 2021 10 07 At 1.37.59 PM (82.48 KiB) Viewed 745 times
Screenshot 2021 10 07 At 1.35.50 PM
Screenshot 2021 10 07 At 1.35.50 PM (923.2 KiB) Viewed 745 times
zephyr325
Posts: 2
Joined: Fri Oct 22, 2021 9:16 pm

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by zephyr325 »

Hey - really sweet advance! One problem I'm running into, though - when I setup (using unmineable with the config listed", I'm getting this error. Any thoughts on how to troubleshoot it?

[2021-10-22 16:11:27.605] net kp.unmineable.com:3333 read error: "end of file"
zcbdfgrg
Posts: 3
Joined: Wed Aug 04, 2021 2:07 pm

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by zcbdfgrg »

zephyr325 wrote: Fri Oct 22, 2021 9:18 pm Hey - really sweet advance! One problem I'm running into, though - when I setup (using unmineable with the config listed", I'm getting this error. Any thoughts on how to troubleshoot it?

[2021-10-22 16:11:27.605] net kp.unmineable.com:3333 read error: "end of file"
Can you post a full screenshot? That would help immensely....or even just the text?

Need at least a 4gb GPU, and need to specify that as the index. Under KawPow. Also make sure opencl has enabled:true, and algo:kawpow
zephyr325
Posts: 2
Joined: Fri Oct 22, 2021 9:16 pm

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by zephyr325 »

Well - it wasn't the program at all - it was my ASUS router's "AI Protection" that was interfering with communications. Turned that off, and now getting 3.66 MH/S (Macbook Pro 2019, AMD Radeon Pro 5300M 4GB). Thanks for checking back, though!
Attachments
Screen Shot 2021 10 23 At 1.31.32 PM
Screen Shot 2021 10 23 At 1.31.32 PM (267.65 KiB) Viewed 73 times
industrialspeakage1
Posts: 3
Joined: Sun Oct 24, 2021 5:05 am

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by industrialspeakage1 »

Hi, I tried following your instructions, but I get:

[2021-10-23 22:29:26.013] opencl skip non-existing device with index 1
[2021-10-23 22:29:26.013] opencl disabled (no suitable configuration found)
Attachments
Screen Shot 2021 10 23 At 10.31.09 PM
Screen Shot 2021 10 23 At 10.31.09 PM (66.62 KiB) Viewed 54 times
zcbdfgrg
Posts: 3
Joined: Wed Aug 04, 2021 2:07 pm

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by zcbdfgrg »

industrialspeakage1 wrote: Sun Oct 24, 2021 5:06 am Hi, I tried following your instructions, but I get:

[2021-10-23 22:29:26.013] opencl skip non-existing device with index 1
[2021-10-23 22:29:26.013] opencl disabled (no suitable configuration found)
You don't have an index 1. You just have index 0. So give that a go! May or may not work.
industrialspeakage1
Posts: 3
Joined: Sun Oct 24, 2021 5:05 am

Re: GPU Mining on Intel Apple Mac using XMRig and KawPow

Post by industrialspeakage1 »

That did work, thanks! Is their a configuration that enables RandomX CPU for Mac? Is that faster?

Or, a way to speed up Kawpow in the coding?
Post Reply