T-Rex 0.20.4: NVIDIA GPU miner Ethash, Octopus, Kawpow, MTP for Windows/Linux

T-Rex 0.20.4: NVIDIA GPU miner Ethash, Octopus, Kawpow, MTP for Windows/Linux


T-Rex Miner (AMD/NVIDIA) is a universal cryptocurrency mining program. It supports many algorithms and we, as developers, try our best to make it as fast and easy to use as possible. Developer commission is 1% (3% for Tensority, 2% for Octopus). Works on both Linux and Windows.

  • GitHub: https://github.com/trexminer/T-Rex/releases/

What’s new in 0.20.4?

  • Add parameter –lock-cclock to lock GPU core clock frequency
  • (Windows) Add parameter –lock-cv to lock GPU core voltage
  • (Windows) Add parameter –pstate to lock GPU performance/power state (only p0 is supported at this time).
  • (Windows) Allow values greater than 100% to be passed to –pl if the GPU supports it.
  • Lower startup time for miner

Error fixes:

  • T-Rex has a problem with the GPU, completing… error when system time changes due to time synchronization
  • (ethash) ethproxy mode is broken
  • (Windows) NVAPI_NOT_SUPPORTED error when passing values out of range in –mclock, –cclock, etc.
  • GPUs continue to consume significant amount of power even after shutdown because temperature –temperature-limit
  • Miner not start with specified –mt parameter if video drivers older than 410. xx
  • (web interface) Miner will not start if configuration file is saved via web interface
  • The –help command asks for GPU status, preventing help message if NVIDIA driver is not installed

Supported algorithms:

  • ethash
  • etchash
  • octopus
  • kawpow
  • mtp
  • mtp-tcr
  • multi
  • progpow
  • progpowz
  • progpow-veriblock
  • progpow-veil
  • tensority

Supported versions are <= 0.19.4

  • x16rt
  • x16r
  • x16rv2
  • x16s
  • x17
  • x22i
  • x25x
  • x21s
  • x11r
  • geek
  • bcd
  • hmq1725
  • honeycomb
  • dedal
  • sha256t
  • sha256q
  • timetravel
  • lyra2z
  • bitcore
  • sonoa
  • renesis
  • balloon
  • polytimos
  • skunk
  • c11
  • phi
  • tribus
  • GLT algos: astralhash, jeonghash, padihash, pawelhash

How to configure T-Rex

How to configure T-Rex
  1. Right-click on the file, choose “Edit”.
  2. A text document will open and you will see a list of commands in the program. The key -u stands for the address of the digital wallet. That’s where you’ll replace it.
  3. But for those interested in the full configuration of the program, let’s look at the contents of the batch file in more detail.
  1. t-rex – name of the program which will be started by the .bat file
  2. -a bcd – name of the algorithm for the coin. The list of available algorithms is given above
  3. -o stratum+tcp://eu.icemining.ca – specifies the address of the pool. The construct -o stratum+tcp:// is required
  4. :8433 – put a colon after the pool address and specify the pool port
  5. -u 1Go7d7C1EYQzmgbsDbTSdtW2g5H5G3gBCo – specify your digital wallet address after the -u key
  6. -p c=BCD – specify token of the coin being mined. This is for the pool to know which coin we want to mine
  7. -i 20 – set the intensity of the program

To start T-Rex with the config.txt file, type in the console: t-rex -c config.txt. Use the config_example file as a starting point to create your own configuration.
If the parameter is set in the configuration file and also through the cmd line, the latter takes precedence, for example: t-rex -c config.txt -w. You can also use environment variables: just put% YOUR_ENV_VAR% anywhere in your configuration file, and it will be automatically replaced by the value of YOUR_ENV_VAR at runtime.

Launching T-Rex

So we have set up a Bitcoid Diamond coin mining program. We will set up other coins on other algorithms in the same way. Now double-click on our batch file and see what the miner’s console window says:

окна майнера t-rex
  1. Program version
  2. Version of installed driver
  3. List of available video cards to mine
  4. The address of the pool you set in the batch file
  5. The address of the wallet you set in the batch file
  6. Coin token or password of the pool. Pools rarely use a password, so you have to specify a token in 90% of cases
  7. The program sets up the connection to the pool
  8. Authorization on the pool
  9. The intensity is set to 20. We set it in the -i batchin
  10. The current block and the complexity of the mined coin network
  11. The total hashrate of your farm.
  12. Hashrate per video card
  13. Video card temperature
  14. Power consumption
  15. Fan blades speed
  16. Kh/Watt efficiency

This concludes the setup of the program, but we’ll move on to look at all the possible commands.

Examples:

  • ETH+ZIL-shardpool
t-rex -a ethash -o stratum+tcp://eu1-zil.shardpool.io:3333 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p zil1yn92lnkkfsn0s2hlvfdmz6y2yhpqm98vng38s9@eu1.ethermine.org:4444 -w rig0 --extra-dag-epoch 0
  • ETC-2miners
t-rex -a etchash -o stratum+tcp://etc.2miners.com:1010 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p x -w rig0
  • ETC-woolypooly
t-rex -a etchash -o stratum+tcp://etc.woolypooly.com:35000 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p x -w rig0
  • ETH-2miners
t-rex -a ethash -o stratum+tcp://eth.2miners.com:2020 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p x -w rig0
  • ETH-ethproxy
t-rex -a ethash -o stratum+http://127.0.0.1:8080
  • ETH-nanopool
t-rex -a ethash -o stratum+tcp://eth-eu1.nanopool.org:9999 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd.rig0/some@email.org -p x
  • ETH-ethermine
t-rex -a ethash -o stratum+tcp://eu1.ethermine.org:4444 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p x -w rig0
  • ETH-miningpoolhub
t-rex -a ethash -o stratum2+tcp://europe.ethash-hub.miningpoolhub.com:20535 -u somaton.gtx1080 -p x
  • ETH-miningrigrentals
t-rex -a ethash -o stratum+tcp://eu-ru01.miningrigrentals.com:3344 -u wasya89.165854 -p x
  • ETH-woolypooly
t-rex -a ethash -o stratum+tcp://eth.woolypooly.com:3096 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p x -w rig0
  • ETH-flexpool
t-rex -a ethash -o stratum+ssl://eth-us-east.flexpool.io:5555 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p x -w rig0
  • CFX-woolypooly
t-rex -a octopus -o stratum+tcp://cfx.woolypooly.com:3094 -u 0x100851451584c1e808fde4a2d077dd81129b2555.rig0 -p x
  • CFX-nanopool
t-rex -a octopus -o stratum+tcp://cfx-eu1.nanopool.org:17777 -u 0x100851451584c1e808fde4a2d077dd81129b2555.rig0/some@email.org -p x
  • RVN-2miners
t-rex -a kawpow -o stratum+tcp://rvn.2miners.com:6060 -u RBX1G6nYDMHVtyaZiQWySMZw1Bb2DEDpT8.rig -p x
  • RVN-ravenminer
t-rex -a kawpow -o stratum+tcp://stratum.ravenminer.com:3838 -u RBX1G6nYDMHVtyaZiQWySMZw1Bb2DEDpT8.rig -p x
  • RVN-woolypooly
t-rex -a kawpow -o stratum+tcp://rvn.woolypooly.com:55555 -u RBX1G6nYDMHVtyaZiQWySMZw1Bb2DEDpT8.rig -p x
  • SERO-woolypooly
t-rex -a progpow --coin sero -o stratum+tcp://sero.woolypooly.com:8008 -u JCbZnEb8XtWV814QWRpDcDxpQpXZXw4ARneAtwXNYdd3reuo4xQDcuZivopA761QnQyfMermHR9Mpi156F5n7ez9tv75Wt7vWbHXtuyZsQVWLbKNHnZgwcXbR2yZmbw89WT -p x -w rig0
  • VEIL-woolypooly
t-rex -a progpow-veil -o stratum+tcp://veil.woolypooly.com:3098 -u bv1qzftz0vuqa82zy29avylv8sclskweqsrwysgrkg -p x -w rig0
  • XZC-2miners
t-rex -a mtp -o stratum+tcp://xzc.2miners.com:8080 -u aBR3GY8eBKvEwjrVgNgSWZsteJPpFDqm6U.rig0 -p x
  • XZC-mintpond
t-rex -a mtp -o stratum+ssl://zcoin.mintpond.com:3005 -u aBR3GY8eBKvEwjrVgNgSWZsteJPpFDqm6U.rig0 -p x
  • XZC-woolypooly
t-rex -a mtp -o stratum+tcp://zcoin.woolypooly.com:3080 -u aBR3GY8eBKvEwjrVgNgSWZsteJPpFDqm6U.rig0 -p x

Watchdog

Watchdog is designed to monitor the state of the miner and restart T-Rex if it crashes or hangs for any reason. Additionally, the watchdog can additionally perform automatic updates if a newer version is available. We recommend to use watchdog to avoid downtime when mining and to make sure that your GPUs are busy 24/7. If you really need to disable the watchdog, you can do so with the –no-watchdog option.

Antivirus warnings

In order to protect a miner from reverse engineering attacks, binaries are packaged using third-party software that distorts the source machine code. As a result, some anti-virus engines may detect certain signatures in the executable file that resemble those of real viruses protected by the same packer. In any case, it is recommended not to use cryptocurrency miners on computers where you store your sensitive data (wallets, passwords, etc.).

Tips

To maximize the hash rate, our software uses all available GPU resources, so it is important that you check your overclocking settings before you start mining. Our general recommendation is to start with default GPU settings (no overclocking, default power limitation), and then after making sure it is stable, slowly increase the overclocking to find the “golden mean” where the miner works best and still does not work.

Support

Discord: https://discord.gg/gj7jcYf

Bitcointalk: https://bitcointalk.org/index.php?topic=4432704.0

Full list of command line options:

    -a, --algo                     Specify the hash algorithm to use.
                                   astralhash
                                   balloon
                                   bcd
                                   bitcore
                                   c11
                                   dedal
                                   etchash
                                   ethash
                                   geek
                                   hmq1725
                                   honeycomb
                                   jeonghash
                                   kawpow
                                   lyra2z
                                   megabtx
                                   megamec
                                   mtp
                                   mtp-tcr
                                   multi
                                   octopus
                                   padihash
                                   pawelhash
                                   phi
                                   polytimos
                                   progpow
                                   progpow-veil
                                   progpow-veriblock
                                   progpowz
                                   sha256q
                                   sha256t
                                   skunk
                                   sonoa
                                   tensority
                                   timetravel
                                   tribus
                                   x11r
                                   x16r
                                   x16rt
                                   x16rv2
                                   x16s
                                   x17
                                   x21s
                                   x22i
                                   x25x
                                   x33
        --coin                     [Ethash, ProgPOW] Set coin name.
                                   Helps avoid DAG rebuilds when switching back from a dev fee session.
                                   Example: "eth" for Ethereum, "zil" for Zilliqa.
        --extra-dag-epoch          Allocate extra DAG at GPU for specified epoch. Can be useful for dual mining
                                   of coins like Zilliqa (ZIL). (eg: --extra-dag-epoch 0)
        --nonce-start              [Ethash, ProgPOW] Starting nonce for the solution search.
        --nonce-range-size         [Ethash, ProgPOW] Nonce range size for nonce search. The range will be split between all devices.
    -d, --devices                  Comma separated list of CUDA devices to use.
                                   Device IDs start counting from 0.
        --pci-indexing             Sort devices by PCI bus ID. Device IDs start with 0.
        --ab-indexing              Afterburner indexing (same as --pci-indexing but starts from 1).
    -i, --intensity                GPU intensity 8-25 (default: auto).
        --low-load                 Low load mode (default: 0). 1 - enabled, 0 - disabled.
                                   Reduces the load on the GPUs if possible. Can be set to a comma separated string to enable
                                   the mode for a subset of the GPU list (eg: --low-load 0,0,1,0)
        --kernel                   [Ethash] Choose CUDA kernel (default: 0). Range from 0 to 5.
                                   Set to 0 to enable auto-tuning: the miner will benchmark each kernel and select the fastest.
                                   Can be set to a comma separated list to apply different values to different cards.
                                   (eg: --kernel 2,1,1,3)
                                   The support for this parameter may later be extended to cover other algorithms.
        --gpu-init-mode            Enables DAG sequential initialization (default: 0).
                                   0 - all GPUs are initialized in parallel
                                   1 - fully sequential initialization, one GPU at a time
                                   2 - two GPUs at a time
                                   etc.
        --dag-build-mode           [Ethash, ProgPOW, Octopus] Controls how DAG is built (default: 0).
                                   0 - auto (miner will choose the most appropriate mode based on the GPU model)
                                   1 - default (suitable for most graphics cards)
                                   2 - recommended for 30xx cards to prevent invalid shares
                                   Can be set to a comma separated list to apply different values to different cards.
                                   (eg: --dag-build-mode 1,1,2,1)
        --keep-gpu-busy            Continue mining even in case of connection loss.

    -o, --url                      URL of the mining pool in the following format: <scheme>://<host>:<port>
                                   Supported schemes: stratum+tcp
                                                      stratum+ssl
                                                      stratum2+tcp
                                                      stratum2+ssl
                                   stratum2 is normally used by Nicehash, MiningPoolHub and other similar mining pools
                                   Example: stratum+tcp://eu1.ethermine.org:4444
                                            stratum+ssl://zcoin.mintpond.com:3005
                                            stratum2+tcp://daggerhashimoto.hk.nicehash.com:3353
    -u, --user                     Username for mining server.
    -p, --pass                     Password for mining server.
    -w, --worker                   Worker name.

    -r, --retries                  Number of times to retry if a network call fails.
    -R, --retry-pause              Pause in seconds between retries.
    -T, --timeout                  Network timeout, in seconds (default: 300)
        --time-limit               Miner shutdown interval in seconds. (default: 0 - disabled)

        --temperature-color        Set temperature color for GPUs stat. Example: 55,65 - it means that
                                   temperatures above 55 will have yellow color, above 65 - red color. (default: 67,77)
        --temperature-limit        GPU shutdown temperature. (default: 0 - disabled)
        --temperature-start        GPU temperature to enable card after disable. (default: 0 - disabled)

    -b, --api-bind-telnet          IP:port for the miner API via telnet (default: 0.0.0.0:4068). Set to 0 to disable.
        --api-bind-http            IP:port for the miner API via HTTP (default: 0.0.0.0:4067). Set to 0 to disable.
        --api-read-only            Allow only read operations for API calls.
    -J  --json-response            Telnet API server will make json responses.

    -N, --hashrate-avr             Sliding window length in seconds used to compute average hashrate (default: 60).
        --sharerate-avr            Sliding window length in seconds used to compute sharerate (default: 600).
        --gpu-report-interval      GPU stats report frequency. Minimum is 5 sec. (default: 30 sec)
        --gpu-report-interval-s    GPU stats report frequency in shares. 0 by default (disabled).
    -q, --quiet                    Quiet mode. No GPU stats at all.
        --hide-date                Don't show date in console.
        --no-color                 Disable color output for console.
        --no-nvml                  Disable NVML GPU stats.
        --no-strict-ssl            Disable certificate validation for SSL connections.
        --no-hashrate-report       Disable hashrate report to pool.
        --no-watchdog              Disable built-in watchdog.
        --watchdog-exit-mode       Specifies the action "A" the watchdog should take if the miner gets restarted "N" times
                                   within "M" minutes.
                                   Format: N:M:A. Valid values:
                                                  N: any positive integer,
                                                  M: any positive integer,
                                                  A: r(system reboot), s(system shutdown), e(miner exit)
                                   Actions "r" and "s" require running the miner with administrative privileges.
                                   Examples:
                                   20:10:s - watchdog will shutdown the system if the miner gets restarted 20 times
                                             within any 10 minute interval
                                   5:7:r   - watchdog will reboot the system if the miner gets restarted 5 times
                                             within any 7 minute interval

    -B, --benchmark                Benchmark mode.
        --benchmark-epoch          Epoch number used during benchmark (only for algorithms that generate DAG).
    -P, --protocol-dump            User protocol logging.
    -c, --config                   Load a JSON-format configuration file.
    -l, --log-path                 Full path of the log file.
        --cpu-priority             Set process priority (default: 2) 0 idle, 2 normal to 5 highest.

        --autoupdate               Perform auto update whenever a newer version of the miner is available.
        --back-to-main-pool-sec    Forces miner to switch back to main pool in case working with failover pool.
                                   Parameter is set in seconds. (default: 600)
        --exit-on-cuda-error       Forces miner to immediately exit on CUDA error.
        --exit-on-connection-lost  Forces miner to immediately exit on connection lost.
        --reconnect-on-fail-shares Forces miner to immediately reconnect to pool on N successively failed shares (default: 10).

        --fork-at                  Forces miner to change algorithm on predefined condition (works only with built-in watchdog enabled)
                                   Epoch condition: <algo_name>=epoch:<epoch_number> (eg: --fork-at etchash=epoch:390).
                                   Block condition: <algo_name>=block:<block_number> (eg: --fork-at x16rv2=block:6526421).
                                   Time condition:  <algo_name>=time:<YYYY-MM-DDTHH:MM:SS>. Time must be set in UTC+0.
                                   (eg: --fork-at x16rv2=time:2019-10-01T16:00:00).
                                   To change main pool port you must write it right after algo: <algo_name>:<port_number>
                                   (eg: --fork-at x16rv2:4081=time:2019-10-01T16:00:00).

        --mt                       Memory tweak mode (default: 0 - disabled). Range from 0 to 6. General recommendation
                                   is to start with 1, and then increase only if the GPU is stable.
                                   The effect is similar to that of ETHlargementPill.
                                   Supported on graphics cards with GDDR5 or GDDR5X memory only.
                                   Requires running the miner with administrative privileges.
                                   Can be set to a comma separated list to apply different values to different cards.
                                   Example: --mt 4 (applies tweak mode #4 to all cards that support this functionality)
                                            --mt 3,3,3,0 (applies tweak mode #3 to all cards except the last one)

        --script-start             Executes user script right after miner start (eg: --script-start path_to_user_script)
        --script-epoch-change      Executes user script on epoch change.
        --script-crash             Executes user script in case of miner crash.
        --script-low-hash          Executes user script in case of low hash. Hash threshold is set in MegaHashes/second.
                                   Example: --script-low-hash script_to_activate:50
                                            (activates "script_to_activate" script once total hashrate drops to 50MH/s)

        --version                  Display version information and exit.
    -h, --help                     Display this help text and exit.


Read more articles about cryptocurrencies and mining at COOL-MINING.ORG.

Do you like to read similar articles about cryptocurrencies and mining, do you want to support me as an author or ask questions? Be the first to know the news, subscribe to my telegram channel CRYPTO WIKIES | Bitcoin & Altcoins Mining

Leave a Reply

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