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
271 stars 82 forks source link

Never proceeds past benchmarks on Raspberry ARM64 #128

Open Botspot opened 1 month ago

Botspot commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Compile xmrig as shown in this script: https://github.com/Botspot/pi-apps/blob/master/apps/XMRig/install

Expected behavior Running xmrig for the first time completes all benchmarks and then mining begins.

20240510_15h25m04s_grim

I think this is the same problem as what was encountered in issue https://github.com/MoneroOcean/xmrig/issues/125. Please respond. Let me know if you need additional context or information. I can provide you with remote access to my Raspberry Pi 5 for testing and debugging.

realsetvin commented 1 month ago

do you have hwloc installed? seems some kind of memory issue. Undoubtedly due to arm incompatibility

https://github.com/xmrig/xmrig/issues/3183

image

realsetvin commented 1 month ago

I know someone who is good with arm, will try to ask them to take a look later

Botspot commented 1 month ago

This info should help:

I copied a xmrig.json from another PC to skip the benchmarks, then tested one algorithm at a time. It seems that all cn algos fail, while the remaining ones mine fine.

realsetvin commented 1 month ago

This info should help:

I copied a xmrig.json from another PC to skip the benchmarks, then tested one algorithm at a time. It seems that all cn algos fail, while the remaining ones mine fine.

do u have hwloc installed, ext?

Botspot commented 1 month ago

do u have hwloc installed, ext?

hwloc package is not installed. Should I install it?

realsetvin commented 1 month ago

do u have hwloc installed, ext?

hwloc package is not installed. Should I install it?

please do

Botspot commented 1 month ago

please do

OK, I have it installed now. Should I try recompiling xmrig now, or is there something from the output of hwloc-info that you need to see?

Botspot commented 1 month ago

It's worth noting that libhwloc-dev was installed prior to compilation. Was that the package you meant? Also, I can offer you access to my Pi via remote desktop software.