nicehash / NiceHashMiner

NiceHash Miner
Other
475 stars 216 forks source link

CryptoNight miner for RX Vega GPUs #478

Closed BaalMarduk closed 6 years ago

BaalMarduk commented 6 years ago

Hi, you guys should look at this new Monero XMR miner.

Cast XMR

http://www.gandalph3000.com/cast_xmr/cast-xmr-optimized-cryptonight-miner-for-rx-vega/

On Vega 64 it mine at an hashrate of 2050 per Vega GPU.

Buckthebarbarian commented 6 years ago

Can you mine with it on the nicehash stratum?

BaalMarduk commented 6 years ago

Yes, I just tried and it worked!

untitled picture

Buckthebarbarian commented 6 years ago

I get an error for the blockchain driver, I suppose it is because I have nvidia and amd gpu's. The hashrate does seem very strong!

BaalMarduk commented 6 years ago

If you run both Nvidia and AMD you need to do this

cast_xmr-vega -S cryptonight.usa.nicehash.com:3355 -u walletadresse.rigname -I 9 --opencl 2 -G 0,1,2,3

make sure to reset (toggle on/off or change memory size) your HBBC memory on the blockchain driver to activate the full potential of the cards when you reboot rig

DillonN commented 6 years ago

@Jonbros01 thanks for the heads up on the miner. We are currently looking at some new miners for Vega cryptonight mining, are you able to check if you get a better speed with this or Xmr-Stak-AMD. There is a nicely detailed guide on optimizing it for Vega on reddit here

Buckthebarbarian commented 6 years ago

@Jonbros01 I tried it with your setting and I get selected OpenCL platform index 2 dosn't exist. What kind of rig are you running? @DillonN I think the hashrates are pretty similar except that castXMR has a larger devfee

BaalMarduk commented 6 years ago

I was using XMR Stak before, Cast XMR got slightly better performance, About 50h/s.

1) it's easier to setup, you don't need to set 2 thread per GPU with different intensities. 2) Stak xmr crash radeon drivers when you close the terminal, you need to reboot rig. Cast XMR dosent have this issue

BaalMarduk commented 6 years ago

@buckthebarbarian try different values for the --opencl (0,1,2,3..) it's not always the same value depending the system...

streaml1ne555 commented 6 years ago

Has XMR-Stak-AMD updated with NiceHash support? Their most recent release on github doesn't appear to work with every result rejected. Cast XMR does work nicely however. I've got it running on my Vega 56-Flashed64 And it's been solid for 4 or 5 days now.

BaalMarduk commented 6 years ago

Cast got updated yesterday, slightly better performance. I using Cast on nicehash since a couple and got very good results. The only thing is you need to use the beta Blockchain drivers. I wished the new AMD 17.10.2 would had performed well on XMR Cast as they now do with Ethereum Claymore.

HansHagberg commented 6 years ago

Tried for a day or so to get XMR Cast to work on a rig with two Vega 64 and one Vega 56. No luck with this... AMD blockchain driver causes a world of trouble and I only got 1 GPU working with XMR Cast. Current status is XMR cast won't recognize the blockchain driver is installed with more than one GPU in my rig. The miner gives no clue to what it thinks it finds instead so it's hard to troubleshoot. Also, I never got past 1900 hashrate on one Vega 64.

If my experience is any indication, there would be one million support requests if XMR Cast was integrated into NHML in it's current status.

BaalMarduk commented 6 years ago

@HansHagberg In general AMD drivers are not the most stable especially with VEGA, you need to use DDU to remove the old drivers before installing new ones.

HansHagberg commented 6 years ago

I'm pretty sure the drivers are installed correctly. I got it working with one card. However, XMR Cast says the blockchain driver is not installed when I switch on more GPUs and so the performance is very low. I have no problems with other types of mining so there is something weird going on. Would be great if XMR Cast was a little more verbose during start-up and dumped whatever it saw in the console. Then we could troubleshoot.

foxocs commented 6 years ago

Works fine with normal pools, but i have a problem with nicehash. Card recieve job but no share accepted. None of 3rd party miners works. Is there a problem with nicehash pools? Only original nicehash miner (sg miner) works fine...

GenesisGupta commented 6 years ago

Cast XMR is working with nicehash , but it constantly shows 1 Kh/s for 1 card ( RX Vega 56) whereas Cast XMR shows 1.99 kh/s constantly. How can this be solved , i currently have no rejected shares.

streaml1ne555 commented 6 years ago

You mean the website shows 1kh/s vs the software which shows 1.99kh/s?

GenesisGupta commented 6 years ago

Yes. XMR-stak-Amd is talking about supporting Nicehash in their new release . lets see.

BaalMarduk commented 6 years ago

If you see half the hash rate its probably you didnt reset the HBCC memory on each GPU after you reboot. unfortunately you have to do this every single time other the compute mode for the card dosent seem to activate on the beta blockchain drivers.

GenesisGupta commented 6 years ago

It is showing 1.99 kh/s on cast-xmr and it is running absolutely fine. Only Nicehash keeps fluctuating between 1 kh/s to 4 kh/s which i have heard is the case. So i believe that cast-xmr is currently doing a good job of extracting performance from vega and porting to nicehash

streaml1ne555 commented 6 years ago

Yep, Cast is the fastest at the moment. Also for anyone running two+ Vega's, you need to run multiple instances of Cast XMR targeted at single GPU's. There appears to be a bug when you tell it to use two GPU's from one instance. I've got 2 Flashed-to-64 Vega 56's running at 1900 kh/s this way.

BaalMarduk commented 6 years ago

I got 2 rigs of 4 Vega 64 and Cast use all my GPU. You simply need to identify all of them in the command line

streaml1ne555 commented 6 years ago

Crashes here when I run them both from one command.

BaalMarduk commented 6 years ago

here is my command with 4 Vega GPU: cast_xmr-vega -S yourpool:port -u yourwallet -G 0,1,2,3 --opencl 0 -I 9

i got over 8160 h/s

streaml1ne555 commented 6 years ago

Yep, same command except --opencl 1 because I have an iGPU as well, and -G 0,1 crashes here. I can run both separately with -G 0 and -G 1 in two command windows and it's fine though. Probably some cast bug with more than one opencl domain.

imrecsoka commented 6 years ago

Hi , silly guy here, but tell me, Do i need to download the blockchain drivers in order to unlock the speed potential with my RX470. I know the Gandalph site says u need to download them , but i thought i would take a chance without installing. I saw bugger all hash rate improvement, it was the same as CryptonoteMiner by claymore. Question remains?

BaalMarduk commented 6 years ago

AMD Vega is the real beast for Cryptonight... So to achieve the performance we are talking here you need Blockchain drivers, Vega and Cast XMR

imrecsoka commented 6 years ago

I tried to clean install my drivers , the august 23 block chain drivers and flip sake man, i dont know, but i start any miner now sgminer claymore cast xmr and it just exists , the dos window opens and then they just close... something is not kosher.Is there something particular i need to do with the blackchain drivers? i mean anything else to install or whatever. I am sad now , really. I have 3 RX470 cards and all i am trying to do is get more than 1900 hashes / second. I would just accept anything higher than that , like if i can get 2000 ill be happy. Then i saw this cast xmr and i was still only getting 1900 same as the cryptonote claymore miner. I did run an AMD cleanup driver utility and then i installed the blockchain driver set after reboot, then it rebooted and then i have this nonsense where every miner just doesnt start.... so to me there is something not right with the way the drivers are installed.

BaalMarduk commented 6 years ago

Yes Beta Blockchain are flaky to get properly installed, especially if you previously have latest official drivers. Few tips that helped me to install them properly: 1) uninstall using AMD remote tool, 2) reboot in Safe mode and run DDU, 3) install Beta Blockchain drivers. repeat that sequence if needed... sometimes it work on first try sometimes you need to do it twice.

imrecsoka commented 6 years ago

Wait, to clarify , what do you mean by latest official drivers. I just use for example, 16.11.1 Then do i install blockchain 23 august over this? and the thing is what do i select, it has this funny stuff that new users or regular users wold not undertsand. like local driver, latest driver, recommende driver i mean its stpid and ridiculous, Nvidia didnt have any of this bullshit. so i am just clarifying. I can run the AMD Cleanup utility , safe mode or normal mode? Reboot, then safe mode or normal model - then run DDU also Then i Reboot in to normal mode? Then in normal mode i install ONLY the blockchain drivers? I would just need to clarify what i select when i install the blockchain driver.... just go with express or custom..... but the thing is i still dont know what the hell to click on ... it shows u like blocks where it says Local/ Recommended / something like that such a frustration ... and this is probably where everybody gets it wrong.

Parja commented 6 years ago

imrecsoka, this should work: Uninstall current drivers Run AMD Clean Uninstall Utility Boot into Safe Mode and run DDU Reboot into normal mode and install Blockchain Driver (express is fine)

BaalMarduk commented 6 years ago

Also I noticed that on some motherboards the PCI-E need to be set at GEN 1 otherwise I cant install drivers.

imrecsoka commented 6 years ago

@Parja , when i install with express, then do i need to select a particular option, im sure it says local driver or recommended or something.

@Jonbros01 Sounds great, but how do you do what you are saying?

BaalMarduk commented 6 years ago

@imrecsoka Its settings you set for each PCIE slot in the motherboard bios.

imrecsoka commented 6 years ago

Oh okay , cool , so in the bios. But wait, doesnt it make it slower or something strange

MSukharev commented 6 years ago

I'v use cast-xmr-vega ver 0.6 with two Vega-56 on Nicehash from command shell and get 1950 H/s from each. In this rig there are two GTX 1060 and it make troubles to start Vega's because of uncertain card numbers. But trying different numbers you can find right and run miner. Miner work relatively stable sometimes falling speed to 1600; then you need to set card off and on in device manager. Speed is good enough to use it.

mrkukov commented 6 years ago

I have been using this version 0.6 with one Vega56. Getting ~1995H/s when running 1500MHz/1090MHz. This should be definitely added to nicehash... or add option to add it manually. Now Using GUI to run CPU and .bat to run GPU.

If I'm using the system to browse web when mining, then I'll get graphic errors. It's not the miners fault, it's the high settings and low GPU-memory.

cryptotech407 commented 6 years ago

Trying to run Cast XMR with 3 XFX RX 580 OC Black Edition cards and when I launch it, it just exits with no output. Here are my parameters

cast_xmr-vega -S cryptonight.usa.nicehash.com:3355 -u 3NKrnuvKvK4BJS9sqpAFCsLtATuP13camx.Ed-XMR -G 0,1,2 --opencl 0 -I 9

imrecsoka commented 6 years ago

I tried to install those blockchain drivers, but the dam miners start and then just exit. Its ridiculous. Which or what are the correct blockchain drivers to install here? But really now, ihave clean installed using DDU and AMD CLeanup utility and its all just rubbish , i have tried this with 1 graphics card even and i have tested nicehashminer / multipool miner and smart miner command line cgminer bfgminer sgminer and claymore and they start , show the devices and then the miners just quit. I dont get this. Do i need to be Chinese to do this? My wife is Filipina so i hope that counts. I heard there are 2 blockchain driver versions and the one is better to install. I only see 23rd August blockchain though. Im not rich thats for sure, and we live on one salary, if you can help me i can do my best to contribute with mining for x amount of time.

CreamyG31337 commented 6 years ago

I'm surprised this isn't added yet. It's very easy to configure and use. It just needs to be restarted sometimes because the hash rate drops due to system activity that causes the the mining threads to lag a bit which messes up the way they're supposed to be synchronized. I just set it to restart every hour or so and never worry about that.

imrecsoka commented 6 years ago

@CreamyG31337 Oh you mean why cast xmr is not added to nhm. yeh. Anyways as i said, i cant use mine properly, i get the same hash rate as sgminer. I need help with somebody maybe on teamview or something to please get my blackchain drivers working.

sqlpanda commented 6 years ago

HI, I get CL_DEVICE_NOT_FOUND error. any idea ?

thanks

CreamyG31337 commented 6 years ago

if you have problems with cast xmr go ask on the bitcointalk thread -- since it's not even added to NHM yet there's not really a lot of people able to assist you here. https://bitcointalk.org/index.php?topic=2256917.0

imrecsoka commented 6 years ago

I only get 1700 odd hashes per second on 3 RX 470 cards, I normally get 1900 odd hashes per second on SGminer or Claymore Cryptonote Miner I think i have seen around 633 per card .

any ideas why the Cast XMR is slower?

freshlemunz commented 6 years ago

I am getting about 11100 H/s with 6 Vega 56. Each card is getting about 1850 hashes or so and are only using about 120w. Very happy with cast XMR. Runs very smooth.

cryptotech407 commented 6 years ago

Unfortunately I have not been able to get Cast XMR to work for me. I installed Win 10 Pro from scratch, installed the blockchain drivers for my 3 Vega 64 cards, installed Cast XMR and added my mining pool and monero wallet. When I launch Cast XMR it runs and immediately exits with no errors or arguments.

On Fri, Dec 1, 2017 at 3:47 PM, freshlemunz notifications@github.com wrote:

I am getting about 11100 H/s with 6 Vega 56. Each card is getting about 1850 hashes or so and are only using about 120w. Very happy with cast XMR. Runs very smooth.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nicehash/NiceHashMinerLegacy/issues/478#issuecomment-348610240, or mute the thread https://github.com/notifications/unsubscribe-auth/AgY9xuuuzvUnfTqKQCOSpfcMI7j8SAaEks5s8GXOgaJpZM4QIMKB .

freshlemunz commented 6 years ago

@cryptotech407 I had the same issue and it turns out I was running the program in admin mode. Make sure to not have the enabled or it will just crash.

cryptotech407 commented 6 years ago

@freshlemunz Not sure what you meant by "Make sure to not have the enabled". When you say Admin mode, are you refering to not running it under a Windows admin user or is there an Admin mode I must disable in Cast XMR ? Thank you

On Fri, Dec 1, 2017 at 4:03 PM, freshlemunz notifications@github.com wrote:

@cryptotech407 https://github.com/cryptotech407 I had the same issue and it turns out I was running the program in admin mode. Make sure to not have the enabled or it will just crash.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nicehash/NiceHashMinerLegacy/issues/478#issuecomment-348613672, or mute the thread https://github.com/notifications/unsubscribe-auth/AgY9xjVibL-AChVsa0A1EoKMgAJzu2hyks5s8GmOgaJpZM4QIMKB .

freshlemunz commented 6 years ago

@cryptotech407 Sorry about that. I worded it wrong. I meant don't run it in admin mode. You know how you can right click on an app and run it in "admin mode"? Make sure that's not enabled in the properties. If not that, delete the app and redownload it. That worked for me.

cryptotech407 commented 6 years ago

@freshlemunz

I downloaded latest version and it is working now, but only getting about 1770 Mh/s on 3 Vega 64 GPUs. On nicehash I am getting 5500 Mh/s. Any thoughts? Thanks again

On Fri, Dec 1, 2017 at 5:03 PM, freshlemunz notifications@github.com wrote:

@cryptotech407 https://github.com/cryptotech407 Sorry about that. I worded it wrong. I meant don't run it in admin mode. You know how you can right click on an app and run it in "admin mode"? Make sure that's not enabled in the properties. If not that, delete the app and redownload it. That worked for me.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nicehash/NiceHashMinerLegacy/issues/478#issuecomment-348626335, or mute the thread https://github.com/notifications/unsubscribe-auth/AgY9xjndfvzBFg9MeS-BZC289dSj0sn2ks5s8He9gaJpZM4QIMKB .

freshlemunz commented 6 years ago

@cryptotech407 Did you list all 3 of your gpu's?