-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.4.0 nvidia thread #1 failed with error Unsupported algorithm #72
Comments
You need to add |
It should be enabled by default, but it might somehow disabled in your build and you need to explicitly enable it, also plugin 6.3.2 should work with the new miner. |
Hi But the 6.4.0... adding -DWITH_DRIVER_API=ON to cmake didnt help - same error during mining. Compile log below: /xxx/xmrig-cuda-6.4.0# cuda 9.2; cd cmake && export PATH=/usr/local/cuda-9.2/bin:$PATH; cmake .. -DWITH_DRIVER_API=ON -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 -DCUDA_LIB=/usr/local/cuda/lib64/stubs/libcuda.so && make -j12 /home/miner/tym/xmrig-cuda/xmrig-cuda-6.4.0/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero /usr/local/cuda-9.2/include/thrust/system/cuda/detail/util.h:189:13: warning: ‘void thrust::cuda_cub::throw_on_error(cudaError_t, const char*)’ defined but not used [-Wunused-function] /home/miner/tym/xmrig-cuda/xmrig-cuda-6.4.0/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero /home/miner/tym/xmrig-cuda/xmrig-cuda-6.4.0/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero /home/miner/tym/xmrig-cuda/xmrig-cuda-6.4.0/src/cuda_extra.cu: In function ‘int cuda_get_deviceinfo(nvid_ctx*)’: |
It looks like you didn't clear your build folder before building new code. Internal algorithm IDs changed in 6.4.0 and if you link some compiled files from 6.3.2 with other files from 6.4.0, it can break. Delete the whole folder and build from scratch. |
All is deleted every new build - everytime start from fresh folder ;-) Specially for you I now did again from scratch: (this time compile with CUDA 9.2...but issue same, as with CUDA 10) exactly as follow: some logs during compile: now copy file libxmrig-cuda.so to the folder xmrig-v6.4.0 - where I have all is required to run miner: and then run miner with prepended: and....errors still as in first post. |
There was an algorithm list mismatch in 6.4.0 between xmrig and xmrig-cuda. |
@SChernykh thanks. this patch helps and now cuda plugin works ;-) |
That Works perfect!!! Manually update Algoritm list and working!! |
https://github.com/xmrig/xmrig-cuda/releases/tag/v6.4.1 This was Linux specific bug, algorithm id mismatch wasn't a root issue, it just hid a real issue for long time |
mining kawpow on NVIDIA GTX 1070 - works ok on xmrig 6.3.5, and stop working with 6.4.0
On AMD (RX 5500 and 5600) - work ok with both versions (xmrig using opencl)
[2020-10-19 09:00:57.681] nvidia KawPow DAG for epoch 194 calculated (14550ms)
[2020-10-19 09:00:57.681] nvidia thread #0 failed with error Unsupported algorithm
...and same error on all threads
Rig is Ubuntu based. Manually compiled with same procedure as always and on same machine as always:
xmrig-cuda:
cd cmake && export PATH=/usr/local/cuda-10.0/bin:$PATH; cmake .. -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 -DCUDA_LIB=/usr/local/cuda/lib64/stubs/libcuda.so && make -j12
xmrig:
cd cmake && cmake .. -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 && make -j32
running options:
--opencl --cuda --no-cpu -o stratum.ravenminer.com:3838 -a kawpow -u xxxxxxxxx -p x --print-time=5 --http-port=3333
full logs running 6.3.5 and 6.4.0 on this NV rig:
6.3.5:
L2:0.5 MB L3:2.0 MB 2C/2T NUMA:1
[2020-10-19 08:58:53.020] net use pool stratum.ravenminer.com:3838 35.157.118.228
[2020-10-19 08:58:53.095] net new job from stratum.ravenminer.com:3838 diff 431M algo kawpow height 1457046
[2020-10-19 08:58:53.095] nvidia use profile kawpow (6 threads) scratchpad 32 KB
| # | GPU | BUS ID | INTENSITY | THREADS | BLOCKS | BF | BS | MEMORY | NAME
| 0 | 0 | 01:00.0 | 7864320 | 256 | 30720 | 0 | 0 | 2576 | GeForce GTX 1070
| 1 | 1 | 03:00.0 | 7864320 | 256 | 30720 | 0 | 0 | 2576 | GeForce GTX 1070
| 2 | 2 | 06:00.0 | 7864320 | 256 | 30720 | 0 | 0 | 2576 | GeForce GTX 1070
| 3 | 3 | 07:00.0 | 7864320 | 256 | 30720 | 0 | 0 | 2576 | GeForce GTX 1070
| 4 | 4 | 08:00.0 | 7864320 | 256 | 30720 | 0 | 0 | 2576 | GeForce GTX 1070
| 5 | 5 | 09:00.0 | 7864320 | 256 | 30720 | 0 | 0 | 2576 | GeForce GTX 1070
[2020-10-19 08:58:57.188] nvidia READY threads 6/6 (4092 ms)
[2020-10-19 08:58:58.142] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:03.147] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:08.157] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:10.884] miner KawPow light cache for epoch 194 calculated (13696ms)
[2020-10-19 08:59:13.161] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:18.166] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:23.168] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:25.851] nvidia KawPow DAG for epoch 194 calculated (14966ms)
[2020-10-19 08:59:25.852] nvidia KawPow DAG for epoch 194 calculated (14967ms)
[2020-10-19 08:59:25.853] nvidia KawPow DAG for epoch 194 calculated (14968ms)
[2020-10-19 08:59:25.855] nvidia KawPow DAG for epoch 194 calculated (14970ms)
[2020-10-19 08:59:25.856] nvidia KawPow DAG for epoch 194 calculated (14971ms)
[2020-10-19 08:59:25.857] nvidia KawPow DAG for epoch 194 calculated (14972ms)
[2020-10-19 08:59:28.187] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:29.905] net new job from stratum.ravenminer.com:3838 diff 431M algo kawpow height 1457047
[2020-10-19 08:59:33.190] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 08:59:38.194] miner speed 10s/60s/15m 66.91 n/a n/a MH/s max 66.96 MH/s
[2020-10-19 08:59:38.979] nvidia accepted (1/0) diff 431M (122 ms)
[2020-10-19 08:59:43.197] miner speed 10s/60s/15m 67.21 n/a n/a MH/s max 67.22 MH/s
[2020-10-19 08:59:48.202] miner speed 10s/60s/15m 67.19 n/a n/a MH/s max 67.22 MH/s
6.4.0:
L2:0.5 MB L3:2.0 MB 2C/2T NUMA:1
[2020-10-19 09:00:25.048] net use pool stratum.ravenminer.com:3838 3.122.71.171
[2020-10-19 09:00:25.118] net new job from stratum.ravenminer.com:3838 diff 431M algo kawpow height 1457047
[2020-10-19 09:00:25.118] nvidia use profile kawpow (6 threads) scratchpad 32 KB
| # | GPU | BUS ID | INTENSITY | THREADS | BLOCKS | BF | BS | MEMORY | NAME
| 0 | 0 | 01:00.0 | 5760 | 128 | 45 | 0 | 0 | 2576 | GeForce GTX 1070
| 1 | 1 | 03:00.0 | 5760 | 128 | 45 | 0 | 0 | 2576 | GeForce GTX 1070
| 2 | 2 | 06:00.0 | 5760 | 128 | 45 | 0 | 0 | 2576 | GeForce GTX 1070
| 3 | 3 | 07:00.0 | 5760 | 128 | 45 | 0 | 0 | 2576 | GeForce GTX 1070
| 4 | 4 | 08:00.0 | 5760 | 128 | 45 | 0 | 0 | 2576 | GeForce GTX 1070
| 5 | 5 | 09:00.0 | 5760 | 128 | 45 | 0 | 0 | 2576 | GeForce GTX 1070
[2020-10-19 09:00:29.169] nvidia READY threads 6/6 (4051 ms)
[2020-10-19 09:00:30.131] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:00:35.136] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:00:40.165] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:00:43.130] miner KawPow light cache for epoch 194 calculated (13961ms)
[2020-10-19 09:00:45.179] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:00:50.182] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:00:55.187] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:00:57.679] nvidia KawPow DAG for epoch 194 calculated (14549ms)
[2020-10-19 09:00:57.680] nvidia thread Cleanup everything in GPU context when releasing it #1 failed with error Unsupported algorithm
[2020-10-19 09:00:57.681] nvidia KawPow DAG for epoch 194 calculated (14550ms)
[2020-10-19 09:00:57.681] nvidia thread #0 failed with error Unsupported algorithm
[2020-10-19 09:00:57.681] nvidia KawPow DAG for epoch 194 calculated (14551ms)
[2020-10-19 09:00:57.681] nvidia thread Don't set bfactor/bsleep for RandomX #3 failed with error Unsupported algorithm
[2020-10-19 09:00:57.682] nvidia KawPow DAG for epoch 194 calculated (14552ms)
[2020-10-19 09:00:57.684] nvidia thread Command line Switch --cuda-loader="C:/cuda/xmrig-cuda.dll" not working #4 failed with error Unsupported algorithm
[2020-10-19 09:00:57.684] nvidia KawPow DAG for epoch 194 calculated (14554ms)
[2020-10-19 09:00:57.684] nvidia thread Added auto-config for RandomX #2 failed with error Unsupported algorithm
[2020-10-19 09:00:57.684] nvidia KawPow DAG for epoch 194 calculated (14553ms)
[2020-10-19 09:00:57.684] nvidia thread Optimized hashAes1Rx4 #5 failed with error Unsupported algorithm
[2020-10-19 09:01:00.191] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:01:05.196] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2020-10-19 09:01:10.200] miner speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
The text was updated successfully, but these errors were encountered: