Chainfire / UselethMiner

Ethereum CPU miner and aggregating proxy
88 stars 8 forks source link

Segmentation fault: 11 on M1 Macbook Pro/Mac Mini #23

Open dingoosh opened 2 years ago

dingoosh commented 2 years ago

When flagged to use GPU mining with Metal, it will error out. CPU works appropriately. Was tested on both the base M1 MB Pro and Mac Mini. Logs:

$ /usr/local/uselethminer/uselethminer USERNAME.worker@eth.f2pool.com:6688 --flavor none --flavor-gpu metal [2022-04-21 11:41:49] UselethMiner v0.23 [2022-04-21 11:41:49][SYSTEM] Apple M1, 8 threads, arm64, 8 GB RAM [2022-04-21 11:41:49][CFETHASH][CPU] Selecting: Disabled (from commandline) [2022-04-21 11:41:49][CFETHASH][GPU] Selecting: Metal (from commandline) [2022-04-21 11:41:49][CONTROLLER][RPC] Listening on 127.0.0.1:3326 [2022-04-21 11:41:49][USERNAME.worker@eth.f2pool.com:6688(0)] Connected [2022-04-21 11:41:49][USERNAME.worker@eth.f2pool.com:6688(0)][SUBSCRIBE] session:0000 extranonce:fa93 [2022-04-21 11:41:49][USERNAME.worker@eth.f2pool.com:6688(0)][AUTHORIZE] username:USERNAME.worker [2022-04-21 11:41:49][USERNAME.worker@eth.f2pool.com:6688(0)][UPDATE] difficulty:1.99996900 [2022-04-21 11:41:49][FAILOVER] Switching to USERNAME.worker@eth.f2pool.com:6688, priority 0 [2022-04-21 11:41:49][CFETHASH][1] Loading seedhashes [2022-04-21 11:41:49][CFETHASH][DAG][0] Loading DAG [2022-04-21 11:42:13][CFETHASH][DAG][0] Loaded DAG (hugepages:no) [2022-04-21 11:42:13][CFETHASH][1] Initializing threads [2022-04-21 11:42:13][CFETHASH][1] Initialized threads Segmentation fault: 11

angusgastle commented 2 years ago

I do have some stability issues with GPU mining only as well.