xmrig / xmrig

RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark
https://xmrig.com/
GNU General Public License v3.0
8.63k stars 3.43k forks source link

XMRig randomly disconnects from unMineable on raspberrypi #3215

Open SeaPickle754 opened 1 year ago

SeaPickle754 commented 1 year ago

Problem Hello, I am trying to mine some Dogecoin with unmineable on my raspberry pi 3 B. I know that this will not make much money, but it is something I want to do before I buy an ASIC. I am just trying to get into mining. Anyways, my issue is that it will randomly go offline when I check unmineable. Sometimes it will mine a small amount of Doge, but then it goes offline and disconnects. I have regenerated config.json, and tried to use the command line. I have even created a new wallet and address, which did not fix the problem. My raspberry pi is overclocked in /boot/config.txt by setting arm_freq to 900. I have a heatsink and fan setup, and as far as I know, it has not gone over 60C. I am also using ssh to configure everything, and screen to keep it alive after I close the window.

To Reproduce I haven't been able to find any help online, which makes me hesitant to assume you can reproduce it. Anyways: Raspberry pi is running 64-bit Raspbian. Config.json is from wget https://raw.githubusercontent.com/xmrig/xmrig/master/src/config.json Change your Coin to Doge, and your wallet address. Also add a worker name, which I did. Also, I set the "url" field to rx.unmineable.com:3333.

Expected behavior I expected my raspberry pi to just be able to be left on and continue working. I want to be able to mine continuously, instead of trying to trouble shoot it because it is randomly going offline.

Required data

Additional context Thank you in advance, I really have no idea if this is a problem with unmineable or xmrig. As I said earlier, I have googled the problem over and over again and I have found no working fixes. Good luck!

SeaPickle754 commented 1 year ago

More info: Top 1 hour later: image

So, still running... image Still getting shares...

image Still not registered.

Spudz76 commented 1 year ago

Diff of 100001 divided by 30 means your hashrate should be at least 3333. Pi4 usually is something like 100 meaning you need a diff of 100*30=3000 to ever find results without timing out. Not sure if unmineable offers a vardiff port or a way of requesting a smaller fixed diff but that's what you need.

SeaPickle754 commented 1 year ago

Ok so I just figure out how to lover the diff to 3000?

SeaPickle754 commented 1 year ago

*lower

SChernykh commented 1 year ago

This is the question to the pool you're mining on.

SeaPickle754 commented 1 year ago

Ok. So, after a quick google search, it looks like unmineable won't go lower that 50000 diff. Can anybody recommend an easy dogecoin pool with a vardiff port?

aalfiann commented 1 year ago

worker not detected because you mining with slow mode.

Just increase your RAM up to 2Gb, then your problem will solved automatically.