Giter VIP home page Giter VIP logo

Comments (16)

fireice-uk avatar fireice-uk commented on May 18, 2024

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.

from xmr-stak-amd.

gsedej avatar gsedej commented on May 18, 2024

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)

from xmr-stak-amd.

gstoner avatar gstoner commented on May 18, 2024

We are going to look into this and get back to you guys on what is going on.

from xmr-stak-amd.

gstoner avatar gstoner commented on May 18, 2024

@gsedej We are close to releasing ROCm 1.6 with new update to OpenCL runtime and compiler, we check it against this release

from xmr-stak-amd.

psychocrypt avatar psychocrypt commented on May 18, 2024

is #48 solving this issue?

from xmr-stak-amd.

gsedej avatar gsedej commented on May 18, 2024

Please wait for ROCm 1.6 to be released, so I can report if it works.

from xmr-stak-amd.

gstoner avatar gstoner commented on May 18, 2024

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

[2017-09-04 17:12:58] : Compiling code and initializing GPUs. This will take a while...
[2017-09-04 17:13:10] : Device 0 work size 8 / 256.
[2017-09-04 17:13:17] : Device 1 work size 8 / 256.
[2017-09-04 17:13:24] : Device 2 work size 8 / 256.
[2017-09-04 17:13:32] : Device 3 work size 8 / 256.
[2017-09-04 17:13:39] : Device 4 work size 8 / 256.
[2017-09-04 17:13:46] : Device 5 work size 8 / 256.

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 %

You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection

[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

from xmr-stak-amd.

kwaaak avatar kwaaak commented on May 18, 2024

You can run it with the donation address:
4581HhZkQHgZrZjKeCfCJxZff9E3xCgHGF25zABZz7oR71TnbbgiS7sK9jveE6Dx6uMs2LwszDuvQJgRZQotdpHt1fTdDhk

from xmr-stak-amd.

gsedej avatar gsedej commented on May 18, 2024

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

from xmr-stak-amd.

fireice-uk avatar fireice-uk commented on May 18, 2024

@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.

from xmr-stak-amd.

gstoner avatar gstoner commented on May 18, 2024

We have it running now internally.

With the given wallet address, app is running.

[2017-09-05 15:16:00] : Compiling code and initializing GPUs. This will take a while...
[2017-09-05 15:16:04] : Device 0 work size 8 / 256.
[2017-09-05 15:16:10] : Device 1 work size 8 / 256.
[2017-09-05 15:16:15] : Device 2 work size 8 / 256.
[2017-09-05 15:16:21] : Device 3 work size 8 / 256.
[2017-09-05 15:16:26] : Device 4 work size 8 / 256.
[2017-09-05 15:16:32] : Device 5 work size 8 / 256.

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 %

You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection

[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.

from xmr-stak-amd.

rhlug avatar rhlug commented on May 18, 2024

@gstoner please share how you got it to compile. what clang / llvm versions, etc.

from xmr-stak-amd.

gstoner avatar gstoner commented on May 18, 2024

@rhlug it is based on a new version of OpenCL we are working on.

from xmr-stak-amd.

MoneroCrusher avatar MoneroCrusher commented on May 18, 2024

@gstoner Thanks for your efforts!
when will it be released? Can't wait to start mining :-)

from xmr-stak-amd.

MoneroCrusher avatar MoneroCrusher commented on May 18, 2024

Can you share a kind of "beta" with us miners so we dont have to wait anymore?

from xmr-stak-amd.

MoneroCrusher avatar MoneroCrusher commented on May 18, 2024

btw @gstoner did you run the above with a Vega GPU or another one?

from xmr-stak-amd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.