Mining
Nember is mined with nember-miner, a free and open-source GPU miner based on kawpowminer. It mines EmberPow, Nember's own variant of KawPow. Other KawPow miners, such as unmodified kawpowminer or T-Rex, cannot mine Nember: their results are refused.
Which cards work
EmberPow keeps the mining data set (the DAG) at a fixed 2.5 GB that never grows. The miner needs about 2,750 MiB of free video memory.
| Card | Windows | Linux |
|---|---|---|
| NVIDIA GTX 10-series and newer, 4 GB or more | yes | yes |
| NVIDIA with 3 GB, such as GTX 1060 3GB | no | yes |
| AMD RX 470–580 (OpenCL) | beta | beta |
| NVIDIA GT 700-series and older | no | no |
- 3 GB cards on Windows: Windows keeps several hundred MB of video memory for itself, so the DAG no longer fits.
- AMD cards: mine through OpenCL with the same package. This is a beta: the OpenCL code was checked on an NVIDIA card's OpenCL, but no real AMD card has run it yet. See AMD cards.
- GT 700-series: these cards use an architecture that current CUDA versions no longer support.
These limits were measured on a newer card with its free memory reduced to that of an old card. Tests on real GTX 10-series and RX 470–580 cards are part of the public testnet.
Start mining
The release package contains a start script next to the miner. It asks for your address and pool once, then mines:
- Windows: double-click
start-mining.bat. - Linux:
./start-mining.sh
To change the saved address or pool, run it with setup:
./start-mining.sh setup
The answers are kept in nember-miner.conf, a plain text file you can also edit yourself:
ADDRESS=TQm7p3bE5wYc9KxR2sN4dF8hJ1aLuVoGtZ
POOL=192.168.1.10:16364
WORKER=rig1
The address above is only an example. Use your own.
Start the miner by hand
The script runs one command. You can type it yourself:
kawpowminer.exe -P stratum+tcp://YOUR_ADDRESS.rig1@POOL_HOST:16364
./kawpowminer -P stratum+tcp://YOUR_ADDRESS.rig1@POOL_HOST:16364
| Part | Meaning |
|---|---|
-P |
the pool to connect to |
YOUR_ADDRESS |
your Nember address; all rewards go there |
.rig1 |
an optional name for this computer |
Without other options, NVIDIA cards mine through CUDA and AMD cards through OpenCL. These options choose for you:
| Option | Meaning |
|---|---|
-U |
only NVIDIA cards (CUDA) |
-G |
only OpenCL cards (AMD) |
--cl-devices 0 1 |
only these OpenCL cards |
--list-devices -G |
list the OpenCL cards and stop |
AMD cards (beta)
AMD support is a beta. It is the same OpenCL miner that Ravencoin miners used with kawpowminer, changed for EmberPow, but it has not run on a real AMD card yet. If you have an RX 470–580, your results help.
- Memory: the 2.5 GB DAG is kept in one buffer. RX 470–580 drivers allow about 3.4 GB (4 GB cards) and 4.2 GB (8 GB cards) in one buffer, so it fits. The start scripts set
GPU_MAX_ALLOC_PERCENT=100,GPU_SINGLE_ALLOC_PERCENT=100andGPU_FORCE_64BIT_PTR=1so the driver allows it. If you start the miner by hand, set them first:set GPU_MAX_ALLOC_PERCENT=100in Windowscmd, orexport GPU_MAX_ALLOC_PERCENT=100on Linux, and so on. - Windows driver: AMD Adrenalin. RX 470–580 and Vega are on AMD's maintenance branch, which still gets updates. If a new driver misbehaves, older drivers such as 22.5.1 are what miners used to run.
- Linux driver: current ROCm does not support RX 470–580. Use AMD's legacy OpenCL from AMDGPU-PRO 23.20 (
amdgpu-install --opencl=legacy --headless --no-dkms). Mesa rusticl (RUSTICL_ENABLE=radeonsi) is accepted but experimental; Mesa Clover works but is very slow. - Speed: other KawPow miners reach about 11–13 MH/s on an RX 570/580. This miner uses a faster OpenCL kernel (from kawpowminer PR #124): on an NVIDIA card through OpenCL it mines as fast as CUDA. Real RX 470–580 numbers are still to come.
|
POOL_HOST:16364| the pool's address and port | |--cuda-devices 0 1| only use these cards (optional) |
Stop the miner with Ctrl+C.
Solo pool and other pools
On the Nember solo pool every block your card finds pays the whole reward straight to your address: the pool never holds your coins, and on the testnet it takes no fee. The pool refuses an address from the wrong network at login. Anyone can run a solo pool next to their own node.
Larger pools are welcome with their own software. A pool decides its own payout rules and fee, so read them before you mine there.
How much will it mine
A small network gives each card a real chance. For scale: an RTX 3050 mines EmberPow at about 10–12 MH/s. On average your share of the blocks is your hashrate divided by the network's hashrate, which the front page of the website shows once the public testnet runs.
The reward per block is explained in Economics. Mined coins can be spent after 100 confirmations, about 100 minutes.
Common problems
- "Epoch 0 requires 2.54 GB memory"
- The card does not have enough free video memory. Close programs that use the graphics card, such as browsers with hardware acceleration and games. A 3 GB card works only on Linux.
- "kawpowminer.exe is not recognized"
- Start the miner with
start-mining.bat, which calls it by its full path, or start it from inside the miner folder. - Antivirus removes the miner
- Antivirus programs often flag every crypto miner, including honest ones, sometimes with names like
Trojan:…!ml(a machine-learning guess). First check the download against its published checksum (see Getting started). Only then allow the miner folder in your antivirus; never turn the antivirus off. Why this happens: see the FAQ. - The pool refuses the login
- Check the address: a testnet address starts with T and has 34 characters. A mainnet address does not work on the testnet.
Creating DAG buffer failedorCL_INVALID_BUFFER_SIZEon AMD- The OpenCL driver refused one 2.5 GB buffer. Set
GPU_MAX_ALLOC_PERCENT=100,GPU_SINGLE_ALLOC_PERCENT=100andGPU_FORCE_64BIT_PTR=1before starting the miner (the start scripts already do). See AMD cards.
Heat and safety
A mining card turns almost all of its power into heat. That is the point of Nember, but give the card room to breathe:
- keep the air flowing around the computer, and never cover it;
- clean dust out of old cards before you start;
- watch the temperature in the first hour; most cards are comfortable below about 75 °C.