Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: robertarnesson on March 03, 2018, 03:48:30 PM



Title: Cryptonight miner designed for AMD [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 03, 2018, 03:48:30 PM
Xrig is a high performance cryptonight miner for AMD cards. It is optimized for large-scale use of RX Vega and sets out to fix all the shenanigans of mining on these cards, but will run well on any AMD card.

Gpu mining part is based on xmrstak.

FEATURES:
* CryptoNightV7
* High performance
* Designed for large-scale use of RX Vega, but will run any AMD card
* High level of automation necessary for managing many cards
* Rich API
* Hardware monitoring (fans, temperature, clock speeds, performance levels)
* OverdriveN capabilities (set your under/overclock profile in config.json - replaces Wattman and OverdriveNTool)
* Fixes the different shenanigans of mining on the Vega's (e.g. the "underclock toggle" and gpu reset)
* Windows and Linux support
* Pre-compiled binary has 1% dev donation

WORK-IN-PROGRESS:
* Sumokoin pow change
* Kernel optimizations
* Option(s) for automatic fine-tuning of each individual card during mining. This should maximize the utilization of each card and increase the hashrate over time

DOWNLOAD/SOURCE: https://github.com/arnesson/xrig/releases

REVIEW: http://cryptomining-blog.com/9511-xrig-a-new-cryptonight-miner-designed-for-amd-rx-vega-gpus/

Feedback, comments, bug reports, improvements are welcome!


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: equasar on March 04, 2018, 08:40:38 AM
Few questions:
  • Do you have any benchmark against xmr-stak?
  • The compile time for each gpu, how long it takes?


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: robertarnesson on March 04, 2018, 11:58:50 AM
In my own tests (with vega 56) this miner performs slightly better than xmr-stak, and performs the same as xmrig. cast xmr is still top dog with 15-20 H/s above the rest, however its black box so who knows what is going on there.

I'd say the main benefit right now is not the performance but rather the built in hw monitoring and overdriven capabilities - having everything you need in one tool.

However, I'm working on using the overdriven capabilities to fine tune each card automatically during mining. My initial work on this shows increases of 10-15 H/s per card. I'm also looking into kernel optimizations

So hopefully performance benefits with this miner is to come...

Compile time is equal to the others


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: rednoW on March 04, 2018, 12:54:02 PM
Will it give ~2khs with recent (non-blockchain) drivers?


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: robertarnesson on March 04, 2018, 01:23:57 PM
@rednoW I have not tried myself, would love for someone to test. I dont see why it shouldnt work. I'm waiting for a new B250 mining board which will make it easier for me to benchmark different setups, will try as soon as I get the board!


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 05, 2018, 08:44:46 PM
A first review can be found here: http://cryptomining-blog.com/9511-xrig-a-new-cryptonight-miner-designed-for-amd-rx-vega-gpus/


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: Bulitt on March 06, 2018, 06:38:15 AM
When you say "any" AMD cards you mean GCN and up cards HD 7XXX and up... I have an HD 6950 and the only program that works with it is Claymore 9.7


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 06, 2018, 02:42:24 PM
Not *literally* any card ;) I meant as a general guideline, it will work with any of the common amd mining cards and not *only* the vegas. If you can run xmrstak then this should work as well. My guess is you're stuck wth claymore for that specific card


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: ugulu on March 06, 2018, 05:20:23 PM
where do you even get a vega card nowadays?


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: billhinge on March 06, 2018, 05:51:52 PM
where do you even get a vega card nowadays?

ebay? picked up a vega fe for £850 at the weekend, cheaper than new , plenty of sapphire there


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: Shnikes101 on March 06, 2018, 06:26:55 PM
Will it give ~2khs with recent (non-blockchain) drivers?

This would potentially give me a reason to switch.

I may test with a rig later this evening. But essentially this is a bundling of XMRig and Stak-XMR? No performance gain at the moment - just convenience and monitoring?


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: robertarnesson on March 07, 2018, 11:53:42 AM
Quote
I may test with a rig later this evening. But essentially this is a bundling of XMRig and Stak-XMR? No performance gain at the moment - just convenience and monitoring?

Correct


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: thilan29 on March 07, 2018, 01:42:14 PM
I'd definitely switch to this if I could use the Adrenalin drivers and get speeds similar to the blockchain drivers.


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: treanski on March 07, 2018, 02:55:33 PM
I'd definitely switch to this if I could use the Adrenalin drivers and get speeds similar to the blockchain drivers.

yeah me too but i think without help from amd it aint gonna happen


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: Shnikes101 on March 07, 2018, 11:41:30 PM
Quote
I may test with a rig later this evening. But essentially this is a bundling of XMRig and Stak-XMR? No performance gain at the moment - just convenience and monitoring?

Correct

Still haven't gotten around to moving a rig over. I am interested to test this though.
Quick question -
Is this gpu only or are you using the newer xmr-stak that incorporates cpu as an all in one? On some of my Vega rigs, I run Ryzen 5 1600 that do quite well together


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: xpulse on March 08, 2018, 03:43:03 AM
Hi,

I was able to test this miner with my rig 1-7950, 3-Vega's 64, and 1-Vega Fe.

Hashrate is good, tested with blockchain drivers.
d
Robert was very helpful with small issues I experience on initial configuration for this miner. Only issue I found (maybe no related to this miner), Vega FE drops hashrate during sometime... again, might be not related to this miner as used xmr-aeon-stack with JJ hashrate PowerShell script and notice sometimes script restarted miner.

Vega FE very tricky with blockchain drivers and without trick with DDU+reinstallation Adrenalin driver to Blockchain without reboot provide only 1500H/s instead 2030.

Looking to make this script workable with this miner to finally switch over.


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 08, 2018, 05:31:37 PM
Vega FE very tricky with blockchain drivers and without trick with DDU+reinstallation Adrenalin driver to Blockchain without reboot provide only 1500H/s instead 2030.

Do you switch to compute mode when using the Adrenalin driver?


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: robertarnesson on March 08, 2018, 05:39:52 PM
Is this gpu only or are you using the newer xmr-stak that incorporates cpu as an all in one? On some of my Vega rigs, I run Ryzen 5 1600 that do quite well together

Yes its gpu only. My own rigs are B250's with cheap i3 processors that each run 13 vegas, so there is not much cpu power to harness. But I think its a trivial task to start a separate cpu miner if you should want that, it does not necessarily have to be built-in


Title: Re: [Xrig] Cryptonight miner designed especially for AMD Vega
Post by: bubaba on March 09, 2018, 12:23:33 AM
Is this gpu only or are you using the newer xmr-stak that incorporates cpu as an all in one? On some of my Vega rigs, I run Ryzen 5 1600 that do quite well together

Yes its gpu only. My own rigs are B250's with cheap i3 processors that each run 13 vegas, so there is not much cpu power to harness. But I think its a trivial task to start a separate cpu miner if you should want that, it does not necessarily have to be built-in

13vegas in one rig? I thought thats not possible due to AMD driver? I thought 8 is max?


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: xpulse on March 09, 2018, 06:58:04 PM
Vega FE very tricky with blockchain drivers and without trick with DDU+reinstallation Adrenalin driver to Blockchain without reboot provide only 1500H/s instead 2030.

Do you switch to compute mode when using the Adrenalin driver?

Robert,
Not sure if compute mode is available in Adrenalin driver. Can you guide me through. Also, for some reason Adrenalin always install some Pro panel instead of regular one. Icon is blue an font in Settings is blue as well, not red as regular Vega's 56/64


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: xpulse on March 09, 2018, 07:09:18 PM
In case someone need it.

I modified JJ-hashrate Powershell script to work with this miner, monitoring hashrate from JSON and restart miner if hashrate hit threshold. Currently setup as 350 H/s.

Script Link:
ftp://ftp.xpulse.us/Script/JJs_HashMonitor_modified.ps1 (ftp://ftp.xpulse.us/Script/JJs_HashMonitor_modified.ps1)


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: sayyiditow on March 09, 2018, 09:28:19 PM
Anyone tried this with adrenalin drivers plus vegas? I only got 1300h/s on vega 56 with the adrenalin drivers plus XMRig (not Xrig).


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: treanski on March 09, 2018, 09:30:06 PM
Anyone tried this with adrenalin drivers plus vegas? I only got 1300h/s on vega 56 with the adrenalin drivers plus XMRig (not Xrig).

yeah this miner dont give blockchain driver hashrate for vega too...amd changed something on its driver kernel from blockchaindriver to 17.10.2...still no miner developer was able to fix it


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: sayyiditow on March 10, 2018, 03:32:37 AM
There is a new driver 18.3.1 adrenalin, even that doesn't work. CN miners are in trouble! We can't mine and play games at the same time. Thanks to AMD.


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 20, 2018, 05:08:02 PM
Version 0.8.1 released.

Changes:
* Patched to handle coming PoW changes (CryptoNightV7)
* Added power_limit profile option

https://github.com/arnesson/xrig/releases


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: thilan29 on March 24, 2018, 01:35:16 PM
Version 0.8.1 released.

Changes:
* Patched to handle coming PoW changes (CryptoNightV7)
* Added power_limit profile option

https://github.com/arnesson/xrig/releases

How do you use only one GPU out of several in the same PC?


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: VoskCoin on March 24, 2018, 07:30:58 PM
In case someone need it.

I modified JJ-hashrate Powershell script to work with this miner, monitoring hashrate from JSON and restart miner if hashrate hit threshold. Currently setup as 350 H/s.

Script Link:
ftp://ftp.xpulse.us/Script/JJs_HashMonitor_modified.ps1 (ftp://ftp.xpulse.us/Script/JJs_HashMonitor_modified.ps1)
were you able to get your FE stable w/ this?


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 24, 2018, 08:57:47 PM
How do you use only one GPU out of several in the same PC?

Use something like this, where index is the gpu you want to use:

Code:
{
    "algo": "cryptonight",
    "platform_index": 0,
    "pools": [
        {
            "url": "pool.monero.hashvault.pro:5555",
            "user": "",
            "pass": "x"
        }
    ],
    "api": {
        "port": 4444
    },
    "threads": [
        {"index": 0, "intensity": 1932},
        {"index": 0, "intensity": 1932}
    ],
    "profile": {
        // ...
    }
}


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: thilan29 on March 24, 2018, 09:23:44 PM
How do you use only one GPU out of several in the same PC?

Use something like this, where index is the gpu you want to use:

Thanks


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: cod3gen on March 24, 2018, 10:31:30 PM
Nice work, but there is no improvements on speed, slightly lower actually.

The compiled version is it 1% fee, or ~5% as according to donate.h on github? https://github.com/arnesson/xrig/blob/master/src/donate.h


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 25, 2018, 09:30:42 AM
Nice work, but there is no improvements on speed, slightly lower actually.

The compiled version is it 1% fee, or ~5% as according to donate.h on github? https://github.com/arnesson/xrig/blob/master/src/donate.h

Thanks. yes performance dropped a bit with the implementation of CryptonightV7, but this is fixable. Version 0.8.0 is faster.

donate.h was a leftover from xmrig, its not used and have been removed. 1% is the correct one


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: peterboy1 on March 25, 2018, 09:56:10 AM
can we disable donation without any shenanigans consequences? if so, then this is the real thing we call "donation".


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: Sgsg666 on March 25, 2018, 11:55:06 AM
can we disable donation without any shenanigans consequences? if so, then this is the real thing we call "donation".

Haha lol, yeah I wonder if there's a switch. Most miners should do this or just be upfront like castxmr.


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: xpulse on March 26, 2018, 02:24:44 AM
In case someone need it.

I modified JJ-hashrate Powershell script to work with this miner, monitoring hashrate from JSON and restart miner if hashrate hit threshold. Currently setup as 350 H/s.

Script Link:
ftp://ftp.xpulse.us/Script/JJs_HashMonitor_modified.ps1 (ftp://ftp.xpulse.us/Script/JJs_HashMonitor_modified.ps1)
were you able to get your FE stable w/ this?

Stable, until reboot. After reboot need to do a trick:

1. Safe mode, DDU
2. Reboot
3. Install Adrenilin drivers (any, i'm using 18.2.3)
4. Disable CrossLink and EnableUPS in registry, backup registry
5. Reboot
6. Disable all cards (in device manager)
7. Install Blockchain drivers from Device manager
8. Disable and re-enable all cards.
9. Apply registry backup
10. Apply Softmod
11. backup registry
12. Run miner via script, without reboot.

If system rebooted, need to do the same thing again. It is usually takes up to 15 minutes by running mining.


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: murgorx on March 26, 2018, 06:24:27 AM
Is it possible to use the miner on a RX580 rig or is it strictly for Vegas? I know VEGAs are beasts atm, but please try to make it also for RXs series! There are a tremendous lot of people, who are mining on those cards, we would love some dev on that too :D


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 26, 2018, 09:41:38 AM
Is it possible to use the miner on a RX580 rig or is it strictly for Vegas? I know VEGAs are beasts atm, but please try to make it also for RXs series! There are a tremendous lot of people, who are mining on those cards, we would love some dev on that too :D

Perhaps bad "branding" on my part - it works perfectly well on other AMD cards as well!


Title: Re: Cryptonight miner designed for AMD [built in OverdriveN and hw monitoring]
Post by: robertarnesson on March 29, 2018, 03:44:04 PM
Ref earlier posts about the newer adrenalin drivers.

I'm now running 18.3.4 (https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-Adrenalin-Edition-18.3.4-Release-Notes.aspx) and it works nicely, just remember to use compute mode. Seems like the old beta blockchain drivers still performs a few % better though, but with less stability


Title: Re: Cryptonight miner designed for AMD [built in OverdriveN and hw monitoring]
Post by: robertarnesson on April 02, 2018, 03:56:45 PM
Version 0.8.2 released.

Changes:
* Improved startup time
* Soft reset of dead/stuck threads
* Minor bug fixes

https://github.com/arnesson/xrig/releases


Title: Re: Cryptonight miner designed for AMD Vega [built in OverdriveN and hw monitoring]
Post by: TrasherDK on July 21, 2018, 04:01:02 AM

Stable, until reboot. After reboot need to do a trick:

1. Safe mode, DDU
2. Reboot
3. Install Adrenilin drivers (any, i'm using 18.2.3)
4. Disable CrossLink and EnableUPS in registry, backup registry
5. Reboot
6. Disable all cards (in device manager)
7. Install Blockchain drivers from Device manager
8. Disable and re-enable all cards.
9. Apply registry backup
10. Apply Softmod
11. backup registry
12. Run miner via script, without reboot.

If system rebooted, need to do the same thing again. It is usually takes up to 15 minutes by running mining.


4. No such thing as CrossLink or EnableUPS in the registry. (You mean EnableULPS, but what is CrossLink).
6. Disable all cards
8. Disable all cards (They are already disabled in step 6)
10. Apply Softmod (What is Softmod? Could it possibly be ATIMdag Pixel Patcher?)

What else is missing?