Cast XMR - high speed CryptoNight miner for RX Vega GPUs 1.3.0

Updated on June 29th, 2018 to version 1.3.0

Here is ‘Cast XMR’ the high performance CryptoNight miner for CryptoNote based crypto currencies like Monero (XMR), Electroneum (ETN), Bytecoin (BCN) and many more.

Cast XMR is specially optimized for the Radeon RX Vega series of GPUs, reaching hash rates of more then 2000 CryptoNight Hashes/s on an single RX Vega 56 or Vega 64 GPU.

cast xmr

Hash faster and try it for yourself:

Cast XMR 1.3.0 for Windows (64 bit)

Features

GPU CryptoNight
Hashes/s*
CryptoNight-Heavy
Hashes/s
CryptoNight-Light
Hashes/s
* 10 min average, Adrenalin Driver 18.4.1
RX Vega 64
1025 MemClk
1950 1590 4090
RX Vega 56
945 MemClk
1990 1475 4260
Vega Frontier Edition
1025 MemClk
2090 2110 4260
RX 480/580 8GB
2250 MemClk
810 890 1640
RX 470/570 8GB
2250 MemClk
815 885 1640
  • Multiple GPU support
  • Monitor temperature and fan speed of each GPU
  • Full pool support
  • Nicehasher support
  • Fast Job Switch option to minimize outdated shares
  • Remote http access for statistics in JSON format
  • Rate Watchdog to monitor each GPU performance
  • Includes switch-radeon-gpu command line tool to restart GPUs, switch on/off HBCC, Compute Mode and Large Pages support for Radeon GPUs
  • only 1.5% dev fee

Requirements

How To

cast_xmr has a command line interface. For a minimal configuration run:

cast_xmr -S [pool server] -u [username or wallet address] --algo=[n]

The --algo option specifies which CryptoNight variant to use:

  • --algo=0 for CryptoNight (Classic)
  • --algo=1 for CryptoNightV7
  • --algo=2 for CryptoNight-Heavy
  • --algo=3 for CryptoNight-Lite
  • --algo=4 for CryptoNightV7-Lite
  • --algo=5 for CryptoNightIPBC-Lite/TUBE-Heavy
  • --algo=6 for CryptoNightXTL
  • --algo=7 for CryptoNightXHV-Heavy
  • --algo=8 for CryptoNight-Fast

If algo is not specified the correct one for mining Monero will be selected.

To select which GPU to use the -G switch, e.g. for using the 2nd card use:

cast_xmr -S [pool server] -u [username or wallet address] -G 1

To select multiple GPU to use the -G switch and list comma separated the GPUs which should be used, e.g. for using the 1st and 3rd card use:

cast_xmr -S [pool server] -u [username or wallet address] -G 0,2

In case you have multiple OpenCL implementation installed or mixed GPUs (Nvidia, Intel, AMD), the correct OpenCL implemenation can be selected with the “–opencl” switch:

cast_xmr -S [pool server] -u [username or wallet address] --opencl 1 -G 0

For a complete list of configuration options run:

cast_xmr --help

Optimization Options

--intensity

With the --intensity the memory allocation of the card can be optimized. If not specified an intensity will be selected which should give under most circumstances a stable hash rate. Depending on many factors (no monitor attached to card, HBCC turned off) the intensity can be increased to reach higher hash rates.

Intensity can be set in the range from 0 to 10 (on some GPUs upto 12). It can be specified for each GPU separately by separating the values by comma. To set GPU0 to intensity 10, GPU1 to default intensity (-1) and GPU2 to intensity 7 following can be specified:

cast_xmr -G 0,1,2 --intensity=10,-1,7 (... rest of configuration ...)

Note: If the intensity is set to high the hash rate can decrease, so higher is not always better. Also the stability can decrease with higher intensity, observed as a sharp drop of the hash rate after a few minutes running.

--fastjobswitch

As the processing is done in a large batch in parallel a processing round trip can take a few seconds. In cases where the pool sends a new job the processing time until the batch ends is lost and will generate ‘Outdated Shares’. To prevent this add the --fastjobswitch to immediately switch to the new job. The displayed hash rate can fluctuate more then without the option so enable after finding your desired intensity and settings. Depending on the rate of job changes the net hash rate can increase up to 10% as nearly no ‘Outdated Shares’ will be produced anymore.

--ratewatchdog

Add the --ratewatchdog option to let Cast XMR monitor the hash rate of the GPU, if a sustained drop in hashrate is detected the effected GPU will be restarted.

Change History

Cast XMR Version 1.3.0 (2018/6/29)

  • Performance improvement for job switches with multiple GPUs
  • Support for BitTube (TUBE) V4 Pow Update which introduces the new algo CryptoNightTUBE-Heavy aka CN Saber. Stay on --algo=5 to switch automatically from CryptoNightIPBC-Lite to CryptoNightTUBE-Heavy when the update is happening (approx. 2nd July). Please note that the hash rate will drop as it is a switch from a Lite to a Heavy variant.

Cast XMR Version 1.2.5 (2018/6/19)

  • Support for CryptoNight-Fast introduced with the Masari (MSR) update. Set --algo=8 to mine Masari (MSR). CryptoNight-Fast will produce higher hash rates than classic CryptoNight, typical hash rates are:
    • Vega64, 1025 Mhz MemClock: 3630 Hashes/s
    • Vega56, 945 Mhz MemClock: 3700 Hashes/s
    • VegaFE, 1025 Mhz MemClock: 3900 Hashes/s
    • RX 470/570, 2250 Mhz MemClock: 1550 Hashes/s

Cast XMR Version 1.2.0 (2018/6/12)

  • Fix for “unauthenticated shares” pool error
  • Support for the upcoming Haven (XHV) V3 update. In case you are mining Haven set --algo=7 now. Cast will then automatically switch to CryptoNightXHV-Heavy when the network update is happening.

Cast XMR Version 1.1.5 (2018/6/7)

  • Fix for mixed up device order
  • Support for Stellite (XTL) V4 Update. Add --algo=6 in case you are mining Stellite. It will automatically switch to CryptoNightXTL when the network update is happening.
  • Stability fixes

Cast XMR Version 1.1.0 (2018/6/1)

  • All new --intensity option to specify the memory allocation in the range of 0 to 10 (up to 12 for Vega Frontier Edition). The default setting will correspond with the settings of version 1.0 and are displayed at startup.
  • Vega Frontier ‘Large Pages’ support added, upto 30% higher hash rates for CryptoNight-Heavy, 5% increase for CryptoNight
  • Includes the switch-radeon-gpu command line tool to restart GPUs, switch on/off HBCC, Compute Mode and Large Pages
  • Nicehash supports now up to 24 GPUs (previous version was limited to 8)
  • --maxmem option is deprecated, will now be mapped to an corresponding intensity setting
  • --forcecompute is deprecated, ‘Compute Mode’ of Polaris GPUs will be automatically detected. To overwrite use the --intensity option
  • Default mining algo changed to CryptoNightV7, to still mine CryptoNight Classic add --algo=0
  • Tested with Radeon Adrenalin Driver 18.4.1

Cast XMR Version 1.0.0 (2018/4/24)

More info about Cast XMR Version 1.0.0 and earlier versions can be found here.

What about Linux?

A Linux version is technicaly ready, but does by far not reach the same performance as the Windows version, still investigating.

Gandalph3000

Gandalph3000
Casting software for high performance, massive parallel computing and machine learning.

Switch Radeon GPU: Restart GPUs and switch Polaris Compute Mode, Vega HBCC Memory and Large Pages

Switch Radeon GPU - Tool for switching Polaris Compute Mode, Vega HBCC Memory, Large Pages and restarting GPUs [Glph3K] Continue reading