Open gsedej opened 7 years ago
I personally never got the open source drivers to work. There are some reports, but then again some people report seeing Elvis. Using AMD's drivers is the only way afaik - but if you do manage to get it working on foss drivers, please post the steps.
As seen in clinfo
it is the AMD-APP opencl driver. It's in the phase of releasing the source code - should be same. The "Clover" is the fully open source and does not share code with AMD-APP.
I can mine with cpp-etheminer using this exact driver. Also other apps are working. Any idea where could I check for error? Googling didnt help. Should I report to driver (https://github.com/RadeonOpenCompute/ROCm)
We are going to look into this and get back to you guys on what is going on.
@gsedej We are close to releasing ROCm 1.6 with new update to OpenCL runtime and compiler, we check it against this release
is #48 solving this issue?
Please wait for ROCm 1.6 to be released, so I can report if it works.
Yes, we now have compilation successful and starts with ROCm1.6.3 aka 1.6-148 currently posted at repo.rocm.com
Can you guys run it since we do not have wallet
xmr-stak-amd 1.1.0-1.4.0 mining software, AMD Version. AMD mining code was written by wolf9466. Brought to you by fireice_uk under GPLv3.
Configurable dev donation level is set to 1.0 %
[2017-09-04 17:13:53] : Starting GPU thread, no affinity. [2017-09-04 17:13:53] : Starting GPU thread, no affinity. [2017-09-04 17:13:53] : Starting GPU thread, no affinity. [2017-09-04 17:13:53] : Starting GPU thread, no affinity. [2017-09-04 17:13:53] : Starting GPU thread, no affinity. [2017-09-04 17:13:53] : Starting GPU thread, no affinity. [2017-09-04 17:13:53] : Connecting to pool pool.supportxmr.com:3333 ... [2017-09-04 17:13:54] : Connected. Logging in... [2017-09-04 17:13:54] : SOCKET ERROR - No login/password specified [2017-09-04 17:13:54] : SOCKET ERROR - RECEIVE error: socket closed [2017-09-04 17:13:54] : Pool connection lost. Waiting 10 s before retry (attempt 1). [2017-09-04 17:14:04] : Connecting to pool pool.supportxmr.com:3333 ... [2017-09-04 17:14:04] : Connected. Logging in... [2017-09-04 17:14:04] : SOCKET ERROR - No login/password specified [2017-09-04 17:14:04] : SOCKET ERROR - RECEIVE error: socket closed
You can run it with the donation address: 4581HhZkQHgZrZjKeCfCJxZff9E3xCgHGF25zABZz7oR71TnbbgiS7sK9jveE6Dx6uMs2LwszDuvQJgRZQotdpHt1fTdDhk
Still the same for me (rocm 1.6-148, RX 480)
$ ./xmr-stak-amd
[2017-09-05 12:24:27] : Compiling code and initializing GPUs. This will take a while...
[2017-09-05 12:24:27] : Device 0 work size 8 / 256.
clang version 4.0
Target: amdgcn-amd-amdhsa-opencl
Thread model: posix
InstalledDir: /opt/rocm/opencl/bin/x86_64
[2017-09-05 12:24:29] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
Build log:
warning: argument unused during compilation: '-I .'
error: unable to execute command: Segmentation fault (core dumped)
error: clang frontend command failed due to signal (use -v to see invocation)
note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
/opt/rocm/opencl/bin/x86_64/clang[0x223cbca]
/opt/rocm/opencl/bin/x86_64/clang[0x223af5e]
/opt/rocm/opencl/bin/x86_64/clang[0x223b0b0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fcf56d26390]
/opt/rocm/opencl/bin/x86_64/clang[0x1448e94]
/opt/rocm/opencl/bin/x86_64/clang[0x1429b81]
/opt/rocm/opencl/bin/x86_64/clang[0x17d2677]
/opt/rocm/opencl/bin/x86_64/clang[0x218586a]
/opt/rocm/opencl/bin/x86_64/clang[0x2185903]
/opt/rocm/opencl/bin/x86_64/clang[0x21862ff]
/opt/rocm/opencl/bin/x86_64/clang[0x58f356]
/opt/rocm/opencl/bin/x86_64/clang[0x5917d3]
/opt/rocm/opencl/bin/x86_64/clang[0x56da79]
/opt/rocm/opencl/bin/x86_64/clang[0x90093e]
/opt/rocm/opencl/bin/x86_64/clang[0x8d345d]
/opt/rocm/opencl/bin/x86_64/clang[0x568e5d]
/opt/rocm/opencl/bin/x86_64/clang[0x565dc8]
/opt/rocm/opencl/bin/x86_64/clang[0x5189d9]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fcf5696b830]
/opt/rocm/opencl/bin/x86_64/clang[0x55fde1]
Stack dump:
0. Program arguments: /opt/rocm/opencl/bin/x86_64/clang -cc1 -triple amdgcn-amd-amdhsa-opencl -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name t_3806_43.bc -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu fiji -dwarf-column-info -debugger-tuning=gdb -resource-dir /opt/rocm/opencl/bin/lib/clang/4.0 -O3 -fdebug-compilation-dir /home/gsedej/git/xmr-stak-amd/bin -ferror-limit 19 -fmessage-length 135 -cl-kernel-arg-info -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -mllvm -amdgpu-internalize-symbols -mllvm -amdgpu-early-inline-all -o /tmp/t_3806_43-eb0160.o -x ir /tmp/AMD_3806_30/t_3806_43.bc
1. Code generation
2. Running pass 'Function Pass Manager' on module '/tmp/AMD_3806_30/t_3806_43.bc'.
3. Running pass 'SI Fix SGPR copies' on function '@cn0'
Error: Creating the executable failed: Compiling LLVM IRs to executable
There are no temporary files (/tmp/...) mention in output
@gstoner some pools require you to set a password (usually it is used for the rig id), please make sure that your pool_password is not empty.
We have it running now internally.
With the given wallet address, app is running.
xmr-stak-amd 1.1.0-1.4.0 mining software, AMD Version. AMD mining code was written by wolf9466. Brought to you by fireice_uk under GPLv3.
Configurable dev donation level is set to 1.0 %
[2017-09-05 15:16:37] : Starting GPU thread, no affinity. [2017-09-05 15:16:37] : Starting GPU thread, no affinity. [2017-09-05 15:16:37] : Starting GPU thread, no affinity. [2017-09-05 15:16:37] : Starting GPU thread, no affinity. [2017-09-05 15:16:37] : Starting GPU thread, no affinity. [2017-09-05 15:16:37] : Starting GPU thread, no affinity. [2017-09-05 15:16:37] : Connecting to pool pool.supportxmr.com:3333 ... [2017-09-05 15:16:38] : Connected. Logging in... [2017-09-05 15:16:38] : Difficulty changed. Now: 1000. [2017-09-05 15:16:38] : New block detected. [2017-09-05 15:16:39] : Result accepted by the pool. [2017-09-05 15:16:40] : Result accepted by the pool. [2017-09-05 15:16:40] : Result accepted by the pool. [2017-09-05 15:16:40] : Result accepted by the pool. [2017-09-05 15:16:40] : Result accepted by the pool. [2017-09-05 15:16:41] : Result accepted by the pool. [2017-09-05 15:16:41] : Result accepted by the pool. [2017-09-05 15:16:41] : Result accepted by the pool. [2017-09-05 15:16:41] : Result accepted by the pool. [2017-09-05 15:16:42] : Result accepted by the pool. [2017-09-05 15:16:42] : Result accepted by the pool. [2017-09-05 15:16:42] : Result accepted by the pool. [2017-09-05 15:16:42] : Result accepted by the pool. [2017-09-05 15:16:43] : Result accepted by the pool. [2017-09-05 15:16:44] : Result accepted by the pool. [2017-09-05 15:16:44] : Result accepted by the pool. [2017-09-05 15:16:44] : Result accepted by the pool. [2017-09-05 15:16:44] : Result accepted by the pool. [2017-09-05 15:16:44] : Result accepted by the pool. [2017-09-05 15:16:45] : Result accepted by the pool. [2017-09-05 15:16:45] : Result accepted by the pool. [2017-09-05 15:16:45] : Result accepted by the pool. [2017-09-05 15:16:45] : Result accepted by the pool. [2017-09-05 15:16:45] : Result accepted by the pool. [2017-09-05 15:16:46] : Result accepted by the pool. [2017-09-05 15:16:46] : Result accepted by the pool. [2017-09-05 15:16:46] : Result accepted by the pool. [2017-09-05 15:16:46] : Result accepted by the pool. [2017-09-05 15:16:47] : Result accepted by the pool. [2017-09-05 15:16:47] : Result accepted by the pool. [2017-09-05 15:16:47] : Result accepted by the pool. [2017-09-05 15:16:47] : Result accepted by the pool. [2017-09-05 15:16:47] : Result accepted by the pool. [2017-09-05 15:16:48] : Result accepted by the pool. [2017-09-05 15:16:48] : Result accepted by the pool. [2017-09-05 15:16:48] : Result accepted by the pool. [2017-09-05 15:16:48] : Result accepted by the pool. [2017-09-05 15:16:49] : Result accepted by the pool. [2017-09-05 15:16:49] : Result accepted by the pool. [2017-09-05 15:16:49] : Result accepted by the pool. [2017-09-05 15:16:49] : Result accepted by the pool. [2017-09-05 15:16:50] : Result accepted by the pool. [2017-09-05 15:16:50] : Result accepted by the pool. [2017-09-05 15:16:50] : Result accepted by the pool. [2017-09-05 15:16:50] : Result accepted by the pool. [2017-09-05 15:16:50] : Result accepted by the pool. [2017-09-05 15:16:51] : Result accepted by the pool. [2017-09-05 15:16:51] : Result accepted by the pool. [2017-09-05 15:16:51] : Result accepted by the pool. [2017-09-05 15:16:51] : Result accepted by the pool. [2017-09-05 15:16:52] : Result accepted by the pool. [2017-09-05 15:16:52] : Result accepted by the pool. [2017-09-05 15:16:53] : Result accepted by the pool. [2017-09-05 15:16:53] : Result accepted by the pool. [2017-09-05 15:16:53] : Result accepted by the pool.
@gstoner please share how you got it to compile. what clang / llvm versions, etc.
@rhlug it is based on a new version of OpenCL we are working on.
@gstoner Thanks for your efforts! when will it be released? Can't wait to start mining :-)
Can you share a kind of "beta" with us miners so we dont have to wait anymore?
btw @gstoner did you run the above with a Vega GPU or another one?
Hello, I compiled xmr-stak-amd but when running i always get some errors. It might be driver bug. Using "ROCm" partialy opensource driver, but opencl should be AMD-APP
config. I did try chanign settings but always same error
here is the full log
clinfo