Chainfire / UselethMiner

Ethereum CPU miner and aggregating proxy
86 stars 10 forks source link

Possible GPU support on Intel Macs? #11

Open dg-Nacho opened 2 years ago

dg-Nacho commented 2 years ago

Also wanted to chime in that I was able to get huge pages on my intel Mac. Late 2020 iMac on Mac OS Monterey.

[2022-01-19 18:17:23] UselethMiner v0.2 [2022-01-19 18:17:23][SYSTEM] Intel(R) Core(TM) i9-10910 CPU @ 3.60GHz, 20 threads, x64, 128 GB RAM [2022-01-19 18:17:23][CFETHASH][CPU] Starting benchmark [2022-01-19 18:17:23][CFETHASH][3] Loading seedhashes [2022-01-19 18:17:23][CFETHASH][CPU] Flavor: AVX2 (AMD) [2022-01-19 18:17:23][CFETHASH][1] Loading seedhashes [2022-01-19 18:17:23][CFETHASH][DAG][1] Loading DAG [2022-01-19 18:17:38][CFETHASH][DAG][1] Loaded DAG (hugepages:yes)

[2022-01-19 18:24:57][CFETHASH][4] Setting threads to 10 [2022-01-19 18:25:04][STATUS] CPU[ 2053896 h/s :: 4248 s/a :: 205389 h/s/t :: 10 t :: 32 sz :: 15.67 GB/s ]

These are the numbers I'm getting. But barely registering on unmineable.

I know nothing about coding. Would it be possible to use the GPU on intel Macs, like on apple silicon Macs? I know XMRIG is able to mine using the KAWPOW algorithm with the GPU on intel Macs.

chapmanjw commented 2 years ago

I would be interested in testing Metal support on Intel Macs with my eGPU.

Chainfire commented 2 years ago

The M1 Metal implementation runs on UMA, which is much more forgiving than a separate GPU with separate memory.

I'd need direct access to a relevant hardware.

chapmanjw commented 2 years ago

For building, etc., AWS has bare metal Mac mini EC2 instances, the mac1.metal: https://aws.amazon.com/ec2/instance-types/mac/. Being Mac mini’s, this likely means an Intel GPU, with too little GPU memory for actual ETH mining, but might be able to test with an ethash coin with a smaller DAG.

Chainfire commented 2 years ago

Yeah that's not really a solution.