Jump to content
DarkClaw

Radeon VII Neoscrypt Hashrate

Recommended Posts

I am thinking of getting a Radeon VII for other reasons but could mine Xaya a bit with it as well. I looked around the forum and am still not sure about the current status of AMD mining. Is there even a working AMD miner for xaya at this point?

Is anyone mining with a Radeon VII yet? If so, could you tell me what hashrate you get?

Share this post


Link to post
Share on other sites

No workable AMD miner yet, the bounty still pending someone to collect. 

Also Andy already help to ping the Claymore for NeoScrypt AMD GPU Miner update, but seems he is offline for a few month.

image.png.814922e9a945389ad8f33f21e0cadbb1.png

=================================================================================================

XAYA Core Bounties :

AMDMining Software:

build nsgminer for windows > 2000 CHI - https://github.com/xaya/nsgminer

 

 

Share this post


Link to post
Share on other sites

Here is my AMD vaga setup, would happly if we get AMD miner sort。

 

Share this post


Link to post
Share on other sites
9 minutes ago, sorji said:

No workable AMD miner yet, the bounty still pending someone to collect. 

Also Andy already help to ping the Claymore for NeoScrypt AMD GPU Miner update, but seems he is offline for a few month.

image.png.814922e9a945389ad8f33f21e0cadbb1.png

=================================================================================================

XAYA Core Bounties :

AMDMining Software:

build nsgminer for windows > 2000 CHI - https://github.com/xaya/nsgminer

Thanks. Have you tried nsgminer on linux?

Share this post


Link to post
Share on other sites

notyet, they are setup with windows and i put them at oldhouse hundred miles away with remote control。 so i need windows build for testing。

Share this post


Link to post
Share on other sites
Posted (edited)
9 minutes ago, sorji said:

notyet, they are setup with windows and i put them at oldhouse hundred miles away with remote control。 so i need windows build for testing。

I have a RX580 I could try, but I have an issue with the first step. The nsgminer readme says I need to install AMD APP SDK, but the page is dead:

Quote

To build with GPU mining support:

Install AMD APP sdk, ideal version (see FAQ!) - put it into a system location.
Download the correct version for either 32 bit or 64 bit from here:
	http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/

https://github.com/xaya/nsgminer

Edited by DarkClaw

Share this post


Link to post
Share on other sites
Posted (edited)
6 minutes ago, DarkClaw said:

I have a RX580 I could try, but I have an issue with the first step. The nsgminer readme says I need to install AMD APP SDK, but the page is dead:

https://github.com/xaya/nsgminer

i have no idea to build the miner. i check with the nsgminer dev, he give me feedback as below:

Reply with quote  #646

@ghostlander can u share the instructions file for windows build:

Native WIN32 build instructions: see windows-build.txt

They were obsolete, so I removed them. There is nothing special for MinGW. Have never tried MSVC with it.
Edited by sorji

Share this post


Link to post
Share on other sites
Posted (edited)

I think I got it working in general. Installed like this:

# Download newest drivers from AMD
# https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580
# Instructions: https://www.amd.com/en/support/kb/release-notes/amdgpu-installation
cd ~/Downloads
tar -Jxvf amdgpu-pro-18.50-725072-ubuntu-18.04.tar.xz
cd ~/Downloads/amdgpu-pro-18.50-725072-ubuntu-18.04

# For linux mint I got an "Unsupported OS" error
# To fix: Manually change "ubuntu" to "linuxmint" in the just unzipped amdgpu-pro-install file
# https://community.amd.com/thread/220723
./amdgpu-pro-install -y --opencl=legacy,pal
# Reboot now

# Install nsgminer
sudo apt-get install libcurl4-gnutls-dev 
sudo apt-get install libtool 

cd ~/
git clone https://github.com/xaya/nsgminer
cd ~/nsgminer
./autogen.sh
# ./configure  # already run by autogen.sh
make
sudo make install

 

My nsgminer terminal looks like the attached pic (couldn't copy/paste). Meanwhile my xayad terminal looks like this:

2019-03-10T15:07:47Z UpdateTip: new best=9714d6e0128fa2c8300ca68b3c443e75a2cbd434ba2757c6cfe66b887f452f0c height=659106 version=0x20000000 log2_work=84.887458 tx=722553 date='2019-03-10T15:07:35Z' progress=0.999999 cache=0.1MiB(529txo)
2019-03-10T15:08:24Z UpdateTip: new best=64250549563bb9d3abb3fa931a8b92dfb64f8043529b4503f272fdc5e669f112 height=659107 version=0x20000000 log2_work=84.88747 tx=722554 date='2019-03-10T15:07:47Z' progress=0.999998 cache=0.1MiB(530txo)
2019-03-10T15:09:17Z CreateNewBlock(): block weight: 1152 txs: 0 fees: 0 sigops 400
2019-03-10T15:09:17Z [default wallet] keypool reserve 5
2019-03-10T15:09:17Z CreateNewBlock(): block weight: 1288 txs: 0 fees: 0 sigops 400
2019-03-10T15:09:17Z [default wallet] keypool return 5
2019-03-10T15:09:17Z [default wallet] keypool reserve 5
2019-03-10T15:09:17Z [default wallet] keypool return 5
2019-03-10T15:09:17Z [default wallet] keypool reserve 5
2019-03-10T15:09:17Z [default wallet] keypool return 5
2019-03-10T15:09:17Z [default wallet] keypool reserve 5
2019-03-10T15:09:17Z [default wallet] keypool return 5
2019-03-10T15:09:19Z UpdateTip: new best=3b5411d8147333c25432fa57a6c54781b9f59fc4ceb99e9e15cbe474dc4675d2 height=659108 version=0x20000000 log2_work=84.88747 tx=722555 date='2019-03-10T15:08:24Z' progress=0.999997 cache=0.1MiB(531txo)
2019-03-10T15:09:49Z UpdateTip: new best=f43e3afd7bb35649be8430c48a24415fc378d903d9577637a674bf5580965657 height=659109 version=0x20000000 log2_work=84.88748 tx=722556 date='2019-03-10T15:09:19Z' progress=0.999998 cache=0.1MiB(532txo)

 

After I quit I see:

xxx@xxx:~/nsgminer$ nsgminer -o http://127.0.0.1:8396 -u __cookie__ -p pass -I d
[10:04:23] 
Summary of runtime statistics:
                    
[10:04:23] Started at [2019-03-10 16:00:25]                    
[10:04:23] Pool: http://127.0.0.1:8396                    
[10:04:23] Run time: 0 hrs 3 mins 58 secs                    
[10:04:23] Average hash rate: 0.0414 MH/s                    
[10:04:23] Solved blocks: 0                    
[10:04:23] Best share difficulty: 0                    
[10:04:23] Queued work requests: 9                    
[10:04:23] Share submissions: 0                    
[10:04:23] Accepted shares: 0                    
[10:04:23] Rejected shares: 0                    
[10:04:23] Accepted diff1 shares: 0                    
[10:04:23] Rejected diff1 shares: 0                    
[10:04:23] Hardware errors: 0                    
[10:04:23] Efficiency (accepted shares * difficulty / 2 KB): 0.00                    
[10:04:23] Utility (accepted shares / min): 0.00/min                    
[10:04:23] Work Utility (diff1 shares accepted / min): 0.00/min
                    
[10:04:23] Discarded work due to new blocks: 2                    
[10:04:23] Stale submissions discarded due to new blocks: 0                    
[10:04:23] Unable to get work from server occasions: 0                    
[10:04:23] Work items generated locally: 0                    
[10:04:23] Submitting work remotely delay occasions: 0                    
[10:04:23] New blocks detected on network: 0
                    
[10:04:23] Summary of per device statistics:
                    
[10:04:23] OCL0                | 5s:  0.0 avg: 41.4 u:  0.0 KH/s | A:0 R:0 HW:0 WU:0.0/m      

So it seems to have worked (I also see my GPU temp and fan speed rise), besides the very low hashrate (~ 40 KH/s). However, if I try to set a payout address I get an error:

xxx@xxx:~/nsgminer$ nsgminer -o http://127.0.0.1:8396 -u __cookie__ -p pass -I d \
> --coinbase-addr CPGJL8bFpa6UU8xJk6N6qQ9tqty621whcU \
> --coinbase-sig "rig 1"
[2019-03-10 10:06:59] nsgminer: --coinbase-addr: Invalid address    

 

I see that error message is issued here in nsgminer/miner.c:

#if BLKMAKER_VERSION > 1
static char *set_b58addr(const char *arg, struct _cbscript_t *p)
{
	size_t scriptsz = blkmk_address_to_script(NULL, 0, arg);
	if (!scriptsz)
		return "Invalid address";
	char *script = malloc(scriptsz);
	if (blkmk_address_to_script(script, scriptsz, arg) != scriptsz) {
		free(script);
		return "Failed to convert address to script";
	}
	p->data = script;
	p->sz = scriptsz;
	return NULL;
}
#endif

Then blkmk_address_to_script has different cases for various coins (feathercoin, Ufocoin, etc).

Any ideas?

nsgminer.png

Edited by DarkClaw

Share this post


Link to post
Share on other sites
Posted (edited)

Ok, when I changed the intensity to 15 the hashrate increased to something more reasonable:

Quote

Average hash rate: 0.4752 MH/s

I could do more but also have monitors hooked up to this gpu. So I think it could work if the error setting a payout address is dealt with. I am not sure what would happen if I got a block solomining with no payout address...

Edited by DarkClaw

Share this post


Link to post
Share on other sites
Posted (edited)
46 minutes ago, sorji said:

do u use the modified version by domob,  it should be work at BSOD. but still need test and verify.

https://github.com/xaya/nsgminer/tree/xayaswab

Thanks. No, I hadn't tried that. But now that I did I get the same error:

xxx@xxx:~/nsgminer$ nsgminer -o http://127.0.0.1:8396 \
> -u __cookie__ -p pass \
> -I 15 \
> --neoscrypt \
> --xaya-byteswap \
> --coinbase-addr CPGJL8bFpa6UU8xJk6N6qQ9tqty621whcU \
> --coinbase-sig "rig 1"
[2019-03-10 20:58:56] nsgminer: --coinbase-addr: Invalid address   

I am on the latest version:

xxx@xxx:~/nsgminer$ git log -1
commit ddf1bb089df357f9842415b6a91d6818988b1415 (HEAD -> xayaswab, origin/xayaswab)
Author: Daniel Kraft <d@domob.eu>
Date:   Mon Jan 28 15:11:51 2019 +0100

    Add new option --xaya-byteswap.
    
    Add a new option --xaya-byteswap.  Together with --neoscrypt algorithm
    selection, this enables Xaya's variant of NeoScrypt.
xxx@xxx:~/nsgminer$ nsgminer -help
nsgminer 0.9.4
Built with the GPU mining support.
Usage: nsgminer [-DdGEgIKklmpxPQqsTouvwOchnV] 
Options for both config file and command line:
--neoscrypt         Use the NeoScrypt algorithm for mining
--xaya-byteswap     Apply byteswap for Xaya's NeoScrypt
[...]

 

Edited by DarkClaw

Share this post


Link to post
Share on other sites
24 minutes ago, DarkClaw said:

Thanks. No, I hadn't tried that. But now that I did I get the same error:


xxx@xxx:~/nsgminer$ nsgminer -o http://127.0.0.1:8396 \
> -u __cookie__ -p pass \
> -I 15 \
> --neoscrypt \
> --xaya-byteswap \
> --coinbase-addr CPGJL8bFpa6UU8xJk6N6qQ9tqty621whcU \
> --coinbase-sig "rig 1"
[2019-03-10 20:58:56] nsgminer: --coinbase-addr: Invalid address   

I am on the latest version:


xxx@xxx:~/nsgminer$ git log -1
commit ddf1bb089df357f9842415b6a91d6818988b1415 (HEAD -> xayaswab, origin/xayaswab)
Author: Daniel Kraft <d@domob.eu>
Date:   Mon Jan 28 15:11:51 2019 +0100

    Add new option --xaya-byteswap.
    
    Add a new option --xaya-byteswap.  Together with --neoscrypt algorithm
    selection, this enables Xaya's variant of NeoScrypt.

xxx@xxx:~/nsgminer$ nsgminer -help
nsgminer 0.9.4
Built with the GPU mining support.
Usage: nsgminer [-DdGEgIKklmpxPQqsTouvwOchnV] 
Options for both config file and command line:
--neoscrypt         Use the NeoScrypt algorithm for mining
--xaya-byteswap     Apply byteswap for Xaya's NeoScrypt
[...]

 

As the xaya is not the normal neoscrypt algo,  without modify version,  they won't work, i test all amd miner before.

Share this post


Link to post
Share on other sites
Posted (edited)

Well the first error is here. This returns FALSE/0:

size_t blkmk_address_to_script(void *out, size_t outsz, const char *addr) {
	unsigned char addrbin[25];
	unsigned char *cout = out;
	const size_t b58sz = strlen(addr);
	int addrver;
	size_t rv;
	
	rv = sizeof(addrbin);
	if (!b58_sha256_impl)
		b58_sha256_impl = blkmk_sha256_impl;
	if (!b58tobin(addrbin, &rv, addr, b58sz))
		return 0;
	addrver = b58check(addrbin, sizeof(addrbin), addr, b58sz);
	switch (addrver) {
		case   0:  // Bitcoin pubkey hash
		case 111:  // Testnet pubkey hash
        case(14):  /* Feathercoin pubkey hash */
        case(27):  /* Ufocoin pubkey hash */
        case(39):  /* Guncoin pubkey hash */
        case(40):  /* Halcyon pubkey hash */
        case(56):  /* Phoenixcoin pubkey hash */
        case(115): /* Orbitcoin pubkey hash */
			if (outsz < (rv = 25))
				return rv;
			cout[ 0] = 0x76;  // OP_DUP
			cout[ 1] = 0xa9;  // OP_HASH160
			cout[ 2] = 0x14;  // push 20 bytes
			memcpy(&cout[3], &addrbin[1], 20);
			cout[23] = 0x88;  // OP_EQUALVERIFY
			cout[24] = 0xac;  // OP_CHECKSIG
			return rv;
		case   5:  // Bitcoin script hash
		case 196:  // Testnet script hash
			if (outsz < (rv = 23))
				return rv;
			cout[ 0] = 0xa9;  // OP_HASH160
			cout[ 1] = 0x14;  // push 20 bytes
			memcpy(&cout[2], &addrbin[1], 20);
			cout[22] = 0x87;  // OP_EQUAL
			return rv;
		default:
			return 0;
	}
}

https://github.com/xaya/nsgminer/blob/xayaswab/libblkmaker/base58.c

Why is the bounty only for windows if it does not work on linux either though?

Edited by DarkClaw

Share this post


Link to post
Share on other sites
2 hours ago, DarkClaw said:

Well the first error is here. This returns FALSE/0:


size_t blkmk_address_to_script(void *out, size_t outsz, const char *addr) {
	unsigned char addrbin[25];
	unsigned char *cout = out;
	const size_t b58sz = strlen(addr);
	int addrver;
	size_t rv;
	
	rv = sizeof(addrbin);
	if (!b58_sha256_impl)
		b58_sha256_impl = blkmk_sha256_impl;
	if (!b58tobin(addrbin, &rv, addr, b58sz))
		return 0;
	addrver = b58check(addrbin, sizeof(addrbin), addr, b58sz);
	switch (addrver) {
		case   0:  // Bitcoin pubkey hash
		case 111:  // Testnet pubkey hash
        case(14):  /* Feathercoin pubkey hash */
        case(27):  /* Ufocoin pubkey hash */
        case(39):  /* Guncoin pubkey hash */
        case(40):  /* Halcyon pubkey hash */
        case(56):  /* Phoenixcoin pubkey hash */
        case(115): /* Orbitcoin pubkey hash */
			if (outsz < (rv = 25))
				return rv;
			cout[ 0] = 0x76;  // OP_DUP
			cout[ 1] = 0xa9;  // OP_HASH160
			cout[ 2] = 0x14;  // push 20 bytes
			memcpy(&cout[3], &addrbin[1], 20);
			cout[23] = 0x88;  // OP_EQUALVERIFY
			cout[24] = 0xac;  // OP_CHECKSIG
			return rv;
		case   5:  // Bitcoin script hash
		case 196:  // Testnet script hash
			if (outsz < (rv = 23))
				return rv;
			cout[ 0] = 0xa9;  // OP_HASH160
			cout[ 1] = 0x14;  // push 20 bytes
			memcpy(&cout[2], &addrbin[1], 20);
			cout[22] = 0x87;  // OP_EQUAL
			return rv;
		default:
			return 0;
	}
}

https://github.com/xaya/nsgminer/blob/xayaswab/libblkmaker/base58.c

Why is the bounty only for windows if it does not work on linux either though?

I think u also can get the bounty if get either linux/windows miner working。

@snailbrain 

 

Share this post


Link to post
Share on other sites

for solo mining, normal neoscrypt should work - stock ccminer works fine solo mining with neoscrypt.

for a pool with stratum it needs to be modified. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Your use of this site is governed by our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.