TrailingStop / TT-Miner-release

38 stars 2 forks source link

CUDA-Kernel configuration fails for compute 8.6 #23

Open RainbowMiner opened 11 months ago

RainbowMiner commented 11 months ago

Mining SHA3Solidity on Eticapool / Win10 / GPU is RTX3070

17:09:44.904 ********* TT-Miner - Version: 2023.4.2 (Nov 25 2023 11:36:28)
17:09:44.904 ********* Log system initialized...
17:09:44.904 ********* Internal event system initialized...
17:09:44.904 ********* Worker threads initialized, using 4 threads...
17:09:44.982 ********* Commandline: C:\Bin\NVIDIA-TTminer\TT-Miner.exe --api-bind 127.0.0.1:33306 -d 6 -Pet etica://myethwallet.rtx:x@eticapool.com:8081 -cz ZIL -Pz myzilwallet.rtx:x@eu.crazypool.org:5005 -cet ETI
17:09:49.917 ********* CUDA-GPU information
17:09:49.917 GeForce Driver-Ver:    537.58
17:09:49.917 NVML-Ver:              12.537.58
17:09:49.917 CUDA-Ver:              12.2
17:09:49.917 Krnl[06]:      Create CUDA-Kernel configuration (CU_G-D003#0-86) for compute 8.6
...
17:09:50.401 Pool[ETI-0]:   *Difficulty set to 1.100 TH
17:09:50.464 Pool[ETI-0]:   *Received new job#: 1
17:09:50.479 Krnl[06-ETI]:  *Create CUDA-Kernel configuration (CU_G-A082#0-86) for compute 8.6
17:09:50.479 Krnl[06-ETI]:  *Cannot configure CUDA-Kernel (CU_G-A082#0-86) for compute 8.6`
RainbowMiner commented 11 months ago

It seems to work on older Nvidia GPUs like GTX1070. It crashes with the above on all RTX30xx cards.

TrailingStop commented 11 months ago

Hi,

this commandline should also work and is easier to remember - etica:// is not required if you define -c ETI

Commandline: C:\Bin\NVIDIA-TTminer\TT-Miner.exe --api-bind 127.0.0.1:33306 -d 6 -cet ETI -Pet myethwallet.rtx:x@eticapool.com:8081 -cz ZIL -Pz myzilwallet.rtx:x@eu.crazypool.org:5005

I run ETI on a 1070 and 3060 without any issues. But I sue newer driver. Do you have any chance to update the driver and retest?: 07:55:57.470 GeForce Driver-Ver: 545.84 07:55:57.470 NVML-Ver: 12.545.84 07:55:57.472 CUDA-Ver: 12.3

RainbowMiner commented 11 months ago

With the new version and new Nvidia drivers, now the GTX1070 also fail:

Command-Line: TT-Miner.exe --api-bind 127.0.0.1:33333 -d 0 1 2 3 4 5 -Pet 0xmywalletaddress.rbm:x@eticapool.com:8081 -cet ETI -cz ZIL -Pz zilmywalletaddress.rbm:x@eu.crazypool.org:5005

14:44:00.279 GeForce Driver-Ver:    546.01
14:44:00.279 NVML-Ver:              12.546.01
14:44:00.279 CUDA-Ver:              12.3
...
14:44:00.420 Algo:          Active algo: Etica / SHA3SOLIDITY - switch #1
14:44:00.420 Pool[ETI-0]:   *Connected to etica://eticapool.com:8081.
14:44:00.529 Pool[ZIL-0]:   -Connected to stratum+tcp://eu.crazypool.org:5005 [95.179.161.157].
14:44:00.561 Pool[ZIL-0]:   -Set pool extra nonce to: 0xE70AF4
14:44:00.597 Pool[ZIL-0]:   -Difficulty set to 8.658 GH
14:44:00.626 Pool[ZIL-0]:   -Set pool extra nonce to: 0xE70AF4
14:44:00.786 Pool[ETI-0]:   *Difficulty set to 1.100 TH
14:44:00.855 Pool[ETI-0]:   *Received new job#: 1
14:44:01.012 Krnl[00]:      CUDA-Kernel configuration ready (CU_G-D003#0-61). (0.7 secs)
14:44:03.902 Krnl[05-ZIL]:  -Create CUDA-Kernel configuration (CU_G-A032#0-61) for compute 6.1
14:44:04.433 Krnl[05-ZIL]:  -CUDA-Kernel configuration ready (CU_G-A032#0-61). (0.5 secs)
14:44:04.433 Krnl[02-ETI]:  *Create CUDA-Kernel configuration (CU_G-A082#0-61) for compute 6.1
14:44:04.589 Krnl[02-ETI]:  *Cannot configure CUDA-Kernel (CU_G-A082#0-61) for compute 6.1
TrailingStop commented 11 months ago

Hi- I think it is a driver-problem. I used latest cuda sdk for development. If possible you might give the latest nvidia driver a try?

RainbowMiner commented 11 months ago

14:44:00.279 GeForce Driver-Ver: 546.01

I did. That is the latest. Is it maybe the Win10 version that messes things up? It hasn't been updated for a while, now.

RainbowMiner commented 9 months ago

New version 2024.1.1 same problem. I am running on the newest Nvidia drivers. Here logs from KawPow mining:

12:34:41.917 Pool[DEF-0]:   *Working on Block#: 433800 - Blocks until epoch change: 1200
12:34:42.245 Krnl[06]:      CUDA-Kernel configuration ready (CU_G-D003#0-86). (0.8 secs)
12:34:42.245 Krnl[06-ZIL]:  -Create CUDA-Kernel configuration (CU_G-A032#0-86) for compute 8.6
12:34:42.276 Dag[06-ZIL]:   -Create cache for DAG(D9-32) - 17.12 MB
12:34:43.010 Krnl[06-ZIL]:  -CUDA-Kernel configuration ready (CU_G-A032#0-86). (0.7 secs)
12:34:43.495 Dag[06-ZIL]:   -Cache for DAG(D9-32) ready. (1.2 secs)
12:34:43.526 Dag[06-ZIL]:   -Create DAG(D9-32) - 1.070 GB
12:34:45.072 Krnl[06-DEF]:  *Create CUDA-Kernel configuration (CU_G-A048#70F7-86) for compute 8.6
12:34:45.088 Dag[06-ZIL]:   -DAG(D9-32) created. (1.5 secs)
12:34:45.088 Dag[06-ZIL]:   -Copy DAG(D9-32) to 'C:\Users\info\rbm\Bin\NVIDIA-TTminer\DAGs\D9-32.dag' - 1.070 GB
12:34:45.135 Krnl[06-DEF]:  *Cannot configure CUDA-Kernel (CU_G-A048#70F7-86) for compute 8.6
12:34:45.135 Krnl[06-DEF]:  *Create CUDA-Kernel configuration (CU_G-A048#70F8-86) for compute 8.6
12:34:45.182 Krnl[06-DEF]:  *Cannot configure CUDA-Kernel (CU_G-A048#70F8-86) for compute 8.6
12:34:45.197 Krnl[06-DEF]:  *Create CUDA-Kernel configuration (CU_G-A048#70F9-86) for compute 8.6
12:34:45.228 Krnl[06-DEF]:  *Cannot configure CUDA-Kernel (CU_G-A048#70F9-86) for compute 8.6
TrailingStop commented 9 months ago

Hi - you will find a file in << MinerFolder >>\GpuConfig like CompileError1.log. Can you mail them to me please? What are you mining? ZIL and ? BTW:: I have one Wind10 box for testing. TT seems to work on it with latest driver. So I think Windows is not the problem.

RainbowMiner commented 9 months ago
nvrtc ver: 12.3
-arch=sm_86
-DALGO_DEVICE_GPU
-D_CUDA
-D_HAVE128
-restrict
-std=c++20
-extra-device-vectorization
-device-int128
CU_G-A048#70F9-86(1333): error: identifier "l_ui32XorRolLine" is undefined
  l_ui32XorRolLine = l_ui32XorLine[4] ^ rotl_ui32( l_ui32XorLine[1], 1 );
  ^

CU_G-A048#70F9-86(1615): warning #177-D: variable "l_ui64StatePtr" was declared but never referenced
  uint64_t* l_ui64StatePtr = (uint64_t*)p_ui32StatePtr;
            ^

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

1 error detected in the compilation of "CU_G-A048#70F9-86".
TrailingStop commented 9 months ago

Thanks - that helps. Give me some minutes. One more thing? which coin/algo?

TrailingStop commented 9 months ago

Hi- not sure, but I think I fixed the problem. Please give this version a try and let me know if it is fixed or not.

Thanks a lot for reporting!

www.TradeProject.de/download/Miner/TT-Miner-2024.1.2.zip

RainbowMiner commented 9 months ago

No problem - I will try this out now.

RainbowMiner commented 9 months ago

I think, it helped. The error seems to be gone (tried with KawPow on MiningRigRentals). I will try all other algos now and give final feedback after that. Thank you for your work!

TrailingStop commented 9 months ago

Happy to help - and I have to thank you for your help and support to get things fixed!