MoneroOcean / xmrig

Monero (rx/0, rx/wow, rx/loki, defyx, rx/arq, rx/sfx, rx/keva, cn/0, cn/1, cn/2, cn/r, cn/fast, cn/half, cn/xao, cn/rto, cn/rwz, cn/zls, cn/double, cn/gpu, cn-lite/0, cn-lite/1, cn-heavy/0, cn-heavy/tube, cn-heavy/xhv, cn-pico, cn-pico/tlo, argon2/chukwa, argon2/wrkz, astrobwt) CPU/GPU miner
https://moneroocean.stream
GNU General Public License v3.0
272 stars 84 forks source link

Raspberry Pi 4B 64 Bit not able to run the miner #111

Open GYKgamer opened 2 years ago

GYKgamer commented 2 years ago

Describe the bug The miner fails to start threads, and throws a segmentation error

To Reproduce Install xmrig to raspberry pi 4b 64 bit, set it up, then run the command "xmrig"

Expected behavior The miner is supposed to start

Required data

geekwilliams commented 1 year ago

Hi, I'd like to help with this if possible. Can you provide the version of Rasbian OS you're using?

lokety commented 8 months ago

I have the same issue too - "self-test failed", using:

./xmrig --version
XMRig 6.21.1
 built on Feb 26 2024 with GCC 12.2.0
 features:

libuv/1.44.2
OpenSSL/1.1.1s
hwloc/2.9.0

uname -a
Linux rpi4b01 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
GYKgamer commented 8 months ago

What's the error log? And where did you get your xmrig install?

lokety commented 8 months ago
[2024-02-27 15:15:15.001]  net      use pool ghostrider.na.mine.zpool.ca:5354  198.50.168.213
[2024-02-27 15:15:15.001]  net      new job from ghostrider.na.mine.zpool.ca:5354 diff 1311 algo ghostrider height 143077
[2024-02-27 15:15:15.002]  cpu      use profile  ghostrider  (3 threads) scratchpad 2048 KB
[2024-02-27 15:15:17.693]  cpu      thread #0 self-test failed
[2024-02-27 15:15:17.719]  cpu      thread #2 self-test failed
[2024-02-27 15:15:17.720]  cpu      thread #1 self-test failed
[2024-02-27 15:15:17.720]  cpu      disabled (failed to start threads)

Followed https://xmrig.com/docs/miner/build/ubuntu to build the project.

GYKgamer commented 8 months ago

image The code doesn't support ARM64, use https://github.com/Botspot/pi-apps to install xmrig