GPU mining with W6800X Duo and W6900X + XMRig on macOS Big Sur

All discussions around cryptocurrency mining on macOS and Apple products. Discussion around the most popular crypto coins today including Bitcoin, Ethereum, and more. Read our getting started guide to understanding cryptocurrency, what you need to get started, and how to earn. What's your Apple Mac setup? Hackintosh? eGPU's? Share your setup and details here.
Post Reply
User avatar
macminergod
Site Admin
Posts: 205
Joined: Mon Feb 22, 2021 7:41 pm

GPU mining with W6800X Duo and W6900X + XMRig on macOS Big Sur

Post by macminergod »

Our first Crypto mining tests with the Apple's new AMD GPU's in the 2019 Mac Pro. We used XMRig and OpenCL to mine with the AMD Radeon PRO W6800X Duo 64GB and AMD Radeon PRO W6900X 32GB simultaneously under macOS Big Sur 11.5.2. See our new guide on how to crypto mine using your Mac's GPU with XMRig here.

XMRig and OpenCL only recognized 3095 GB of ram per card for some reason. Thus, hash rates were very low as the maximum GPU was not being taken advantage of (if someone knows how to fix this, please post below). In order for XMRig to simultaneously mine all 3 GPU's, we had to edit our XMRig's configuration with additional indexes, see below. Obviously, full mining potential was nowhere near achieved for both these cards and we'll be brining more tests from Boot Camp and other miners soon.


Amd Radeon Pro W6900x W6800x Xmrig Macos
Amd Radeon Pro W6900x W6800x Xmrig Macos (425.65 KiB) Viewed 59351 times


Average Hashrate: 48 H/s


Average Earnings: $3 per day per Crypto prices fluctuate daily


Average Power: 750 - 760 W Kill A Watt Power Meter




System:
Mac Pro (2019)
MacPro7,1
macOS Big Sur 11.5.2
Chip: 3.5 GHz 8-Core Intel Xeon W
Memory: 32 GB 2666 MHz DDR4
GPUs: AMD Radeon PRO W6800X Duo 64 GB & AMD Radeon PRO W6900X 32GB
Disk: 1 TB SSD
XMRig/6.13.0-dev-macos clang/12.0.0


XMRig GPU Output:

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) Xeon(R) W-3223 CPU @ 3.50GHz (1) 64-bit AES
                L2:8.0 MB L3:16.5 MB 8C/16T NUMA:1
 * MEMORY       9.1/32.0 GB (28%)
                Slot 8 (Channel A / DIMM 1): 8 GB DDR4 @ 2666 MHz 9ASF1G72PZ-2G9E6    
                Slot 10 (Channel B / DIMM 1): 8 GB DDR4 @ 2666 MHz 9ASF1G72PZ-2G9E6    
                Slot 5 (Channel D / DIMM 1): 8 GB DDR4 @ 2666 MHz 9ASF1G72PZ-2G9E6    
                Slot 3 (Channel E / DIMM 1): 8 GB DDR4 @ 2666 MHz 9ASF1G72PZ-2G9E6    
 * MOTHERBOARD  Apple Inc. - Mac-27AD2F918AE68F61
 * 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 17 2021 15:24:17)
 * OPENCL GPU   #0 n/a AMD Radeon PRO W6900X Compute Engine 2081 MHz cu:80 mem:8188/32752 MB
 * OPENCL GPU   #1 n/a AMD Radeon PRO W6800X Duo Compute Engine 1754 MHz cu:60 mem:8188/32752 MB
 * OPENCL GPU   #2 n/a AMD Radeon PRO W6800X Duo Compute Engine 1754 MHz cu:60 mem:8188/32752 MB
 * CUDA         disabled
[2021-08-27 06:15:32.995]  net      use pool kp.unmineable.com:3333  104.236.230.225
[2021-08-27 06:15:32.995]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903776
[2021-08-27 06:15:32.996]  opencl   use profile  kawpow  (3 threads) scratchpad 32 KB
|  # | GPU |  BUS ID | INTENSITY | WSIZE | MEMORY | NAME
|  0 |   0 |     n/a |     36864 |   256 |   3095 | AMD Radeon PRO W6900X Compute Engine
|  1 |   1 |     n/a |     36864 |   256 |   3095 | AMD Radeon PRO W6800X Duo Compute Engine
|  2 |   2 |     n/a |     36864 |   256 |   3095 | AMD Radeon PRO W6800X Duo Compute Engine
[2021-08-27 06:15:32.998]  opencl   GPU #2 compiling...
[2021-08-27 06:15:33.165]  opencl   GPU #2 compilation completed (167 ms)
[2021-08-27 06:15:33.165]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2021-08-27 06:15:33.165]  opencl   GPU #1 compiling...
[2021-08-27 06:15:33.165]  opencl   GPU #1 compilation completed (0 ms)
[2021-08-27 06:15:33.165]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2021-08-27 06:15:33.165]  opencl   GPU #0 compiling...
[2021-08-27 06:15:33.326]  opencl   GPU #0 compilation completed (160 ms)
[2021-08-27 06:15:33.326]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2021-08-27 06:15:33.326]  opencl   READY threads 3/3 (330 ms)
[2021-08-27 06:15:33.623]  opencl   KawPow program for period 634592 compiled (297ms)
[2021-08-27 06:15:33.913]  opencl   KawPow program for period 634593 compiled (289ms)
[2021-08-27 06:15:34.210]  opencl   KawPow program for period 634592 compiled (297ms)
[2021-08-27 06:15:34.212]  opencl   KawPow program for period 634592 compiled (2ms)
[2021-08-27 06:15:34.502]  opencl   KawPow program for period 634593 compiled (290ms)
[2021-08-27 06:15:34.504]  opencl   KawPow program for period 634593 compiled (2ms)
[2021-08-27 06:15:36.661]  miner    KawPow light cache for epoch 253 calculated (3038ms)
[2021-08-27 06:15:37.355]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903777
[2021-08-27 06:15:38.901]  opencl   KawPow DAG for epoch 253 calculated (2225ms)
[2021-08-27 06:15:38.903]  opencl   KawPow DAG for epoch 253 calculated (2234ms)
[2021-08-27 06:15:39.031]  opencl   KawPow DAG for epoch 253 calculated (2349ms)
[2021-08-27 06:15:52.329]  opencl   accepted (1/0) diff 4295M (57 ms)
[2021-08-27 06:15:59.268]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903778
[2021-08-27 06:16:07.977]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903779
[2021-08-27 06:16:08.303]  opencl   KawPow program for period 634594 compiled (320ms)
[2021-08-27 06:16:08.620]  opencl   KawPow program for period 634594 compiled (317ms)
[2021-08-27 06:16:08.622]  opencl   KawPow program for period 634594 compiled (2ms)
[2021-08-27 06:16:33.263]  miner    speed 10s/60s/15m 48.33 n/a n/a MH/s max 48.39 MH/s
[2021-08-27 06:16:40.680]  opencl   accepted (2/0) diff 4295M (60 ms)
[2021-08-27 06:17:33.501]  miner    speed 10s/60s/15m 48.31 48.31 n/a MH/s max 48.39 MH/s
[2021-08-27 06:18:04.395]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903780
[2021-08-27 06:18:13.408]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903781
[2021-08-27 06:18:33.720]  miner    speed 10s/60s/15m 48.19 48.26 n/a MH/s max 48.39 MH/s
[2021-08-27 06:19:33.946]  miner    speed 10s/60s/15m 48.13 48.13 n/a MH/s max 48.39 MH/s
[2021-08-27 06:19:46.280]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903782
[2021-08-27 06:19:46.534]  opencl   accepted (3/0) diff 4295M (57 ms)
[2021-08-27 06:19:46.590]  opencl   KawPow program for period 634595 compiled (305ms)
[2021-08-27 06:19:46.890]  opencl   KawPow program for period 634595 compiled (300ms)
[2021-08-27 06:19:46.892]  opencl   KawPow program for period 634595 compiled (2ms)
[2021-08-27 06:19:58.568]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903783
[2021-08-27 06:20:27.099]  opencl   accepted (4/0) diff 4295M (58 ms)
[2021-08-27 06:20:34.168]  miner    speed 10s/60s/15m 48.04 48.10 n/a MH/s max 48.39 MH/s
[2021-08-27 06:21:34.411]  miner    speed 10s/60s/15m 48.12 48.09 n/a MH/s max 48.39 MH/s
[2021-08-27 06:21:58.574]  net      new job from kp.unmineable.com:3333 diff 4295M algo kawpow height 1903783



XMRig config.json for AMD W6800X & W6900X Mining:

Code: Select all

"kawpow": [
            {
                "index": 0,
                "intensity": 36864,
                "worksize": 256,
                "threads": [-1],
                "unroll": 8
            },
            {
                "index": 1,
                "intensity": 36864,
                "worksize": 256,
                "threads": [-1],
                "unroll": 8
            },
            {
                "index": 2,
                "intensity": 36864,
                "worksize": 256,
                "threads": [-1],
                "unroll": 8
            },

        ],
For Miners Rigs, macOS Hardware GPUs --> here.
Post Reply