Kawpowminer v1.2.1: Download KAWPOW GPU miner for Ravencoin (RVN)

This post is also available in: ruРусский

It remains only 1 day before Ravencoin (RVN) moves to the new KAWPOW algorithm, and you should probably get ready for mining. To do this, you can try the latest official version of the Kawpowminer 1.2.1 bug fix that supports the new KAWPOW algorithm, which Ravencoin will use for mining after the fork. This release is based on the Progminer ProgPoW miner and is open source and does not require development fees, unlike some other miners that also support the KAWPOW algorithm.

Please note that the binary release of the miner still does not include the necessary Nvidia CUDA libraries, so you also need to install the latest version of the Nvidia CUDA toolkit (or at least the runtime libraries from it).

In addition to the test network pool Minermore RVN, announced with the first release of Kawpowminer, there is now an RVNt pool for testing KaWPOW mining on the BSDO pool. You can use the command line below to test mining in the BSOD pool, just set the WALLET address, and you should be ready to work:

RavenCoin KAWPOW testnet BSOD pool:
kawpowminer -U -P stratum+tcp://WALLET.worker@pool.bsod.pw:2638

Please note that the BSOD pool recommends testing with the latest version of Kawpowminer or the latest version of NBMiner 30.0, as other mining programs like GMiner 2.09 and TT-Miner 4.0.0 still seem to have some problems that need to be fixed for the correct support of KAWPOW, although they hope that it will be appointed on time, since the fork is expected on May 6, 2020 at 18:00:00 UTC.

The latest version of the Kawpowminer miner is available for download at the links below:

Kawpowminer – ethminer fork with ProgPoW implementation

kawpowminer is an ProgPoW GPU mining worker: with kawpowminer you can mine Ravencoin, which relies on an ProgPoW-based Proof of Work thus including Ethereum ProgPoW and others. This is the actively maintained version of kawpowminer. It originates from the ethminer project. Check the original ProgPoW implementation and EIP-1057 for specification.

  • kawpow miner with OpenCL, CUDA and stratum support

Features kawpowminer:

  • First commercial KawPow miner software for miners.
  • OpenCL mining
  • Nvidia CUDA mining
  • realistic benchmarking against arbitrary epoch/DAG/blocknumber
  • on-GPU DAG generation (no more DAG files on disk)
  • stratum mining without proxy
  • OpenCL devices picking
  • farm failover (getwork + stratum)
  • Ethereum-based ProgPoW implementations supported only, doesn’t support previous ethash version or Bitcoin-based forks.

Table of Contents

Changes and Relases:

https://github.com/RavenCommunity/kawpowminer/releases

Install

Standalone executables for Linux, macOS and Windows are provided in the Releases section. Download an archive for your operating system and unpack the content to a place accessible from command line. The kawpowminer is ready to go.

For AMD-only rigs please use the version with -amd tagged , cuda version wouldn’t work for you rig.

If you have trouble with missing .dll or CUDA errors, please install the latest version of CUDA drivers or report to project maintainers.

Usage

The kawpowminer is a command line program. This means you launch it either from a Windows command prompt or Linux console, or create shortcuts to predefined command lines using a Linux Bash script or Windows batch/cmd file. For a full list of available command, please run:

kawpowminer --help

Examples connecting to pools

Connecting to MinerMore Testnet:

./kawpowminer -P stratum+tcp://<wallet>.worker@rvnt.minermore.com:4505 or

kawpowminer.exe -P stratum+tcp://<wallet>.worker@rvnt.minermore.com:4505

Build

After cloning this repository into kawpowminer, it can be built with commands like:

Ubuntu / OSX

cd kawpowminer
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DETHASHCUDA=ON
make -sj $(nproc)

Windows

Prerequisites:

  1. Install Visual Studios (2019) (with the additional installation package “C++ Cmake Tools for Windows)
  2. Install latest perl to C:Perl (https://www.perl.org/get.html) Follow the steps outlined and the default perl installtion should work

Building via Visual Studios Command Line:

Open “Developer Command Prompt for VS 2019”

  1. Open StartMenu and search for “Developer Command Prompt for VS 2019”
  2. Follow these steps:
cd C:UsersUSER_NAMEPATH_TO_KAWPOWkawpowminer
mkdir build
cd build
cmake .. -DETHASHCUDA=ON
devenv kawpowminer.sln /build

Building via Visual Studios GUI (This build doesn’t seem to work for some 20XX Nvidia cards)

  1. Open Visual Studios
  2. Open CMakeLists.txt file with File->Open->CMake
  3. Wait for intelligence to build the cache (this can take some time)
  4. Build the project (CTRL+SHIFT+B) or find the build command in the menu

ProgPoW can be tuned using the following parameters. The proposed settings have been tuned for a range of existing, commodity GPUs:

  • PROGPOW_PERIOD: Number of blocks before changing the random program
  • PROGPOW_LANES: The number of parallel lanes that coordinate to calculate a single hash instance
  • PROGPOW_REGS: The register file usage size
  • PROGPOW_DAG_LOADS: Number of uint32 loads from the DAG per lane
  • PROGPOW_CACHE_BYTES: The size of the cache
  • PROGPOW_CNT_DAG: The number of DAG accesses, defined as the outer loop of the algorithm (64 is the same as Ethash)
  • PROGPOW_CNT_CACHE: The number of cache accesses per loop
  • PROGPOW_CNT_MATH: The number of math operations per loop

The value of these parameters has been tweaked between version 0.9.2 (live on the Gangnam testnet) and 0.9.3 (proposed for Ethereum adoption). See this medium post for details.

Parameter0.9.20.9.3KAWPOW
PROGPOW_PERIOD50103
PROGPOW_LANES161616
PROGPOW_REGS323232
PROGPOW_DAG_LOADS444
PROGPOW_CACHE_BYTES16x102416x102416x1024
PROGPOW_CNT_DAG646464
PROGPOW_CNT_CACHE121111
PROGPOW_CNT_MATH201818

KAWPOW_EPOCH_LENGTH = 7500

Maintainers & Authors

The list of current and past maintainers, authors and contributors to the kawpowminer project. Ordered alphabetically. Contributors statistics since 2015-08-20.

F.A.Q

Why is my hashrate with Nvidia cards on Windows 10 so low?

The new WDDM 2.x driver on Windows 10 uses a different way of addressing the GPU. This is good for a lot of things, but not for ETH mining.

  • For Kepler GPUs: I actually don’t know. Please let me know what works best for good old Kepler.
  • For Maxwell 1 GPUs: Unfortunately the issue is a bit more serious on the GTX750Ti, already causing suboptimal performance on Win7 and Linux. Apparently about 4MH/s can still be reached on Linux, which, depending on ETH price, could still be profitable, considering the relatively low power draw.
  • For Maxwell 2 GPUs: There is a way of mining ETH at Win7/8/Linux speeds on Win10, by downgrading the GPU driver to a Win7 one (350.12 recommended) and using a build that was created using CUDA 6.5.
  • For Pascal GPUs: You have to use the latest WDDM 2.1 compatible drivers in combination with Windows 10 Anniversary edition in order to get the full potential of your Pascal GPU.

Why is a GTX 1080 slower than a GTX 1070?

Because of the GDDR5X memory, which can’t be fully utilized for ETH mining (yet).

Are AMD cards also affected by slowdowns with increasing DAG size?

Only GCN 1.0 GPUs (78×0, 79×0, 270, 280), but in a different way. You’ll see that on each new epoch (30K blocks), the hashrate will go down a little bit.

Can I still mine ETH with my 2GB GPU?

Not really, your VRAM must be above the DAG size (Currently about 2.15 GB.) to get best performance. Without it severe hash loss will occur.

What are the optimal launch parameters?

The default parameters are fine in most scenario’s (CUDA). For OpenCL it varies a bit more. Just play around with the numbers and use powers of 2. GPU’s like powers of 2.

What does the --cuda-parallel-hash flag do?

@davilizh made improvements to the CUDA kernel hashing process and added this flag to allow changing the number of tasks it runs in parallel. These improvements were optimised for GTX 1060 GPUs which saw a large increase in hashrate, GTX 1070 and GTX 1080/Ti GPUs saw some, but less, improvement. The default value is 4 (which does not need to be set with the flag) and in most cases this will provide the best performance.

What is kawpowminer’s relationship with Genoil’s fork?

Genoil’s fork was the original source of this version, but as Genoil is no longer consistently maintaining that fork it became almost impossible for developers to get new code merged there. In the interests of progressing development without waiting for reviews this fork should be considered the active one and Genoil’s as legacy code.

Can I CPU Mine?

No, use geth, the go program made for ethereum by ethereum.

CUDA GPU order changes sometimes. What can I do?

There is an environment var CUDA_DEVICE_ORDER which tells the Nvidia CUDA driver how to enumerates the graphic cards. The following values are valid:

  • FASTEST_FIRST (Default) – causes CUDA to guess which device is fastest using a simple heuristic.
  • PCI_BUS_ID – orders devices by PCI bus ID in ascending order.

To prevent some unwanted changes in the order of your CUDA devices you might set the environment variable to PCI_BUS_ID. This can be done with one of the 2 ways:

  • Linux:
    • Adapt the /etc/environment file and add a line CUDA_DEVICE_ORDER=PCI_BUS_ID
    • Adapt your start script launching kawpowminer and add a line export CUDA_DEVICE_ORDER=PCI_BUS_ID
  • Windows:
    • Adapt your environment using the control panel (just search setting environment windows control panel using your favorite search engine)
    • Adapt your start (.bat) file launching kawpowminer and add a line set CUDA_DEVICE_ORDER=PCI_BUS_ID or setx CUDA_DEVICE_ORDER PCI_BUS_ID. For more info about set see here, for more info about setx see here

nvrtc64_102_0.dll not found…

Error: The code execution cannot be processed because nvrtc64_102_0.dll was not found.
or
error while loading shared libraries: libnvrtc.so.10.2: cannot open shared object file: No such file or directory

You have to upgrade your Nvidia drivers. Install cuda 10.2.

Recommended New Articles:

New NBMINER 30.0: Download from OhGodAnETHlargementPill

RHMINER &#038; NANOMINER: Download With Support Mining The Pascal Coin (PASC)

GMiner v2.08: fixed bug in RTX 2080 Ti for cuckatoo32 algorithm

CCMINER v1.8.1: Download with mining support SiaCoin (SC)

New TT-MINER v4.0.0: Download With KAWPOW Support for Windows

NBMiner 29.0: Download With Support for The New KAWPOW PoW Algorithm

Leave a Reply

Your email address will not be published. Required fields are marked *

Next Post

Telegram has changed the conditions for the return of funds to investors TON (Gram)

Wed May 6 , 2020
This post is also available in: РусскийTelegram will not return funds to TON investors in Gram tokens or other crypto assets due to regulatory problems, and American investors will receive up to 72% of investments in the near future. The company said that after further consultations with regulators, it was […]
Telegram changes TON investor refund policy