Author

Topic: PhoenixMiner 6.2c: fastest Ethereum/Ethash miner with lowest devfee (Win/Linux) - page 389. (Read 784958 times)

newbie
Activity: 4
Merit: 0
how to get jsonrpc with curl for this miner?
I'm trying this and it's not working

curl -X POST -H "Content-Type: application/json" -d '{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}' http://IP:3333

I didn't make it with curl but I made it with python I had to add a newline character \n at the end of the request.
like this {"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}\n


Hey Germini,
Can you post your code please?
I found one python code somewhere here, but neither with \n it does not working :/

Hi, no problem with this code you can get all the data from a claymore or phoenixminer with no problem using python. thanks to (https://github.com/pistonov/RedTools-Rig-Light)

Code:
import socket
import json

def get_data(ip, port):
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    server_address = (ip, int(port))
    try:
        sock.connect(server_address)
    except Exception as e:
        return []
    request = '{\"id\":0,\"jsonrpc\":\"2.0\",\"method\":\"miner_getstat1\"}\n'
    request = request.encode()
    try:
        sock.sendall(request)
    except Exception as e:
        return []
    try:
        data = sock.recv(512)
    except Exception as e:
        return []
    message = json.loads(data)
    sock.close()
    return message

def get_data_claymore(miner_ip, miner_port):
    hashrate_total = []
    hashrate = []
    accepted_shares = []
    invalid_shares = []
    miner_uptime = []

    data = get_data(miner_ip, miner_port)

    try:
        all = data['result'][6].split(';')
        gpu_temp = all[::2]
        gpu_fans = all[1::2]
        hashrate_total = int(data['result'][2].split(';')[0])
        hashrate = data['result'][3].split(';')
        accepted_shares = int(data['result'][2].split(';')[1])
        invalid_shares = int(data['result'][2].split(';')[2])
        miner_uptime = data['result'][1]
        return gpu_temp, gpu_fans, hashrate_total, hashrate, accepted_shares, invalid_shares, miner_uptime

    except Exception as e:
        return []

data = get_data_claymore("192.168.1.13", 3333)
print(data)

Enjoy my friend!

Thanks!! It works on Phoenix, but it doesn't on Claymore. It doesn't get the info i goes, because cannot decode JSON:
raise ValueError("No JSON object could be decoded")
hero member
Activity: 848
Merit: 500
Why miner randomly drops hashrate on cards? Tested on many different rx rigs and always same.

please be more vague. maybe with less information we can solve your problem.
Sorry PPO. Probably not question for you.
member
Activity: 367
Merit: 34
Why miner randomly drops hashrate on cards? Tested on many different rx rigs and always same.

please be more vague. maybe with less information we can solve your problem.
newbie
Activity: 20
Merit: 1
-coin moac is not an option can you add it ? or add -nofee and lower hashrate or something to mine other coin that is not in the list.
thanks
newbie
Activity: 55
Merit: 0
Rollback to 2.9e will be OK  Grin

Why miner randomly drops hashrate on cards? Tested on many different rx rigs and always same.
hero member
Activity: 848
Merit: 500
Why miner randomly drops hashrate on cards? Tested on many different rx rigs and always same.
newbie
Activity: 1
Merit: 0
Can anyone help me with this?
I had my system running «fine», and i install a fresh new win10. Everything until this happen…

Note: Only one gpu connected and showing two gpu in 1 pcie.
         2018.07.22:21:10:32.125: main GPU1: Radeon RX 560 Series (pcie 1), OpenCL 2.0, 4 GB VRAM, 16 CUs
         2018.07.22:21:10:32.125: main GPU2: Radeon RX 560 Series (pcie 1), OpenCL 2.0, 4 GB VRAM, 16 CUs



Code:
2018.07.22:21:10:31.813: main Phoenix Miner 2.9e Windows/msvc - Release
2018.07.22:21:10:31.813: main Cmd line: -pool ssl://eu1.ethermine.org:5555 -pool2 ssl://us1.ethermine.org:5555 -wal 0x008c26f3a2Ca8bdC11e5891e0278c9436B6F5d1E.Rig001
2018.07.22:21:10:31.813: main No CUDA driver found
2018.07.22:21:10:32.125: main Available GPUs for mining:
2018.07.22:21:10:32.125: main GPU1: Radeon RX 560 Series (pcie 1), OpenCL 2.0, 4 GB VRAM, 16 CUs
2018.07.22:21:10:32.125: main GPU2: Radeon RX 560 Series (pcie 1), OpenCL 2.0, 4 GB VRAM, 16 CUs
2018.07.22:21:10:32.125: main Increase the Windows page file size to at least 16 GB to avoid out of memory errors and unexpected crashes.
2018.07.22:21:10:32.136: main ADL library initialized
2018.07.22:21:10:32.838: main Listening for CDM remote manager at port 3333 in read-only mode
2018.07.22:21:10:32.839: main Eth: the pool list contains 4 pools
2018.07.22:21:10:32.839: main Eth: primary pool: ssl://eu1.ethermine.org:5555
2018.07.22:21:10:32.839: main Starting GPU mining
2018.07.22:21:10:32.839: main Matched GPU1 to ADL adapter index 0 (method 1)
2018.07.22:21:10:32.850: main GPU1: Created ADL monitor for adapter 0; overdrive version: 7
2018.07.22:21:10:32.850: main GPU1: using AMD driver ver 18.7.1
2018.07.22:21:10:32.850: main Matched GPU2 to ADL adapter index 0 (method 1)
2018.07.22:21:10:32.862: main GPU2: Created ADL monitor for adapter 0; overdrive version: 7
2018.07.22:21:10:32.862: main GPU2: using AMD driver ver 18.7.1
2018.07.22:21:10:32.882: wdog Starting watchdog thread
2018.07.22:21:10:33.553: main Eth: Connecting to ethash pool ssl://eu1.ethermine.org:5555 (proto: EthProxy)
2018.07.22:21:10:33.603: eths Eth: Connected to SSL ethash pool eu1.ethermine.org:5555 (188.165.239.100)
2018.07.22:21:10:33.683: eths Eth: Send: {"id":1,"jsonrpc":"2.0","method":"eth_submitLogin","worker":"eth1.0","params":["0x008c26f3a2Ca8bdC11e5891e0278c9436B6F5d1E.Rig001"]}

2018.07.22:21:10:33.719: eths Eth: Received: {"id":1,"jsonrpc":"2.0","result":true}
2018.07.22:21:10:33.719: eths Eth: Send: {"id":5,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

2018.07.22:21:10:33.755: eths Eth: Received: {"id":5,"jsonrpc":"2.0","result":["0xfca6177e6b4073cfe2cdc8a1c31cb3ca251956fe262080192cb49c96795d1b82","0x8308d376eeb469b7ff84bd59c51988d9618b208dc3b951d1dc1918fa08306723","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x5bbb90"]}
2018.07.22:21:10:33.755: eths Eth: New job #fca6177e from ssl://eu1.ethermine.org:5555; diff: 4000MH
2018.07.22:21:10:33.759: GPU1 GPU1: Starting up... (0)
2018.07.22:21:10:33.759: GPU1 Eth: Generating light cache for epoch #200
2018.07.22:21:10:33.770: main GPU1: 38C 0%, GPU2: 38C 0%
2018.07.22:21:10:33.771: GPU2 GPU2: Starting up... (0)
2018.07.22:21:10:34.265: eths Eth: Received: {"id":0,"jsonrpc":"2.0","result":["0x93294373b2a858314742ae6834ac99f08b4964b16319ce30818bb709305e88b5","0x8308d376eeb469b7ff84bd59c51988d9618b208dc3b951d1dc1918fa08306723","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x5bbb91"]}
2018.07.22:21:10:34.265: eths Eth: New job #93294373 from ssl://eu1.ethermine.org:5555; diff: 4000MH
2018.07.22:21:10:36.766: GPU1 GPU1: Using new optimized OpenCL kernels (device name 'Baffin')
2018.07.22:21:10:36.766: GPU1 GPU1: Allocating DAG (2.58) GB; good for epoch up to #202
2018.07.22:21:10:36.766: GPU1 GPU1: Allocating light cache buffer (41.2) MB; good for epoch up to #202
2018.07.22:21:10:36.871: GPU1 GPU1: Generating DAG for epoch #200
newbie
Activity: 10
Merit: 0
Hi guys,

My Windows got updated automatically Sad

I have updated AMD drivers to 18.5.1

Please help!!!

Have been getting this error -

Code:
17734:13:29:53.886: main Phoneix Miner 2.8c Windows/msvc - Release
17734:13:29:53.886: main Cmd line: -epool asia1.ethermine.org:4444 -ewal 0xC34CA9A45F4db78e979F5D803d2a9B457824bCF3.axe -epsw x -mode 1 -ftime 10 -wd 0
17734:13:29:53.886: main The following options are not supported and are ignored:
17734:13:29:53.886: main   -mode
17734:13:29:53.887: main No CUDA driver found
17734:13:29:56.661: main Available GPUs for mining:
17734:13:29:56.663: main GPU1: Radeon RX 580 Series (pcie 1), OpenCL 2.0, 4 GB VRAM, 36 CUs
17734:13:29:56.663: main GPU2: Radeon RX 580 Series (pcie 3), OpenCL 2.0, 4 GB VRAM, 36 CUs
17734:13:29:56.663: main GPU3: Radeon RX 580 Series (pcie 4), OpenCL 2.0, 8 GB VRAM, 36 CUs
17734:13:29:56.663: main GPU4: Radeon RX 580 Series (pcie 5), OpenCL 2.0, 4 GB VRAM, 36 CUs
17734:13:29:56.663: main GPU5: Radeon RX 580 Series (pcie 6), OpenCL 2.0, 4 GB VRAM, 36 CUs
17734:13:29:56.663: main GPU6: Radeon RX 580 Series (pcie 7), OpenCL 2.0, 4 GB VRAM, 36 CUs
17734:13:29:56.821: main ADL library initialized
17734:13:29:57.309: main Listening for CDM remote manager at port 3333 in read-only mode
17734:13:29:57.311: main Eth: the pool list contains 3 pools
17734:13:29:57.311: main Eth: primary pool: asia1.ethermine.org:4444
17734:13:29:57.311: main Starting GPU mining
17734:13:29:57.312: main Matched GPU1 to ADL adapter index 64 (method 1)
17734:13:29:57.465: main GPU1: Created ADL monitor for adapter 64; overdrive version: 7
17734:13:29:57.465: main Matched GPU2 to ADL adapter index 0 (method 1)
17734:13:29:57.618: main GPU2: Created ADL monitor for adapter 0; overdrive version: 7
17734:13:29:57.618: main Matched GPU3 to ADL adapter index 80 (method 1)
17734:13:29:57.773: main GPU3: Created ADL monitor for adapter 80; overdrive version: 7
17734:13:29:57.773: main Matched GPU4 to ADL adapter index 48 (method 1)
17734:13:29:57.928: main GPU4: Created ADL monitor for adapter 48; overdrive version: 7
17734:13:29:57.928: main Matched GPU5 to ADL adapter index 16 (method 1)
17734:13:29:58.142: main GPU5: Created ADL monitor for adapter 16; overdrive version: 7
17734:13:29:58.142: main Matched GPU6 to ADL adapter index 32 (method 1)
17734:13:29:58.297: main GPU6: Created ADL monitor for adapter 32; overdrive version: 7
17734:13:29:58.300: main Eth: Connecting to ethash pool asia1.ethermine.org:4444 (proto: EthProxy)
17734:13:29:58.420: eths Eth: Connected to ethash pool asia1.ethermine.org:4444 (54.179.172.226)
17734:13:29:58.420: eths Eth: Send: {"id":1,"jsonrpc":"2.0","method":"eth_submitLogin","worker":"eth1.0","params":["0xC34CA9A45F4db78e979F5D803d2a9B457824bCF3.axe","x"]}

17734:13:29:58.517: eths Eth: Received: {"id":1,"jsonrpc":"2.0","result":true}
17734:13:29:58.519: eths Eth: Send: {"id":5,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

17734:13:29:58.526: main GPU1: 46C 0%, GPU2: 52C 0%, GPU3: 49C 0%, GPU4: 46C 0%, GPU5: 51C 0%, GPU6: 49C 0%
17734:13:29:58.545: eths Eth: Received: {"id":0,"jsonrpc":"2.0","result":["0x575909c317345e81fa3365b667c08332ae4c0f23f98bfb37bdfe11f34a12120e","0x8308d376eeb469b7ff84bd59c51988d9618b208dc3b951d1dc1918fa08306723","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x5bafa5"]}
17734:13:29:58.546: eths Eth: New job #575909c3 from asia1.ethermine.org:4444; diff: 4000MH
17734:13:29:58.550: GPU1 GPU1: Starting up... (0)
17734:13:29:58.550: GPU1 Eth: Generating light cache for epoch #200
17734:13:29:58.577: GPU2 GPU2: Starting up... (0)
17734:13:29:58.588: GPU3 GPU3: Starting up... (0)
17734:13:29:58.608: GPU4 GPU4: Starting up... (0)
17734:13:29:58.622: GPU5 GPU5: Starting up... (0)
17734:13:29:58.635: GPU6 GPU6: Starting up... (0)
17734:13:29:58.682: eths Eth: Received: {"id":5,"jsonrpc":"2.0","result":["0x575909c317345e81fa3365b667c08332ae4c0f23f98bfb37bdfe11f34a12120e","0x8308d376eeb469b7ff84bd59c51988d9618b208dc3b951d1dc1918fa08306723","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x5bafa5"]}
17734:13:30:01.030: GPU1 GPU1: Using new optimized OpenCL kernels (device name 'Ellesmere')
17734:13:30:01.031: GPU1 GPU1: Allocating DAG (2.58) GB; good for epoch up to #202
17734:13:30:01.031: GPU1 GPU1: Allocating light cache buffer (41.2) MB; good for epoch up to #202
17734:13:30:01.134: GPU1 GPU1: Generating DAG for epoch #200
17734:13:30:01.367: GPU2 GPU2: Using new optimized OpenCL kernels (device name 'Ellesmere')
17734:13:30:01.367: GPU2 GPU2: Allocating DAG (2.58) GB; good for epoch up to #202
17734:13:30:01.367: GPU2 GPU2: Allocating light cache buffer (41.2) MB; good for epoch up to #202
17734:13:30:01.470: GPU2 GPU2: Generating DAG for epoch #200
17734:13:30:01.732: GPU3 GPU3: Using new optimized OpenCL kernels (device name 'Ellesmere')
17734:13:30:01.732: GPU3 GPU3: Allocating DAG (2.58) GB; good for epoch up to #202
17734:13:30:01.732: GPU3 GPU3: Allocating light cache buffer (41.2) MB; good for epoch up to #202
17734:13:30:01.834: GPU3 GPU3: Generating DAG for epoch #200
17734:13:30:02.096: GPU4 GPU4: Using new optimized OpenCL kernels (device name 'Ellesmere')
17734:13:30:02.096: GPU4 GPU4: Allocating DAG (2.58) GB; good for epoch up to #202
17734:13:30:02.096: GPU4 GPU4: Allocating light cache buffer (41.2) MB; good for epoch up to #202
17734:13:30:02.198: GPU4 GPU4: Generating DAG for epoch #200
17734:13:30:02.444: GPU5 GPU5: Using new optimized OpenCL kernels (device name 'Ellesmere')
17734:13:30:02.444: GPU5 GPU5: Allocating DAG (2.58) GB; good for epoch up to #202
17734:13:30:02.444: GPU5 GPU5: Allocating light cache buffer (41.2) MB; good for epoch up to #202
17734:13:30:02.561: GPU5 GPU5: Generating DAG for epoch #200
17734:13:30:02.576: GPU5 GPU5: clEnqueueNDRangeKernel (-4)
17734:13:30:02.658: GPU1 GPU1: DAG  19%
17734:13:30:02.796: GPU6 GPU6: Using new optimized OpenCL kernels (device name 'Ellesmere')
17734:13:30:02.796: GPU6 GPU6: Allocating DAG (2.58) GB; good for epoch up to #202
17734:13:30:02.796: GPU6 GPU6: Allocating light cache buffer (41.2) MB; good for epoch up to #202
17734:13:30:02.899: GPU6 GPU6: Generating DAG for epoch #200
17734:13:30:02.901: GPU6 GPU6: clEnqueueNDRangeKernel (-4)
17734:13:30:03.303: GPU2 GPU2: DAG  25%
17734:13:30:03.352: main Eth speed: 0.000 MH/s, shares: 0/0/0, time: 0:00
17734:13:30:03.352: main GPUs: 1: 0.000 MH/s (0) 2: 0.000 MH/s (0) 3: 0.000 MH/s (0) 4: 0.000 MH/s (0) 5: 0.000 MH/s (0) 6: 0.000 MH/s (0)
17734:13:30:03.556: GPU3 GPU3: DAG  31%
17734:13:30:03.708: GPU4 GPU4: DAG  19%
17734:13:30:04.476: GPU1 GPU1: DAG  50%
17734:13:30:05.136: GPU3 GPU3: DAG  63%
17734:13:30:05.143: GPU2 GPU2: DAG  56%
17734:13:30:05.548: GPU4 GPU4: DAG  50%
17734:13:30:06.293: GPU1 GPU1: DAG  81%
17734:13:30:06.655: GPU2 GPU2: DAG  81%
17734:13:30:06.710: GPU3 GPU3: DAG  94%
17734:13:30:07.026: GPU3 GPU3: DAG generated in 5.2 s (505.6 MB/s)
17734:13:30:07.358: GPU4 GPU4: DAG  81%
17734:13:30:07.384: GPU1 GPU1: DAG generated in 6.2 s (419.9 MB/s)
17734:13:30:07.843: GPU2 GPU2: DAG generated in 6.4 s (411.8 MB/s)
17734:13:30:08.422: eths Eth: Send: {"id":5,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

17734:13:30:08.448: GPU4 GPU4: DAG generated in 6.2 s (419.9 MB/s)
17734:13:30:08.515: eths Eth: Received: {"id":5,"jsonrpc":"2.0","result":["0x575909c317345e81fa3365b667c08332ae4c0f23f98bfb37bdfe11f34a12120e","0x8308d376eeb469b7ff84bd59c51988d9618b208dc3b951d1dc1918fa08306723","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x5bafa5"]}
17734:13:30:08.740: main Eth speed: 0.000 MH/s, shares: 0/0/0, time: 0:00
17734:13:30:08.740: main GPUs: 1: 0.000 MH/s (0) 2: 0.000 MH/s (0) 3: 0.000 MH/s (0) 4: 0.000 MH/s (0) 5: 0.000 MH/s (0) 6: 0.000 MH/s (0)
17734:13:30:13.824: main Eth speed: 108.972 MH/s, shares: 0/0/0, time: 0:00
17734:13:30:13.824: main GPUs: 1: 26.156 MH/s (0) 2: 25.317 MH/s (0) 3: 31.333 MH/s (0) 4: 26.166 MH/s (0) 5: 0.000 MH/s (0) 6: 0.000 MH/s (0)
17734:13:30:18.431: eths Eth: Send: {"id":5,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

17734:13:30:18.431: eths Eth: Send: {"id":6,"jsonrpc":"2.0","method":"eth_submitHashrate","params":["0x0","0xc59c41a63f0da14970841cb14114f89d6f9be1a688a8a337f8b42638ec7e61eb"]}

17734:13:30:18.531: eths Eth: Received: {"id":5,"jsonrpc":"2.0","result":["0x575909c317345e81fa3365b667c08332ae4c0f23f98bfb37bdfe11f34a12120e","0x8308d376eeb469b7ff84bd59c51988d9618b208dc3b951d1dc1918fa08306723","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x5bafa5"]}
17734:13:30:18.535: eths Eth: Received: {"id":6,"jsonrpc":"2.0","result":true}
17734:13:30:18.978: main Eth speed: 112.757 MH/s, shares: 0/0/0, time: 0:00
17734:13:30:18.978: main GPUs: 1: 27.016 MH/s (0) 2: 26.699 MH/s (0) 3: 31.710 MH/s (0) 4: 27.331 MH/s (0) 5: 0.000 MH/s (0) 6: 0.000 MH/s (0)
17734:13:30:24.055: main Eth speed: 116.519 MH/s, shares: 0/0/0, time: 0:00
17734:13:30:24.055: main GPUs: 1: 28.089 MH/s (0) 2: 27.942 MH/s (0) 3: 32.104 MH/s (0) 4: 28.384 MH/s (0) 5: 0.000 MH/s (0) 6: 0.000 MH/s (0)
17734:13:30:24.477: eths Eth: Received: {"id":0,"jsonrpc":"2.0","result":["0x1c69d6dd774d17b466970cb1ac8380e45293155345de1655d8671de47a8947ff","0x8308d376eeb469b7ff84bd59c51988d9618b208dc3b951d1dc1918fa08306723","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x5bafa6"]}
17734:13:30:24.477: eths Eth: New job #1c69d6dd from asia1.ethermine.org:4444; diff: 4000MH
17734:13:30:24.508: GPU5 GPU5: Starting up... (0)
17734:13:30:24.539: GPU6 GPU6: Starting up... (0)
17734:13:30:24.561: GPU5 GPU5: Using new optimized OpenCL kernels (device name 'Ellesmere')
17734:13:30:24.561: GPU5 GPU5: Allocating DAG (2.58) GB; good for epoch up to #202
17734:13:30:24.561: GPU5 GPU5: Allocating light cache buffer (41.2) MB; good for epoch up to #202
17734:13:30:24.673: GPU5 GPU5: Generating DAG for epoch #200
17734:13:30:24.675: GPU5 GPU5: clEnqueueNDRangeKernel (-4)
newbie
Activity: 54
Merit: 0
Good miner, but I have problems to launch it with R9 290. Miner is always crashing. If compare with Claymore this miner has increase of  speed about 1% and less fee. But Claymore, in my opinion is more stable.

did you overclock?
newbie
Activity: 65
Merit: 0
Funny thing :

- if I mine Akroma, my cards are hashing around 31.7-8 each
- if I switch to ETH, one of my cards goes to 17.6MH/s and stays like that, no matter how many hours it mines it just doesn't go up

What may be causing this dumb issue? Do you guys have any idea? I have also seen that when I switch to ETH, the other cards' hashrate goes down with 0.5 to 1 MH/s...

Check that you have compute mode on

Thanks 4ward! I don't know why and how, but my GPU was in graphics mode, instead of compute mode. Now they are all running as supposed to! Thanks.
newbie
Activity: 5
Merit: 0
newbie
Activity: 48
Merit: 0
Funny thing :

- if I mine Akroma, my cards are hashing around 31.7-8 each
- if I switch to ETH, one of my cards goes to 17.6MH/s and stays like that, no matter how many hours it mines it just doesn't go up

What may be causing this dumb issue? Do you guys have any idea? I have also seen that when I switch to ETH, the other cards' hashrate goes down with 0.5 to 1 MH/s...
Maybe not enough swap file or RAM, likely Akroma have epoch where memory consumption of the card is much smaller than ETH.
member
Activity: 473
Merit: 18
Funny thing :

- if I mine Akroma, my cards are hashing around 31.7-8 each
- if I switch to ETH, one of my cards goes to 17.6MH/s and stays like that, no matter how many hours it mines it just doesn't go up

What may be causing this dumb issue? Do you guys have any idea? I have also seen that when I switch to ETH, the other cards' hashrate goes down with 0.5 to 1 MH/s...

Check that you have compute mode on
newbie
Activity: 65
Merit: 0
Funny thing :

- if I mine Akroma, my cards are hashing around 31.7-8 each
- if I switch to ETH, one of my cards goes to 17.6MH/s and stays like that, no matter how many hours it mines it just doesn't go up

What may be causing this dumb issue? Do you guys have any idea? I have also seen that when I switch to ETH, the other cards' hashrate goes down with 0.5 to 1 MH/s...
newbie
Activity: 2
Merit: 0
newbie
Activity: 20
Merit: 1
how to get jsonrpc with curl for this miner?
I'm trying this and it's not working

curl -X POST -H "Content-Type: application/json" -d '{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}' http://IP:3333

I didn't make it with curl but I made it with python I had to add a newline character \n at the end of the request.
like this {"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}\n


Hey Germini,
Can you post your code please?
I found one python code somewhere here, but neither with \n it does not working :/

Hi, no problem with this code you can get all the data from a claymore or phoenixminer with no problem using python. thanks to (https://github.com/pistonov/RedTools-Rig-Light)

Code:
import socket
import json

def get_data(ip, port):
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    server_address = (ip, int(port))
    try:
        sock.connect(server_address)
    except Exception as e:
        return []
    request = '{\"id\":0,\"jsonrpc\":\"2.0\",\"method\":\"miner_getstat1\"}\n'
    request = request.encode()
    try:
        sock.sendall(request)
    except Exception as e:
        return []
    try:
        data = sock.recv(512)
    except Exception as e:
        return []
    message = json.loads(data)
    sock.close()
    return message

def get_data_claymore(miner_ip, miner_port):
    hashrate_total = []
    hashrate = []
    accepted_shares = []
    invalid_shares = []
    miner_uptime = []

    data = get_data(miner_ip, miner_port)

    try:
        all = data['result'][6].split(';')
        gpu_temp = all[::2]
        gpu_fans = all[1::2]
        hashrate_total = int(data['result'][2].split(';')[0])
        hashrate = data['result'][3].split(';')
        accepted_shares = int(data['result'][2].split(';')[1])
        invalid_shares = int(data['result'][2].split(';')[2])
        miner_uptime = data['result'][1]
        return gpu_temp, gpu_fans, hashrate_total, hashrate, accepted_shares, invalid_shares, miner_uptime

    except Exception as e:
        return []

data = get_data_claymore("192.168.1.13", 3333)
print(data)

Enjoy my friend!
member
Activity: 620
Merit: 21
Good miner, but I have problems to launch it with R9 290. Miner is always crashing. If compare with Claymore this miner has increase of  speed about 1% and less fee. But Claymore, in my opinion is more stable.
newbie
Activity: 23
Merit: 0
From https://bitcointalksearch.org/topic/0-hashrate-on-16-rx-580-nitro-gpu-breaks-whole-rig-4547448

...

I got some screenshots here showing the randomness of this weird problem.
In the first Screenshot i am on stock bios and Only 2 gpus generate dag and hash, while on the next 2 screenshots i am on modded bios for mining, here all 6 gpus generate dag and hash.
Thing is it is random, it can happen in reverse aswell, or other times only 3 gpus don't hash or only 1.It has no specfic rule.It is random.

Here it is the first screenshot on stock bios with 4 gpus not generating DAG and hashing with 0.All 6 GPUS are starting up but only 2 generate DAG, so 4 GPUS will hash with 0.

https://imgur.com/a/YBVqiRC

Second pair of screenshots.This is after restart and switching to moded bios.All 6 Gpus start up and all generate dag successfully.

https://imgur.com/a/fUIUHfv

Halp please !
Jump to: