Search content
Sort by

Showing 4 of 4 results by thekev
Post
Topic
Board Mining (Altcoins)
Re: mkxminer: fast Lyra2rev2 miner for AMD GPUs (Vertcoin, Monacoin, Verge, STRAKS)
by
thekev
on 10/03/2018, 01:42:39 UTC
I'd like to be able to use this with my local node or at least one in Canada, but it keeps citing a stratum error. These are nodes that work fine in sgminer. I guess I'll have to wait for Nextminer. :/

 Pool stratum auth error: {
   "data": null,
   "code": -32601,
   "message": "Service not found"

Supposedly 3.0.1 fixed that to support p2pool, but apparently not on linux build. I haven't tried windows.
Post
Topic
Board Mining (Altcoins)
Re: mkxminer: fast Lyra2rev2 miner for AMD GPUs (Vertcoin, Monacoin, Verge, STRAKS)
by
thekev
on 24/02/2018, 20:16:29 UTC
Can someone help me please?

https://postimg.org/image/qxoy4od03/

this happens every 6 hours or less

Same. My workaround (on linux). In a screen session:
Code:
while true; do ./mkxminer -o stratum+tls://vtc.suprnova.cc:5676 -u -p -I 21 --asm | tee /tmp/mkxminer.log; sleep 5; done
And in another screen session:
Code:
while true; do ISODT=$(date --iso-8601=ns); if grep 'server reply - error 301' /tmp/mkxminer.log; then killall -9 mkxminer; mv -v /tmp/mkxminer.log /tmp/mkxminer_${ISODT}.log; else echo $ISODT; sleep 30; fi; done

Keeps it running most of the time. Seriously, this code is pretty bad. Just give up the source so we can fix it? Sigh.
Post
Topic
Board Mining (Altcoins)
Re: mkxminer: fast Lyra2rev2 miner for AMD GPUs (Vertcoin, Monacoin, Verge, STRAKS)
by
thekev
on 21/02/2018, 17:05:29 UTC
Ubuntu x64 mining from scratch step by step guide

Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libstdc++6:i386

Did this, but libOpencl.so.1 still not found. Reinstalled amdgpu-pro via its install script, but still not found.

Code:
sudo apt install libopencl1-amdgpu-pro:i386 opencl-amdgpu-pro-icd:i386 clinfo-amdgpu-pro:i386

This got it to run. However, it segfaults, but a forked process keeps running, doing nothing. Also, you need to implement something to disable extra nonce for p2pool:
Code:
$ ./mkxminer -o stratum+tcp://45.63.77.16:9181 -u /8+0.012 -p x -I 20
[09:56:20 - 0 days 00:00:00] Starting mkxminer 3.1.0...
[09:56:20 - 0 days 00:00:00] Non-standard pool: please consider using a recommended pool:
[09:56:20 - 0 days 00:00:00]   *      stratum+tls://stak.suprnova.cc:7710
[09:56:20 - 0 days 00:00:00]   *      stratum+tls://mona.suprnova.cc:3001
[09:56:21 - 0 days 00:00:00]   *      stratum+tls://vtc.suprnova.cc:5676
[09:56:21 - 0 days 00:00:00] More information: https://bitcointalk.org/index.php?topic=2360168
[09:56:21 - 0 days 00:00:00] GPU_MAX_ALLOC_PERCENT or GPU_USE_SYNC_OBJECTS environment variable is not set, performance may be worse!
[09:56:21 - 0 days 00:00:00] Connecting to stratum+tcp://45.63.77.16:9181 as /8+0.012...
[09:56:21 - 0 days 00:00:00] Difficulty set to 138.736
[09:56:22 - 0 days 00:00:01] Connected!
[09:56:23 - 0 days 00:00:02] --- Detected Platforms ---
[09:56:23 - 0 days 00:00:02] *0 AMD Accelerated Parallel Processing OpenCL 2.1 AMD-APP (2527.3)
[09:56:23 - 0 days 00:00:02] --- Detected GPUs ---
[09:56:23 - 0 days 00:00:02] GPU#0: Pitcairn
[09:56:23 - 0 days 00:00:02]
[09:56:23 - 0 days 00:00:02] Press 'q' to exit application
[09:56:23 - 0 days 00:00:02]
[1]  + 10987 segmentation fault  ./mkxminer -o stratum+tcp://45.63.77.16:9181 -u  -p x -I 20
$ echo $?
139
$                                                                                                              
[09:56:23 - 0 days 00:00:02] Pool stratum auth error: {
   "message": "Service not found"
[09:56:23 - 0 days 00:00:02] Disconnecting from stratum
[09:56:23 - 0 days 00:00:02] Difficulty set to 138.736
[09:56:25 - 0 days 00:00:05] Pool stratum auth error: {
   "message": "Service not found"
[09:56:25 - 0 days 00:00:05] Disconnecting from stratum
[09:56:33 - 0 days 00:00:12] Idle. No work from pools.
[09:56:56 - 0 days 00:00:35] Difficulty set to 102.023
[09:57:27 - 0 days 00:01:06] Difficulty set to 185.665
[09:57:29 - 0 days 00:01:08] Pool stratum auth error: {
   "message": "Service not found"
[09:57:29 - 0 days 00:01:08] Disconnecting from stratum
[09:57:59 - 0 days 00:01:38] Difficulty set to 144.004
[09:58:01 - 0 days 00:01:40] Pool stratum auth error: {
   "message": "Service not found"
[09:58:01 - 0 days 00:01:40] Disconnecting from stratum
> 0.0MH/s | Temp(C):                | | Fan: | HW: 0 | Rej: 0.0%
$
$ jobs
[1]  + segmentation fault  ./mkxminer -o stratum+tcp://45.63.77.16:9181 -u  -p x -I 20
$ fg
 > 0.0MH/s | Temp(C):                | | Fan: | HW: 0 | Rej: 0.0%
[1]  + 10987 continued  ./mkxminer -o stratum+tcp://45.63.77.16:9181 -u  -p x -I 20
\^\^C^\^C[1]  + 10987 quit (core dumped)  ./mkxminer -o stratum+tcp://45.63.77.16:9181 -u  -p x -I 20

And I can't seem to get it to run under gdb, not even with no args. It just "exits normally" with no output... do you have some debugger detection going on? Would love to be of more help, but paranoia in the way? This is a single r9-270, by the way, with amdgpu-pro version 17.50-511655.

If I use stratum+tls://vtc.suprnova.cc:5676 it does not segfault, but stratum+tcp://vtc.suprnova.cc:5678 does.

Update: If I leave it running for a while, it still segfaults eventually
Code:
[19:46:34 - 0 days 05:44:51] Accepted diff 16 share 04baae71 GPU#0 in 161ms
[19:46:36 - 0 days 05:44:53] Accepted diff 16 share 0b3c303e GPU#0 in 158ms
[19:46:46 - 0 days 05:45:03] Accepted diff 16 share 02e98493 GPU#0 in 161ms
[19:47:11 - 0 days 05:45:28] Accepted diff 16 share 0e50c72f GPU#0 in 162ms
[19:47:40 - 0 days 05:45:57] Accepted diff 16 share 0f94a123 GPU#0 in 163ms
[19:47:54 - 0 days 05:46:10] Accepted diff 16 share 0bf5efc3 GPU#0 in 163ms
[19:48:18 - 0 days 05:46:35] Can't receive server reply - error 301
[19:48:18 - 0 days 05:46:35] Disconnecting from stratum
[19:48:18 - 0 days 05:46:35] Devpool: connection interrupted
[19:48:18 - 0 days 05:46:35] Devpool: restarting...
[1]  + 23811 segmentation fault  ./mkxminer -o stratum+tls://vtc.suprnova.cc:5676 -u -p -I 21 --asm
[19:48:45 - 0 days 05:47:02] Idle. No work from pools.
[19:58:00 - 0 days 05:56:17] Can't receive server reply - error 301
[19:58:00 - 0 days 05:56:17] Disconnecting from stratum
[19:58:00 - 0 days 05:56:17] Pool: connection interrupted
[19:58:00 - 0 days 05:56:17] Pool: restarting...
[19:58:01 - 0 days 05:56:18] Difficulty set to 32
[19:58:56 - 0 days 05:57:13] Can't receive server reply - error 301
[19:58:56 - 0 days 05:57:13] Disconnecting from stratum
[19:58:56 - 0 days 05:57:13] Devpool: connection interrupted
[19:58:56 - 0 days 05:57:13] Devpool: restarting...
[20:08:31 - 0 days 06:06:47] Can't receive server reply - error 301
[20:08:31 - 0 days 06:06:47] Disconnecting from stratum
[20:08:31 - 0 days 06:06:47] Pool: connection interrupted
[20:08:31 - 0 days 06:06:47] Pool: restarting...
[20:08:31 - 0 days 06:06:48] Difficulty set to 32
[20:09:25 - 0 days 06:07:42] Can't receive server reply - error 301
Post
Topic
Board Mining (Altcoins)
Re: mkxminer: fast Lyra2rev2 miner for AMD GPUs (Vertcoin, Monacoin, Verge, STRAKS)
by
thekev
on 16/02/2018, 23:09:38 UTC

32bit compile doesnt work for me on Ubuntu 16.04.03 x86_64.

# ./mkxminer
./mkxminer: error while loading shared libraries: libOpenCL.so.1: wrong ELF class: ELFCLASS64


Code:
$ LD_LIBRARY_PATH=/opt/AMDAPPSDK-3.0/lib/x86 ./mkxminer

...but then...

Code:
[15:20:06 - 0 days 00:00:00] clGetPlatformsIDs error -1001, verify that drivers are installed properly
[15:20:06 - 0 days 00:00:00] Error: GPU devices not found
[15:20:06 - 0 days 00:00:00] Could not find any GPUs, exitting...

I have sgminer working with amdgpu-pro on the 4.4 kernel. I am pretty sure this just needs to be recompiled for 64-bit.