trexminer / T-Rex

T-Rex NVIDIA GPU miner with web control monitoring page
2.64k stars 439 forks source link

t-rex v.0.25.8, "Can't find nonce with device" #1101

Open PSLLSP opened 2 years ago

PSLLSP commented 2 years ago

t-rex v.0.25.8, HiveOS, GTX1660

After upgrade to t-rex v.0.25.8, I cannot dual mine ETH+ALPH. Version t-rex v.0.25.6 was OK. My HiveOS rig has only two cards GTX1660.

t-rex v.0.25.8, hits an error:

20220219 22:39:33 GPU #0: generating DAG 4.70 GB for epoch 474 ...
20220219 22:39:34 conn1: ethash epoch: 474, block: 14238937, diff: 8.73 G
20220219 22:39:38 conn1: ethash epoch: 474, block: 14238938, diff: 8.73 G
20220219 22:39:41 conn1: ethash epoch: 474, block: 14238939, diff: 8.73 G
20220219 22:39:57 GPU #1: DAG generated [crc: fcfe019b, time: 24163 ms], memory left: 986.50 MB
20220219 22:39:57 TREX: Can't find nonce with device [ID=1, GPU #1], cuda exception: CUDA_ERROR_NOT_FOUND
20220219 22:39:57 WARN: Miner is going to shutdown...
20220219 22:39:58 Main loop finished. Cleaning up resources...
20220219 22:39:58 ApiServer: stopped listening on 127.0.0.1:4059

t-rex v.0.25.6, runs OK, the same flightsheet:

20220219 22:43:23 conn1: ethash epoch: 474, block: 14238953, diff: 8.73 G
20220219 22:43:35 conn1: ethash epoch: 474, block: 14238954, diff: 8.73 G
20220219 22:43:41 GPU #1: DAG generated [crc: fcfe019b, time: 24084 ms], memory left: 1.03 GB
20220219 22:43:41 GPU #1: using kernel #4
20220219 22:43:44 GPU #1: target hashrate for unlocker - 13.55 MH/s
20220219 22:43:47 GPU #0: DAG generated [crc: fcfe019b, time: 29641 ms], memory left: 1.01 GB
20220219 22:43:47 GPU #0: using kernel #4
20220219 22:43:49 GPU #0: target hashrate for unlocker - 10.96 MH/s
20220219 22:43:51 conn1: ethash epoch: 474, block: 14238955, diff: 8.73 G
20220219 22:43:59 ethash [ OK ] 1/1 - 28.18 MH/s, 305ms ... GPU #1 | 10.42 G
20220219 22:44:10 conn1: ethash epoch: 474, block: 14238956, diff: 8.73 G
...
----------------------------20220219 22:58:12 ----------------------------
Mining at eu-de01.miningrigrentals.com:3344 [188.166.161.62], diff: 8.73 G
GPU #0: GTX 1660       - 11.70 MH/s, [LHR 45.0] [T:70C, P:74W, F:60%, E:158kH/W], 1/1 R:0% I:0%
GPU #1: GTX 1660 SUPER - 13.34 MH/s, [LHR 45.0] [T:66C, P:75W, F:53%, E:180kH/W], 3/3 R:0% I:0%
Hashrate: 25.03 MH/s, Shares/min: 0.698 (Avg. 0.328), Avg.P: 148W, Avg.E: 169kH/W
Max diff share was found by GPU #1, diff: 20.15 G
Uptime: 15 mins | Algo: ethash | T-Rex v0.25.6

-------------------20220219 22:58:12 --------------------
Mining at de.alephium.herominers.com:1199 [88.99.164.154]
GPU #0: GTX 1660       - 323.41 MH/s, [LHR 45.0] [T:70C, P:74W, F:60%, E:4.37MH/W], 5/5 R:0% I:0%
GPU #1: GTX 1660 SUPER - 325.44 MH/s, [LHR 45.0] [T:66C, P:75W, F:53%, E:4.40MH/W], 2/2 R:0% I:0%
Hashrate: 648.85 MH/s, Shares/min: 0.606 (Avg. 0.591), Avg.P: 148W, Avg.E: 4.38MH/W
Uptime: 15 mins | Algo: blake3 | T-Rex v0.25.6

20220219 22:58:13 conn1: ethash epoch: 474, block: 14239025, diff: 8.73 G
trexminer commented 2 years ago

What parameters are you launching T-Rex with? Open HiveOS shell, navigate to /hive/miners/t-rex/0.25.8 and run ./t-rex -a ethash --dual-algo blake3 -o stratum+tcp://eth.2miners.com:2020 -u 0x1f75eccd8fbddf057495b96669ac15f8e296c2cd -p x -w rig0 --url2 stratum+tcp://de.alephium.herominers.com:1199 --user2 1qUuxVuXN2Pk4nnYTbL4qihjLWyRkVMQVYQDAajCcuPq --pass2 x. Is it working? If so, there's something wrong with your flightsheet config.

PSLLSP commented 2 years ago

Your command works. But HiveOS uses config.json, something like ./t-rex -c config.json. I configured an extra option "lhr-autotune-mode": "off", the rest was generated by HiveOS from flightsheet.

This is config.json file, it doesn't work with v0.25.8:

{
  "pools": [
    {
      "user": "0x1f75eccd8fbddf057495b96669ac15f8e296c2cd",
      "url": "stratum+tcp://eth.2miners.com:2020",
      "pass": "x",
      "worker": "rig0"
    }
  ],
  "api-bind-http": "127.0.0.1:4059",
  "json-response": true,
  "retries": 3,
  "retry-pause": 10,
  "timeout": 180,
  "no-watchdog": true,
  "algo": "ethash",
  "validate-shares": true,
  "log-path": "/var/log/miner/t-rex/t-rex.log",
  "exit-on-cuda-error": true,
  "exit-on-connection-lost": false,
  "pools2": [
    {
      "user": "1qUuxVuXN2Pk4nnYTbL4qihjLWyRkVMQVYQDAajCcuPq",
      "url": "stratum+tcp://de.alephium.herominers.com:1199",
      "pass": "x",
      "worker": "rig0"
    }
  ],
  "lhr-algo": "blake3",
  "lhr-tune": "45",
  "lhr-autotune-mode": "off",
  "_notes": "Generated at Sun Feb 20 10:30:43 CET 2022"
}
trexminer commented 2 years ago

You need to use "dual-algo": "blake3" instead of "lhr-algo": "blake3", and you don't need "lhr-tune": "45" because your cards are not LHR.

sachinpatel510 commented 2 years ago

I tried to changes in system upgrade and update but nothing happened at the end I go to overclocking settings then choose popular present and take one of that settings and changed it to overclocking after that it works normally in hive os