RavenCommunity / kawpowminer

KawPow 0.9.4 implementation for Ravencoin
https://github.com/RavenProject/Ravencoin
GNU General Public License v3.0
233 stars 96 forks source link

NVRTC_ERROR_BUILTIN_OPERATION_FAILURE, HIVEOS #8

Closed castillojim24 closed 4 years ago

castillojim24 commented 4 years ago

kawpowminer 1.1.3+commit.adb6e361 Build: linux/release/gnu

 i 21:22:03 kawpow Configured pool rvnt.minermore.com:4505  i 21:22:03 kawpow Api server listening on port 3334.  i 21:22:03 kawpow Selected pool rvnt.minermore.com:4505  i 21:22:03 kawpow Stratum mode : Stratum  i 21:22:03 kawpow Established connection to rvnt.minermore.com [149.28.243.216:4505]  i 21:22:03 kawpow Spinning up miners... cu 21:22:03 cuda-0 Using Pci Id : 01:00.0 GeForce GTX 1070 (Compute 6.1) Memory : 7.93 GB cu 21:22:03 cuda-1 Using Pci Id : 04:00.0 GeForce GTX 1070 (Compute 6.1) Memory : 7.93 GB cu 21:22:03 cuda-2 Using Pci Id : 06:00.0 GeForce GTX 1070 (Compute 6.1) Memory : 7.93 GB cu 21:22:03 cuda-3 Using Pci Id : 09:00.0 GeForce GTX 1070 (Compute 6.1) Memory : 7.93 GB  i 21:22:03 kawpow New target set to: 00000009f6000000000000000000000000000000000000000000000000000000  i 21:22:03 kawpow Epoch : 36 Difficulty : 431.17 Mh  i 21:22:03 kawpow Job: aedaec7d… block 275179 rvnt.minermore.com [149.28.243.216:4505] cu 21:22:03 cuda-4 Using Pci Id : 0a:00.0 GeForce RTX 2070 (Compute 7.5) Memory : 7.93 GB cu 21:22:05 cuda-1 Generating DAG + Light : 1.30 GB cu 21:22:05 cuda-0 Generating DAG + Light : 1.30 GB cu 21:22:05 cuda-2 Generating DAG + Light : 1.30 GB  i 21:22:05 kawpow Authorized worker jimnu.1070s cu 21:22:05 cuda-4 Generating DAG + Light : 1.30 GB cu 21:22:05 cuda-3 Generating DAG + Light : 1.30 GB  i 21:22:06 kawpow Job: f51faeff… block 275180 rvnt.minermore.com [149.28.243.216:4505]  i 21:22:08 kawpow New API session from 127.0.0.1:59540  i 21:22:08 kawpow API : Method miner_getstat1 requested  m 21:22:08 kawpow 0:00 A0 0.00 h - cu0 0.00 45C 74%, cu1 0.00 45C 75%, cu2 0.00 47C 74%, cu3 0.00 53C 75%, cu4 0.00 45C 60% cu 21:22:08 cuda-4 Generated DAG + Light in 3,820 ms. 6.63 GB left. terminate called after throwing an instance of 'cuda_runtime_error' what(): CUDA NVRTC error in func compileKernel at line 411 calling compileResult failed with error NVRTC_ERROR_BUILTIN_OPERATION_FAILURE

blondfrogs commented 4 years ago

@castillojim24 Is this is an issue. We have made lots of improvments and I know some users are using HIVE OS with no issues.

Please try it with version 1.2.1 and see if you are successful :)

castillojim24 commented 4 years ago

I try with hiveos customized version 1.2.0 and with 1.2.1 compiled by myself, but the error persist

castillojim24 commented 4 years ago

Problem solved.

nyakze commented 4 years ago

Problem solved.

What was causing the issue? How did you solve it? Please elaborate so others having this issue can solve it as well

ghost commented 4 years ago

I have also that problem... will be nice he will share his knowledge.

castillojim24 commented 4 years ago

skydivematy, are you using hiveos?

If the case copy the files: libnvrtc-builtins.so and libnvrtc.so.10.2 to the folder /hive/miners/ethminer/kawpowminer/1.2.2

ghost commented 4 years ago

Thanks for your respond, i did it. Copy both files from /hive/lib folder to hive/miners/ethminer/kawpowminer/1.2.2 but still same error.... terminate called after throwing an instance of 'cuda_runtime_error' what(): CUDA NVRTC error in func compileKernel at line 411 calling compileResult failed with error NVRTC_ERROR_BUILTIN_OPER TION_FAILURE

nyakze commented 4 years ago

It seems that it's the issue of HiveOS incorrecrly linking libraries. If you want to fix it yourself, try the steps below. Note that t-rex is using 10.0 which is also incorrectly linked, so do the same for that version as well. Do the following: locate libnvrtc-builtins.so | grep 10.2 check that the link is wrong (pointing to 9.2) ls -lah /hive/lib/libnvrtc-builtins.so rm /hive/lib/libnvrtc-builtins.so ln -s /hive/lib/libnvrtc-builtins.so.10.2 /hive/lib/libnvrtc-builtins.so

nyakze commented 4 years ago

If above doesn't help, do nvidia-driver-update

ghost commented 4 years ago

nvidia driver 440.82, hiveos all latest updates

nyakze commented 4 years ago

nvidia driver 440.82, hiveos all latest updates

Which linux kernel is your hive running on? Is it 5.0.21? You can use hive-replace --list from hive shell and update to the latest distro. There are some things hive doesn't update.

1613557499 commented 11 months ago

ubuntu 20.04 encountered the same problem how to solve?