Hey guys, running 16.04 Ubuntu, installed AMD SDK and driver as advised in silentarmy installation instructions, successfully run the make command generating the silentarmy and sa-solver binaries, but then any time I try to run silentarmy (even just the default command without providing pool options) I get the following:
xxxx@xxxx:~/sa-nr$ ./silentarmy
Connecting to us1-zcash.flypool.org:3333
Solver 0.0: unexpected banner “OpenCL build failed (-11). Build log follows:”
Solver 0.1: unexpected banner “OpenCL build failed (-11). Build log follows:”
Stratum server sent us the first job
Mining on 1 device
And then it just hangs. I let it run for a couple of minutes to see if the CPU would do anything, but never seem to get any solves. This rig was running okay on Windows, just unstable, so I wanted to switch it over to linux. It’s currently 2x RX 470’s. Let me know if anyone else has seen this or has any ideas. I’ve already re-installed from scratch once
Edit:
It does pick up my devices:
xxx@xxx:~/sa-nr$ silentarmy --list
Devices on platform “AMD Accelerated Parallel Processing”:
ID 0: Ellesmere
ID 1: Ellesmere
ID 2: AMD FX™-6300 Six-Core Processor
I ran into something like this, and it came down to not having the correct AMD OpenCL drivers. I noticed that running sa-solver gave more informative output than just running silentarmy. Can you run ./sa-solver and post the build log lines?
Also, post the output of ./sa-solver --list or ./silentarmy --list so we can make sure it actually recognizes your video card. If the video card doesn’t show up as device 0, then you’ll need to pass the correct device into the command with the --use= option.
xxx@xxx:~/sa-nr$ ./sa-solver
Solving default all-zero 140-byte header
Building program
OpenCL build failed (-11). Build log follows:
input.cl:537:5: error: use of undeclared identifier ‘p’
p += xi_offset;
^
input.cl:538:31: error: use of undeclared identifier ‘p’
for (i = 0; i < cnt; i++, p += 32)
^
input.cl:539:45: error: use of undeclared identifier ‘p’
first_words[i] = *(__global uchar *)p;
^
3 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Hmm, if it’s predictable couldn’t that be factored in? I just like the idea of NiceHash because it takes away the need to hold the ZEC at all, and renters pay a premium