949f45ac / xmr-stak-hip

Monero HIP miner with custom optimizations – Development continues at xmrig-HIP
GNU General Public License v3.0
9 stars 1 forks source link

Miner freezes briefly after start #1

Closed shimmervoid closed 6 years ago

shimmervoid commented 6 years ago

Hello,

My technical skills are basic. Given that statement, I cannot get the miner to stay alive more than about 2 minutes. All gpus are alive at start. After a few seconds, the hashrate drops to 0 on any random GPU until the application eventually freezes. I get accepted results from the pool in this short period. Honestly I don't know if I built this right.

Perhaps a step by step if its not too much of a hassle. Maybe this can help others like myself.

Equipment: Rzyen 1950 + Vega Frontier, Ubuntu 16.04 | 4.13 | ROCm 1.7.2

949f45ac commented 6 years ago

Hi, thanks for trying this out.

What threads and blocks are you using? I’ve occasionally observed this freezing behaviour when I tried using blocks that weren’t a multiple of CU count. (CU count of Vega FE is 64, I believe.) Even if block count is correctly divisible, you could try running 16 threads and lowering block count accordingly. It is usually a bit more stable with 16 threads.

There was also an error in the code that potentially calculated a wrong block count for the prepare/finalize kernels. I’ve pushed a fix for that, so please try with the latest version.

If the problem persists, we need to get a better idea of where exactly computation stalls. For this, you’d have to launch the program with a single GPU and HIP_DB=api HIP_LAUNCH_BLOCKING=1 set in your environment. This will print every single kernel launch. Just take the last 30 or so lines of program output after it has frozen and post them here, then I’ll have a look.

If it starts at all, you’ve probably built it right. Was anything specifically unclear?

949f45ac commented 6 years ago

Another thing: What settings do you run your cards on? Possibly they are overheating. I recommend keeping temperature shown by rocm-smi output below 55°C. On Linux I run Vega cards exclusively with sclk=0 (use sudo rocm-smi --setsclk 0), as everything higher just isn’t worth the additional power consumption. To keep a card with blower fan (reference design like in Vega FE) cool inside a closed case then, I need to use 40-50% fanspeed (rocm-smi --setfan 110 gives about 50%).

shimmervoid commented 6 years ago

Thanks for responding. With HIP_DB=api HIP_LAUNCH_BLOCKING=1 and it ran for about an hr and a half without freezing. However it did freeze once. I couldn't make any modification to this unit so I did a test with 4 GPUs. The settings were 16 threads x 224 blocks as advised from README. Rocm-smi set to sclk 5. sclk 0 gave half the hashrate. Temps in high 40s, low 50s. Water blocks are installed.

<<hip-api tid:3.8251 hipModuleLaunchKernel (0x1403c08700, 224, 1, 1, 16, 1, 1, 0, stream:<null>, 0, 0x7f24c8efe8a0) @4418926659497
<<hip-api tid:3.8251 3.8251 hipLaunchKernel '_Z27cryptonight_core_gpu_phase2iiiPmPjS0_S0_jS0_' gridDim:{3584,1,1} groupDim:{16,1,1} sharedMem:+0 stream:3.0 @4418926675517
  hip-api tid:1.8231 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +2297044902 ns
<<hip-api tid:1.8232 hipGetLastError () @4418996335783
  hip-api tid:1.8232 hipGetLastError                ret= 0 (hipSuccess)>> +4940 ns
<<hip-api tid:1.8233 hipModuleLaunchKernel (0x1403009900, 224, 1, 1, 128, 1, 1, 0, stream:<null>, 0, 0x7f24ca7018b0) @4418996385484
<<hip-api tid:1.8233 1.8233 hipLaunchKernel '_Z27cryptonight_core_gpu_phase3iiiPKmPjS1_' gridDim:{28672,1,1} groupDim:{128,1,1} sharedMem:+0 stream:0.0 @4418996402744
  hip-api tid:1.8233 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +94903097 ns
<<hip-api tid:1.8234 hipGetLastError () @4419091314191
  hip-api tid:1.8234 hipGetLastError                ret= 0 (hipSuccess)>> +5240 ns
<<hip-api tid:1.8235 hipMemset (0x14031f5000, 255, 40) @4419091341782
<<hip-api tid:1.8236 hipModuleLaunchKernel (0x140305d300, 1, 1, 1, 256, 1, 1, 0, stream:0.0, 0, 0x7f24ca7014b0) @4419091368743
<<hip-api tid:1.8236 1.8236 hipLaunchKernel '_ZN12_GLOBAL__N_110hip_fill_nILj256EPjmjEEvT0_T1_T2_' gridDim:{256,1,1} groupDim:{256,1,1} sharedMem:+0 stream:0.0 @4419091382303
  hip-api tid:1.8236 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +45271 ns
  hip-api tid:1.8236 hipMemset                      ret= 0 (hipSuccess)>> +80352 ns
<<hip-api tid:1.8237 hipGetLastError () @4419091443104
  hip-api tid:1.8237 hipGetLastError                ret= 0 (hipSuccess)>> +9520 ns
<<hip-api tid:1.8238 hipMemset (0x14031f4000, 0, 4) @4419091472575
<<hip-api tid:1.8239 hipModuleLaunchKernel (0x140305d300, 1, 1, 1, 256, 1, 1, 0, stream:0.0, 0, 0x7f24ca7014b0) @4419091499505
<<hip-api tid:1.8239 1.8239 hipLaunchKernel '_ZN12_GLOBAL__N_110hip_fill_nILj256EPjmjEEvT0_T1_T2_' gridDim:{256,1,1} groupDim:{256,1,1} sharedMem:+0 stream:0.0 @4419091514126
  hip-api tid:1.8239 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +46341 ns
  hip-api tid:1.8239 hipMemset                      ret= 0 (hipSuccess)>> +88162 ns
<<hip-api tid:1.8240 hipGetLastError () @4419091569707
  hip-api tid:1.8240 hipGetLastError                ret= 0 (hipSuccess)>> +7110 ns
<<hip-api tid:1.8241 hipModuleLaunchKernel (0x140300b100, 14, 1, 1, 256, 1, 1, 0, stream:<null>, 0, 0x7f24ca701960) @4419091615248
<<hip-api tid:1.8241 1.8241 hipLaunchKernel '_Z27cryptonight_extra_gpu_finalimPjS_S_' gridDim:{3584,1,1} groupDim:{256,1,1} sharedMem:+0 stream:0.0 @4419091630968
  hip-api tid:1.8241 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +1385760 ns
<<hip-api tid:1.8242 hipGetLastError () @4419093017399
  hip-api tid:1.8242 hipGetLastError                ret= 0 (hipSuccess)>> +5360 ns
<<hip-api tid:1.8243 hipMemcpy (0x7f24ca701b40, 0x14031f4000, 4, hipMemcpyDeviceToHost) @4419093042019
  hip-api tid:1.8243 hipMemcpy                      ret= 0 (hipSuccess)>> +45861 ns
<<hip-api tid:1.8244 hipGetLastError () @4419093096980
  hip-api tid:1.8244 hipGetLastError                ret= 0 (hipSuccess)>> +7910 ns
<<hip-api tid:1.8245 hipMemcpy (0x7f24ca701b50, 0x14031f5000, 40, hipMemcpyDeviceToHost) @4419093118301
  hip-api tid:1.8245 hipMemcpy                      ret= 0 (hipSuccess)>> +27100 ns
<<hip-api tid:1.8246 hipGetLastError () @4419093154662
  hip-api tid:1.8246 hipGetLastError                ret= 0 (hipSuccess)>> +5470 ns
Run for startnonce 770560 with target 000051FC04F57A5C over.
<<hip-api tid:1.8247 hipModuleLaunchKernel (0x1403053f00, 28, 1, 1, 128, 1, 1, 0, stream:<null>, 0, 0x7f24ca701940) @4419093210063
<<hip-api tid:1.8247 1.8247 hipLaunchKernel '_Z29cryptonight_extra_gpu_prepareiPjjjS_S_S_S_S_' gridDim:{3584,1,1} groupDim:{128,1,1} sharedMem:+0 stream:0.0 @4419093227443
  hip-api tid:1.8247 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +239555 ns
<<hip-api tid:1.8248 hipGetLastError () @4419093459808
  hip-api tid:1.8248 hipGetLastError                ret= 0 (hipSuccess)>> +5560 ns
<<hip-api tid:1.8249 hipModuleLaunchKernel (0x1403007000, 224, 1, 1, 128, 1, 1, 0, stream:<null>, 0, 0x7f24ca7018b0) @4419093502869
<<hip-api tid:1.8249 1.8249 hipLaunchKernel '_Z27cryptonight_core_gpu_phase1iiiPmPjS0_' gridDim:{28672,1,1} groupDim:{128,1,1} sharedMem:+0 stream:0.0 @4419093519629
  hip-api tid:1.8249 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +90997822 ns
<<hip-api tid:1.8250 hipGetLastError () @4419184521041
  hip-api tid:1.8250 hipGetLastError                ret= 0 (hipSuccess)>> +4911 ns
Starting run for nonce 774144
<<hip-api tid:1.8251 hipModuleLaunchKernel (0x1403008700, 224, 1, 1, 16, 1, 1, 0, stream:<null>, 0, 0x7f24ca7018a0) @4419184570542
<<hip-api tid:1.8251 1.8251 hipLaunchKernel '_Z27cryptonight_core_gpu_phase2iiiPmPjS0_S0_jS0_' gridDim:{3584,1,1} groupDim:{16,1,1} sharedMem:+0 stream:0.0 @4419184586143

I can test with one GPU this weekend. Please do tell me what you see. Thank you.

949f45ac commented 6 years ago

Well I didn’t mean that you should remove the other GPUs from the machine, just that you should start the miner configured to use only one. But it seem from the log output that you did in this case.

Anyhow, as for the issue at hand, I don’t have a surefire fix yet, but I can imagine some possible causes and I even can kind of reproduce it locally, it seems, as I just noticed one of my cards showing similar behaviour. I have pushed one more possible improvement/fix to master that you can try.

By the way: One thing that I have noticed as definitely having a high chance of freezing the miner is when you start (or even stop) a CPU miner alongside. It’s fine if you start the CPU miner first, then this one. But if you start or stop the CPU miner after starting this one, you will often freeze it. I would assume that’s a bug in the driver that I can’t really fix. (This might also not be due to the CPU mining, but because xmr-stak also queries available OpenCL devices. I’ll have to further investigate some time.) Generally, leaving at least one CPU three without mining work is another thing that might improve stability.

If temperatures are in the low 50’s, I guess that’s fine. As an aside, if sclk=0 is giving you that low hashrate, possibly you’d have to force mclk to maximum again by passing --setsclk 0 --setmclk 3. That should give about 80-90% of the hashrate, using much less power. Just in case you’re interested in that kind of thing.

Finally, out of curiosity: What hashrates are you getting? And since Vega FE has 16 GB memory, did you also try using double the blocks (16x448)? I have wondered how much that would benefit the hashrate.

Cheers

shimmervoid commented 6 years ago

You are worthy of more than my next payout. Here are my results with recompiled new master on sclk 0 and mclk 3.

HASHRATE REPORT
| ID |  10s |  60s |  15m | ID |  10s |  60s |  15m |
|  0 | 1194.9 | 1194.8 | (na) |  1 | 1194.9 | 1194.9 | (na) |
|  2 | 1194.9 | 1194.1 | (na) |  3 | 1194.5 | 1194.5 | (na) |
-----------------------------------------------------
Totals:   4779.1 4778.3 (na) H/s
Highest:  4779.3 H/s
RESULT REPORT
Difficulty       : 97561
Good results     : 10 / 10 (100.0 %)
Avg result time  : 14.6 sec
Pool-side hashes : 587044

Top 10 best results found:
|  0 |           577410 |  1 |           522284 |
|  2 |           258509 |  3 |           130015 |
|  4 |           113632 |  5 |           104793 |
|  6 |            46852 |  7 |            34639 |
|  8 |            27660 |  9 |            26934 |

it struggles a bit with 16 x 448. I will have to give that test more time. I'll give ROCm 1.8 a spin tomorrow

shimmervoid commented 6 years ago

I can continue testing, however this issue has been resolved. Please keep up this good work!

949f45ac commented 6 years ago

Glad to hear it’s working now! :) More settings you can try are 16x256 (4*64), or 16x320 (5*64) etc., as 224 is only 3.5*64 so not a proper multiple of CUs on a 64-CU-Vega. Integer multiples have always performed best on the hardware I tested.

shimmervoid commented 6 years ago

I find 8x512 to be somewhat comfortable for this rig. With some memory overclock, these are some new values I see

HASHRATE REPORT
| ID |  10s |  60s |  15m | ID |  10s |  60s |  15m |
|  0 | 1458.2 | 1459.1 | 1459.5 |  1 | 1454.5 | 1455.5 | 1455.7 |
|  2 | 1461.8 | 1460.8 | 1460.8 |  3 | 1457.9 | 1457.9 | 1458.1 |
-----------------------------------------------------
Totals:   5832.4 5833.3 5834.2 H/s
Highest:  5865.0 H/s

Have you tested this against ROCm 1.8.0?

949f45ac commented 6 years ago

Oh, looks pretty good. Noticably faster than on Vega 56, although mine aren’t BIOS patched anyways.

Haven’t tested on ROCm 1.8.0 so far. From what I gathered, looking at their issue tracker, there seemed to be some problems with that release, so I’m waiting until I have a few relaxed hours time at hand for potential troubleshooting. If you go ahead and try it and there’s any specific issue with the miner, feel free to open an issue with some details in it, though. I can then think about that already.

shimmervoid commented 6 years ago

I still experience some stalling. Any ideas how to keep a perpetual session? Might be coincidence but I've noticed any spike in performance pool side ends with a freeze.

949f45ac commented 6 years ago

I’ll try to get a simple version rolling which may work more reliably… may take a while In the meantime you can do the same thing again that we did earlier in this thread, I guess, just to make sure it’s still the same phase that stalls.

949f45ac commented 6 years ago

Oh and please look at dmesg output after stall, maybe there is something interesting there.

shimmervoid commented 6 years ago

still going strong in debug mode. No freezes yet. Will report if it does

shimmervoid commented 6 years ago

Hopefully you can make some sense of these. When this miner works, its serious business. v8 in the works too? Thanks for everything you do

log1.txt log2.txt out.txt

949f45ac commented 6 years ago

So, did you still experience stalls when running with HIP_LAUNCH_BLOCKING=1? Can you try a 4.15 kernel? Or tell me what you did to get it running on 4.19?

I’ve pushed a new branch hcc_simple that should be as simple as possible code-wise. Unfortunately I still needed asm at one point because of a compiler bug I ran into. Anyhow it’s slightly slower for me, but maybe at least stable for you?

shimmervoid commented 6 years ago

Eventually, yes, it may take up to an hr sometimes. I complied mainline kernel on top of ubuntu 18.10 which gives you a 4.18.7 kernel default. I will give that branch a spin in a few. Look here #513 for more details

shimmervoid commented 6 years ago

Slower but stable. Longest run in one instance for me to date.

RESULT REPORT
Difficulty       : 198813 
Good results     : 270 / 270 (100.0 %)
Avg result time  : 29.5 sec
Pool-side hashes : 53272437

Top 10 best results found:
|  0 |         37423027 |  1 |         27416416 |
|  2 |         14561879 |  3 |         14475958 |
|  4 |         10475835 |  5 |          6882491 |
|  6 |          5821446 |  7 |          5297692 |
|  8 |          5231979 |  9 |          4963392 |

Error details:
Yay! No errors.
shimmervoid commented 6 years ago

Even with the invalid fixes on Opencl, HIP remains competitive. I noticed HIP version : 1.5.0 is available. Don't hesitate if you have anything i can try. Thanks!

949f45ac commented 6 years ago

The XMRig version has the unstable variant, but one small change that may possibly make it more robust. https://github.com/949f45ac/xmrig-HIP I can port the stable variant over as well, but with only two weeks left I guess it slowly stops mattering… would be nicer to get v8 done.

shimmervoid commented 6 years ago

Ahem..... Hate to be that guy but anything new on cnv2? I peeked at xmrig-HIP and noticed the last commits on master and featured cnv2 were pre-fork. Thanks man!

949f45ac commented 6 years ago

I was almost going to skip on the CNv8 support, since the OpenCL miner was working so much better than this one on the end. But then somehow their v8 support turned out really screwed up, so here we are, I did CNv8 on HIP and it’s actually working quite alright. 1600 H/s and up, stable too. Pushed to the xmrig-HIP repo. Make sure to report how it works. :)

shimmervoid commented 6 years ago

Appreciative of all you do. I encounter a few things on running make. It's as follows:

[  2%] Building HIPCC object CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_extra.cu.o
[  4%] Building HIPCC object CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_core.cu.o
Scanning dependencies of target xmrig-cuda
[  6%] Linking CXX static library libxmrig-cuda.a
[  6%] Built target xmrig-cuda
Scanning dependencies of target xmrig-nvidia
[  8%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/api/NetworkState.cpp.o
[ 10%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/App.cpp.o
[ 13%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/config/CommonConfig.cpp.o
[ 15%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/config/ConfigLoader.cpp.o
In file included from /home/cr-1/xmrig-HIP/src/common/config/ConfigLoader.cpp:43:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >; rapidjson::SizeType = unsigned int]’:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2363:9:   required from ‘bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1736:18:   required from ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1832:58:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:487:46:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2159:22:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2185:70:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/common/config/ConfigLoader.cpp:217:23:   required from here
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:1952:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/cr-1/xmrig-HIP/src/common/config/ConfigLoader.cpp:43:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:71:8: note: ‘rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from /home/cr-1/xmrig-HIP/src/common/config/ConfigLoader.cpp:43:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::SizeType = unsigned int]’:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2371:9:   required from ‘bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1766:18:   required from ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1832:58:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:487:46:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2159:22:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2185:70:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/common/config/ConfigLoader.cpp:217:23:   required from here
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:1939:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:540:7: note: ‘class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’ declared here
 class GenericValue {
       ^~~~~~~~~~~~
[ 17%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/config/ConfigWatcher.cpp.o
[ 19%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/Console.cpp.o
[ 21%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/crypto/Algorithm.cpp.o
[ 23%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/crypto/keccak.cpp.o
[ 26%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/log/BasicLog.cpp.o
[ 28%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/log/ConsoleLog.cpp.o
[ 30%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/log/FileLog.cpp.o
[ 32%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/log/Log.cpp.o
[ 34%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/net/Client.cpp.o
In file included from /home/cr-1/xmrig-HIP/src/common/net/Client.cpp:36:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >; rapidjson::SizeType = unsigned int]’:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2363:9:   required from ‘bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1736:18:   required from ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1832:58:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:487:46:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2159:22:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2175:62:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2200:58:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2208:47:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
/home/cr-1/xmrig-HIP/src/common/net/Client.cpp:535:29:   required from here
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:1952:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/cr-1/xmrig-HIP/src/common/net/Client.cpp:36:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:71:8: note: ‘rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from /home/cr-1/xmrig-HIP/src/common/net/Client.cpp:36:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::SizeType = unsigned int]’:
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2371:9:   required from ‘bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1766:18:   required from ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:1832:58:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/reader.h:487:46:   required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2159:22:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2175:62:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2200:58:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:2208:47:   required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
/home/cr-1/xmrig-HIP/src/common/net/Client.cpp:535:29:   required from here
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:1939:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cr-1/xmrig-HIP/src/3rdparty/rapidjson/document.h:540:7: note: ‘class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >’ declared here
 class GenericValue {
       ^~~~~~~~~~~~
[ 36%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/net/Job.cpp.o
[ 39%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/net/Pool.cpp.o
[ 41%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/net/strategies/FailoverStrategy.cpp.o
[ 43%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/net/strategies/SinglePoolStrategy.cpp.o
[ 45%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/net/SubmitResult.cpp.o
[ 47%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/Platform.cpp.o
[ 50%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/core/Config.cpp.o
[ 52%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/core/Controller.cpp.o
[ 54%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/net/Network.cpp.o
[ 56%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/net/strategies/DonateStrategy.cpp.o
[ 58%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/nvidia/CudaCLI.cpp.o
[ 60%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/Summary.cpp.o
[ 63%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/workers/CudaWorker.cpp.o
[ 65%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/workers/CudaThread.cpp.o
[ 67%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/workers/Handle.cpp.o
[ 69%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/workers/Hashrate.cpp.o
[ 71%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/workers/Workers.cpp.o
[ 73%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/xmrig.cpp.o
[ 76%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/App_unix.cpp.o
[ 78%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/Platform_unix.cpp.o
[ 80%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/Cpu_unix.cpp.o
[ 82%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/Cpu_stub.cpp.o
[ 84%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/nvidia/NvmlApi_stub.cpp.o
[ 86%] Building C object CMakeFiles/xmrig-nvidia.dir/src/crypto/c_groestl.c.o
[ 89%] Building C object CMakeFiles/xmrig-nvidia.dir/src/crypto/c_blake256.c.o
[ 91%] Building C object CMakeFiles/xmrig-nvidia.dir/src/crypto/c_jh.c.o
[ 93%] Building C object CMakeFiles/xmrig-nvidia.dir/src/crypto/c_skein.c.o
[ 95%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/crypto/CryptoNight.cpp.o
[ 97%] Building CXX object CMakeFiles/xmrig-nvidia.dir/src/common/log/SysLog.cpp.o
[100%] Linking HIP executable xmrig-nvidia
objdump: /usr/lib/x86_64-linux-gnu/libm.a: file format not recognized
[100%] Built target xmrig-nvidia

Notice libm.a also

Miner runs, but it seems the initial issue is also back

[2018-10-23 12:01:19] use pool pool.supportxmr.com:7777 192.110.160.114
[2018-10-23 12:01:19] new job from pool.supportxmr.com:7777 diff 25000 algo cn/2
[2018-10-23 12:01:26] new job from pool.supportxmr.com:7777 diff 40541 algo cn/2
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s | NAME
|      0 |   0 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      1 |   1 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      2 |   2 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      3 |   3 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
[2018-10-23 12:01:53] speed 10s/60s/15m n/a n/a n/a H/s max 2525.4 H/s
[2018-10-23 12:01:54] accepted (1/0) diff 40541 (98 ms)
[2018-10-23 12:01:54] accepted (2/0) diff 40541 (158 ms)
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s | NAME
|      0 |   0 |   622.0 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      1 |   1 |   605.7 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      2 |   2 |   604.9 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      3 |   3 |   641.4 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
[2018-10-23 12:01:55] speed 10s/60s/15m 2474.0 n/a n/a H/s max 2525.4 H/s
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s | NAME
|      0 |   0 |   622.0 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      1 |   1 |   605.7 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      2 |   2 |   604.9 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      3 |   3 |   641.4 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
[2018-10-23 12:01:57] speed 10s/60s/15m 2474.0 n/a n/a H/s max 2525.4 H/s
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s | NAME
|      0 |   0 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      1 |   1 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      2 |   2 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      3 |   3 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
[2018-10-23 12:01:58] speed 10s/60s/15m n/a n/a n/a H/s max 2525.4 H/s
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s | NAME
|      0 |   0 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      1 |   1 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      2 |   2 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      3 |   3 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
[2018-10-23 12:01:59] speed 10s/60s/15m n/a n/a n/a H/s max 2525.4 H/s
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s | NAME
|      0 |   0 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      1 |   1 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      2 |   2 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      3 |   3 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
[2018-10-23 12:02:00] speed 10s/60s/15m n/a n/a n/a H/s max 2525.4 H/s
| THREAD | GPU | 10s H/s | 60s H/s | 15m H/s | NAME
|      0 |   0 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      1 |   1 |     n/a |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      2 |   2 |   617.7 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
|      3 |   3 |   628.5 |     n/a |     n/a | Vega 10 XTX [Radeon Vega Frontier Edition]
[2018-10-23 12:02:01] speed 10s/60s/15m 1246.3 n/a n/a H/s max 2525.4 H/s
[2018-10-23 12:02:07] accepted (3/0) diff 40541 (96 ms)
[2018-10-23 12:02:07] accepted (4/0) diff 40541 (156 ms)

Hashrates are abysmal.

Watching ROCm-SMI

Every 1.0s: rocm-smi cr-1: Tue Oct 23 12:04:36 2018

====================    ROCm System Management Interface    ====================
================================================================================
 GPU  Temp    AvgPwr   SCLK     MCLK     Fan      Perf    SCLK OD    MCLK OD
  0   38c     72.0W    1528Mhz  945Mhz   28.63%   manual    0%         0%
  1   39c     76.0W    1528Mhz  945Mhz   28.63%   manual    0%         0%
  2   38c     72.0W    1528Mhz  945Mhz   0.0%     manual    0%         0%
  3   38c     77.0W    1528Mhz  945Mhz   0.0%     manual    0%         0%
================================================================================
====================           End of ROCm SMI Log          ====================

then

Every 1.0s: rocm-smi                                                                                                                                                                                           cr-1: Tue Oct 23 12:05:14 2018

====================    ROCm System Management Interface    ====================
================================================================================
 GPU  Temp    AvgPwr   SCLK     MCLK     Fan      Perf    SCLK OD    MCLK OD
  0   42c     171.0W   1528Mhz  945Mhz   28.63%   manual    0%         0%
  1   41c     167.0W   1528Mhz  945Mhz   29.8%    manual    0%         0%
  2   41c     159.0W   1528Mhz  945Mhz   0.0%     manual    0%         0%
  3   42c     166.0W   1528Mhz  945Mhz   0.0%     manual    0%         0%
================================================================================
====================           End of ROCm SMI Log          ====================

I hope this can give you a sense of whats happening, if you need a debug, I can also provide that. Thanks alot!!!!!!!

shimmervoid commented 6 years ago
  hip-api tid:5.75 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +96910489 ns
<<hip-api tid:5.76 hipGetLastError () @184719561307503
  hip-api tid:5.76 hipGetLastError                ret= 0 (hipSuccess)>> +3060 ns
<<hip-api tid:5.77 hipModuleLaunchKernel (0x4c0595dd00, 256, 1, 1, 16, 1, 1, 0, stream:<null>, 0, 0x7fd12a6fbad0) @184719561348184
<<hip-api tid:5.77 5.77 hipLaunchKernel '_Z37cryptonight_core_gpu_phase2_monero_v8iiiPmPjS0_S0_jS0_' gridDim:{4096,1,1} groupDim:{16,1,1} sharedMem:+0 stream:3.0 @184719561361374
  hip-api tid:2.75 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +109489526 ns
<<hip-api tid:2.76 hipGetLastError () @184719595283963
  hip-api tid:2.76 hipGetLastError                ret= 0 (hipSuccess)>> +4000 ns
<<hip-api tid:2.77 hipModuleLaunchKernel (0x4c0515dd00, 256, 1, 1, 16, 1, 1, 0, stream:<null>, 0, 0x7fd12befead0) @184719595319873
<<hip-api tid:2.77 2.77 hipLaunchKernel '_Z37cryptonight_core_gpu_phase2_monero_v8iiiPmPjS0_S0_jS0_' gridDim:{4096,1,1} groupDim:{16,1,1} sharedMem:+0 stream:0.0 @184719595329703
  hip-api tid:4.58 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +96403247 ns
<<hip-api tid:4.59 hipGetLastError () @184719610858602
  hip-api tid:4.59 hipGetLastError                ret= 0 (hipSuccess)>> +4710 ns
<<hip-api tid:4.60 hipMemset (0x44041de000, 255, 40) @184719610885972
<<hip-api tid:4.61 hipModuleLaunchKernel (0x44041e2300, 1, 1, 1, 256, 1, 1, 0, stream:2.0, 0, 0x7fd12aefc710) @184719610909792
<<hip-api tid:4.61 4.61 hipLaunchKernel '_ZN12_GLOBAL__N_110hip_fill_nILj256EPjmjEEvT0_T1_T2_' gridDim:{256,1,1} groupDim:{256,1,1} sharedMem:+0 stream:2.0 @184719610921253
  hip-api tid:4.61 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +44881 ns
  hip-api tid:4.61 hipMemset                      ret= 0 (hipSuccess)>> +74531 ns
<<hip-api tid:4.62 hipGetLastError () @184719610966573
  hip-api tid:4.62 hipGetLastError                ret= 0 (hipSuccess)>> +3410 ns
<<hip-api tid:4.63 hipMemset (0x44041dd000, 0, 4) @184719610978123
<<hip-api tid:4.64 hipModuleLaunchKernel (0x44041e2300, 1, 1, 1, 256, 1, 1, 0, stream:2.0, 0, 0x7fd12aefc710) @184719610993353
<<hip-api tid:4.64 4.64 hipLaunchKernel '_ZN12_GLOBAL__N_110hip_fill_nILj256EPjmjEEvT0_T1_T2_' gridDim:{256,1,1} groupDim:{256,1,1} sharedMem:+0 stream:2.0 @184719611000833
  hip-api tid:4.64 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +30890 ns
  hip-api tid:4.64 hipMemset                      ret= 0 (hipSuccess)>> +51070 ns
<<hip-api tid:4.65 hipGetLastError () @184719611034793
  hip-api tid:4.65 hipGetLastError                ret= 0 (hipSuccess)>> +3420 ns
<<hip-api tid:4.66 hipModuleLaunchKernel (0x4c05d5e700, 16, 1, 1, 256, 1, 1, 0, stream:<null>, 0, 0x7fd12aefcc30) @184719611060294
<<hip-api tid:4.66 4.66 hipLaunchKernel '_Z27cryptonight_extra_gpu_finalimPjS_S_' gridDim:{4096,1,1} groupDim:{256,1,1} sharedMem:+0 stream:2.0 @184719611069294
  hip-api tid:4.66 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +1568662 ns
<<hip-api tid:4.67 hipGetLastError () @184719612653486
  hip-api tid:4.67 hipGetLastError                ret= 0 (hipSuccess)>> +10750 ns
<<hip-api tid:4.68 hipDeviceSynchronize () @184719612671306
  hip-api tid:4.68 hipDeviceSynchronize           ret= 0 (hipSuccess)>> +5010 ns
<<hip-api tid:4.69 hipMemcpy (0x7fd12aefcdc0, 0x44041dd000, 4, hipMemcpyDeviceToHost) @184719612697486
  hip-api tid:4.69 hipMemcpy                      ret= 0 (hipSuccess)>> +46960 ns
<<hip-api tid:4.70 hipGetLastError () @184719612750907
  hip-api tid:4.70 hipGetLastError                ret= 0 (hipSuccess)>> +3390 ns
<<hip-api tid:4.71 hipMemcpy (0x7fd12aefcdd0, 0x44041de000, 40, hipMemcpyDeviceToHost) @184719612761937
  hip-api tid:4.71 hipMemcpy                      ret= 0 (hipSuccess)>> +25390 ns
<<hip-api tid:4.72 hipGetLastError () @184719612798797
  hip-api tid:4.72 hipGetLastError                ret= 0 (hipSuccess)>> +1980 ns
<<hip-api tid:4.73 hipModuleLaunchKernel (0x4c05da6d00, 32, 1, 1, 128, 1, 1, 0, stream:<null>, 0, 0x7fd12aefcbf0) @184719612836167
<<hip-api tid:4.73 4.73 hipLaunchKernel '_Z29cryptonight_extra_gpu_prepareiPjjjS_S_S_S_S_' gridDim:{4096,1,1} groupDim:{128,1,1} sharedMem:+0 stream:2.0 @184719612848547
  hip-api tid:4.73 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +149891 ns
<<hip-api tid:4.74 hipGetLastError () @184719612992118
  hip-api tid:4.74 hipGetLastError                ret= 0 (hipSuccess)>> +1920 ns
<<hip-api tid:4.75 hipModuleLaunchKernel (0x4c05d57000, 512, 1, 1, 64, 1, 1, 0, stream:<null>, 0, 0x7fd12aefcb00) @184719613013829
<<hip-api tid:4.75 4.75 hipLaunchKernel '_Z27cryptonight_core_gpu_phase1iiiPmPjS0_' gridDim:{32768,1,1} groupDim:{64,1,1} sharedMem:+0 stream:2.0 @184719613021219
[2018-10-23 12:12:09] accepted (2/0) diff 25000 (91 ms)
  hip-api tid:4.75 hipModuleLaunchKernel          ret= 0 (hipSuccess)>> +95807491 ns
<<hip-api tid:4.76 hipGetLastError () @184719708851840
  hip-api tid:4.76 hipGetLastError                ret= 0 (hipSuccess)>> +3420 ns
<<hip-api tid:4.77 hipModuleLaunchKernel (0x4c05d5dd00, 256, 1, 1, 16, 1, 1, 0, stream:<null>, 0, 0x7fd12aefcad0) @184719708894760
<<hip-api tid:4.77 4.77 hipLaunchKernel '_Z37cryptonight_core_gpu_phase2_monero_v8iiiPmPjS0_S0_jS0_' gridDim:{4096,1,1} groupDim:{16,1,1} sharedMem:+0 stream:2.0 @184719708908780
949f45ac commented 6 years ago

Are you still on the 4.18 kernel? You need amdgpu-pro (and hence kernel 4.15 @ Ubuntu 18.04) for good CN/2 hashrates, unfortunately.

949f45ac commented 6 years ago

As for the errors while running make, I don’t get them; might just be the compiler version. I was using gcc-7 mostly. objdump: /usr/lib/x86_64-linux-gnu/libm.a: file format not recognized I think this is the build tool calling the linker before some file has been written to disk. It’s really annoying and I always have to make twice because of it, but it should not be a problem otherwise.

shimmervoid commented 6 years ago

I'm actually running mainline 4.19 on cosmic. GCC 8.2. I'll downgrade later today when I'm next to it as i have knack for breaking kernels. Thanks again!