Pages:
Author

Topic: tdxminer lyra2z/XZC Miner for AMD GPUs on Linux - page 33. (Read 44556 times)

member
Activity: 176
Merit: 76
Is there restrictions to mining cards per rig? I thought I heard it is for 1 or max 2 gpu's?

And one more vote for windows miner.

The code is written to support up to 16 GPUs, though I don't think most motherboards/BIOS's/operating systems can handle that many.
I have only tested it with up to 2 GPUs.  If anyone is having issues running with more GPUs, I'd like to hear about it.  If there are bugs in the miner preventing running with more GPUs I'd love to squash them.

I'm working on a windows version, but it will probably be a week or two before I have something to release.
newbie
Activity: 165
Merit: 0
Is there restrictions to mining cards per rig? I thought I heard it is for 1 or max 2 gpu's?

And one more vote for windows miner.
sr. member
Activity: 420
Merit: 250
crap! there is no windows version (((
this is a fail for me((
the performance wise the miner looks amazing showing crazy fast speeds and nice improvements! sadly, sadly very sadly now windows version
and so all owners of vegas with linux PCs can enjoy good profits now !!!
   
full member
Activity: 1120
Merit: 131
Guys, one miner is running on Linux, the other one on windows. If AMD mining community could use BOTH, it would just be perfect.
member
Activity: 176
Merit: 76
Reading through this thread for the first time, I only saw your announcement on the ZCoin subreddit earlier. A polite request though, with all due respect please stop the bs hints about ripping your kernels, I haven't even downloaded your miner, even less so tried to dump your kernels. I was just as surprised as you were about the weird coincidence that two very similar AMD lyra2z-related announcements were made within a friggin' day after months of silence. Furthermore, I don't know when you published on github, but otherwise all your announcements that I've seen were written after(!) my post here. It's a bit of a stretch that I somehow would have found your miner before your first announcement, ripped the kernels, massaged them into a Windows sgminer and made a wild announcement myself, like you wouldn't be able to release the same packaging yourself at some point Huh.

As stated, my implementation was written bottom up in pure GCN ASM (well, not the Blake part) and has been running on Windows rigs for a number of months. No ROCm dependencies. We probably made the same analysis, that lyra2z was very far from well understood and a very good fit for what an AMD GCN CU can do with DPP ops. Your miner def has had me become less interested in releasing it public though, I'd rather keep the extra ~15% edge I seem to have for now.

Cheers, K


Hey kerney, thanks for clearing the air on this.  I admittedly over-reacted a bit by insinuating that you may have taken the kernels from my miner.  Right after my initial release on github I had ask a couple people if they could test it out, before my reddit announcement.  One of them directly told me that he was trying to reverse engineer the kernels.  When I saw that your post went up half a day after this interaction, I jumped to conclusions.

My apologies.  Also kudos to you for writing a lyra2 implementation entirely in assembly.  I know how much of a pain it was for me to do it in opencl c with inline assembly, so I imagine it was doubly so doing it entirely in assembly.

I don't understand why this release discouraged you from releasing your own miner.  Wouldn't releasing a miner with a dev fee would be more profitable than having a 15% advantage just on your own rigs?  In either case, I think the community would appreciate and benefit from having two competing AMD miners for lyra2z, and I personally welcome the competition.
member
Activity: 658
Merit: 86
Reading through this thread for the first time, I only saw your announcement on the ZCoin subreddit earlier. A polite request though, with all due respect please stop the bs hints about ripping your kernels, I haven't even downloaded your miner, even less so tried to dump your kernels. I was just as surprised as you were about the weird coincidence that two very similar AMD lyra2z-related announcements were made within a friggin' day after months of silence. Furthermore, I don't know when you published on github, but otherwise all your announcements that I've seen were written after(!) my post here. It's a bit of a stretch that I somehow would have found your miner before your first announcement, ripped the kernels, massaged them into a Windows sgminer and made a wild announcement myself, like you wouldn't be able to release the same packaging yourself at some point Huh.

As stated, my implementation was written bottom up in pure GCN ASM (well, not the Blake part) and has been running on Windows rigs for a number of months. No ROCm dependencies. We probably made the same analysis, that lyra2z was very far from well understood and a very good fit for what an AMD GCN CU can do with DPP ops. Your miner def has had me become less interested in releasing it public though, I'd rather keep the extra ~15% edge I seem to have for now.

Cheers, K
jr. member
Activity: 148
Merit: 5
Lyra2z > Lyra2Rev2, no question. For multiple reasons. 3% is quite fair in my opinion, for the reasons you mention. I don't think it's too high to incentivize someone ripping your kernels and releasing their own with a lower fee either. Good middle ground.

I've got most of my machines on Windows (although there are lots of things I hate about Windows!) simply because of the better overclocking utilities. However, I'm excited about this miner, so I'll pull a few cards and fire up a linux machine and see how the miner runs. Hopefully I'll get to it this weekend, will report back when I do!
member
Activity: 176
Merit: 76
Impressive! 70Mh/s on Lyra2Rev2 would beat out mkxminer... I've gotten it up to 67 on a V64 with high overclock, but 70 @ stock settings? Niceee.

As mentioned above, 3% is quite reasonable. People will pay for good miners, especially new ones where there is no real competition.

As for ripping kernels... don't know much about that, although I do recall Claymore calling out Phoenix's ETH kernels fairly recently. I think you're focused on the right thing, as far as developing goes. There is/will be (at least from my perspective) high demand for more algo flexibility on the AMD side. And the gpus are quite capable if you can fine-tune your kernels to exploit the hardware, particularly the Vegas.

I've got a fair amount of AMD cards, not sure what your hardware constraints are, and am I'm happy to test/run anything you throw my way. Got RX 480s, RX 580s, Vega 56s, Vega 64s, and Vega FEs.

Thanks, I actually started working on lyra2rev2 first, but then quickly realized that lyra2z had much more low hanging fruit for performance improvements.

Here is my reasoning for the 3% fee.  While it is higher than the more common ~2% range for competitive miners, this miner is (to my knowledge) one of the most profitable for AMD hardware currently available.  If you look at whattomine's XZC estimates for revenue based on the hash rates posted in the description, at the time of this post it estimates:
RX 580 - $2.14/day
RX Vega 64 - $4.37/day
These are significantly more profitable than the most profitable coin currently on their front page (currently XMR, with Vega 64 bringing in ~$2.90/day).  And again, the hash rates I've posted are from stock GPUs with no tuning.  Others have reported their rates are higher.  If and when this miner becomes less relatively profitable, either due to competing miners or difficulty increase, I will lower the fee to stay competitive.  I'm not trying to price gouge here.  On the other hand I wouldn't mind getting some return on the several hundred hours of work I've put into this miner.
Edit: I forgot to mention, the miner code is structured to support different fee per algo.  For lyra2rev2 I would go around 2% since I don't believe it would be profitable enough to command the higher fee.  If I can't get it to go significantly faster than a 1080ti, I don't think that justifies much over a 2% fee.

I very much agree with you regarding AMD gpus just not having good software available, and especially for Vega.  Vega has some nice ISA improvements that can yield pretty noticeable perf improvements.  Many of these ISA improvements are not currently supported by OpenCL toolchains, so some hand tuning is required to use them.  For the algos I've looked at so far I can usually get a Vega 64 to perform similarly to, or better than a 1080ti.

Last, but not least, the GPUs you listed are almost exactly all the GPUs the miner currently supports Smiley  What OS are you currently running your GPUs under?  If any are under linux, I would be very curious to see how the miner runs with them.  Especially the RX 480 and Vega 56 gpus, as I don't currently have access to any of those.
member
Activity: 176
Merit: 76
New version released!  Now with support for amdgpu-pro Linux drivers.
I've only been able to do minimal testing of the amdgpu-pro support, so some testers here would be much appreciated.

Also if you have successfully tested out the release, please post your results!
I have limited hardware available for testing and am very curious to see what hash rates people get with different setups.
jr. member
Activity: 148
Merit: 5
Turns out converting my kernels from ROCm to amdgpu-pro/windows is a lot simpler than I expected.
Unfortunately, I first need to waste some time hardening them so we don't have another "coincidental" announcement.

I should have a new version that supports amdgpu-pro drivers on linux in a day or two.  This should make the miner compatible with the typical linux rigs running RX 580s/570s, such as HiveOS and the like.  Windows will take a week or two longer, since I don't even have a windows environment to build/test in right now.

Nice! yeah I'll definitely be waiting for windows as well, since the undervolting/overclocking with Vegas is much easier in windows. Windows 10 is free, and you can do pretty much everything without activating it... not sure what's holding you back but definitely looking forward to this version!

Edit: Also, that's very interesting/coincidental about the other thread for sure... If true, I'd definitely use yours... and that would make his whole rant quite hypocritical. If it is yours, sweet! That means the numbers for this miner are great  Grin but that would also mean your devfee is quite high  Cheesy

Hopefully, if it really is as simple as dropping your kernel into something like SGMiner, we won't have to wait too long for a windows version. Very excited about this, been in XZC for a while but never had a good reason to mine it.

Yeah, tuning support for Vega on linux is not great.  I believe in kernel 4.17 they will add support for wattman like profiles for overclocking/tuning, but that's a ways out.  I've mostly been running my cards stock, but I also use them mostly for development/testing.

Regarding the other thread, thanks for seeing my side.  Obviously I can't say for sure if it was coincidence or malice, but I guess we'll have to wait and see if he releases anything.  Or even posts again for that matter.
The perf on the current release is already pretty good.  I think people might be getting the wrong impression by the modest hardware settings I used for the hash rates I posted.  I'll see if I can get some numbers from my Vega 64 LC at max powerstate.  I'm sure they'll be impressive and totally useless since that thing burns stupid amounts of power at full throttle.

As for the dev fee, I'm not planning on having a egregiously high dev fee.  I'm currently thinking 3% for the next release.  Even the current relatively high fee in the miner is nowhere near the 25% that guy was talking about.  Unlike what he was saying, I don't need to make quick cash on this algo before XZC switches over to MTP.  I've done work on other algos like lyra2rev2, nist5, skunk, neoscrypt and some others.  I chose to release lyra2z first since my implementation of it has the best perf improvement out of the algos I've worked on (also some like skunk and nist5 are basically dead for GPU mining now, and Claymore beat me to the punch for neoscrypt Wink ).  The next algo I plan to support is lyra2rev2 which should be able to get around ~70Mh/s on a modestly clocked Vega 64.  But first I need to get that windows build out Wink

About the kernels, they are not drop in compatible with sgminer.  Some reverse engineering work and modifications would have to be done.  Before the alpha release, I thought I was being paranoid thinking that someone would go through the effort required to rip them, so I did not spend effort trying to make them hard to rip.  I also think it's a bit of a waste having to spend the time/effort and adding useless junk to the kernels just so they are harder to steal.  Oh well, the next release will have kernels that will have better performance and be much more difficult to rip.


Impressive! 70Mh/s on Lyra2Rev2 would beat out mkxminer... I've gotten it up to 67 on a V64 with high overclock, but 70 @ stock settings? Niceee.

As mentioned above, 3% is quite reasonable. People will pay for good miners, especially new ones where there is no real competition.

As for ripping kernels... don't know much about that, although I do recall Claymore calling out Phoenix's ETH kernels fairly recently. I think you're focused on the right thing, as far as developing goes. There is/will be (at least from my perspective) high demand for more algo flexibility on the AMD side. And the gpus are quite capable if you can fine-tune your kernels to exploit the hardware, particularly the Vegas.

I've got a fair amount of AMD cards, not sure what your hardware constraints are, and am I'm happy to test/run anything you throw my way. Got RX 480s, RX 580s, Vega 56s, Vega 64s, and Vega FEs.
jr. member
Activity: 308
Merit: 4
I also watch this thread with great interest. AMD needs some more versatility against NVIDIA. I think the cards are capable but lack of optimized miners is holding AMD back. 3% dev fee is fine if you will really make such an improvement. You get paid for quality work. I have no problem with that.
member
Activity: 176
Merit: 76
Turns out converting my kernels from ROCm to amdgpu-pro/windows is a lot simpler than I expected.
Unfortunately, I first need to waste some time hardening them so we don't have another "coincidental" announcement.

I should have a new version that supports amdgpu-pro drivers on linux in a day or two.  This should make the miner compatible with the typical linux rigs running RX 580s/570s, such as HiveOS and the like.  Windows will take a week or two longer, since I don't even have a windows environment to build/test in right now.

Nice! yeah I'll definitely be waiting for windows as well, since the undervolting/overclocking with Vegas is much easier in windows. Windows 10 is free, and you can do pretty much everything without activating it... not sure what's holding you back but definitely looking forward to this version!

Edit: Also, that's very interesting/coincidental about the other thread for sure... If true, I'd definitely use yours... and that would make his whole rant quite hypocritical. If it is yours, sweet! That means the numbers for this miner are great  Grin but that would also mean your devfee is quite high  Cheesy

Hopefully, if it really is as simple as dropping your kernel into something like SGMiner, we won't have to wait too long for a windows version. Very excited about this, been in XZC for a while but never had a good reason to mine it.

Yeah, tuning support for Vega on linux is not great.  I believe in kernel 4.17 they will add support for wattman like profiles for overclocking/tuning, but that's a ways out.  I've mostly been running my cards stock, but I also use them mostly for development/testing.

Regarding the other thread, thanks for seeing my side.  Obviously I can't say for sure if it was coincidence or malice, but I guess we'll have to wait and see if he releases anything.  Or even posts again for that matter.
The perf on the current release is already pretty good.  I think people might be getting the wrong impression by the modest hardware settings I used for the hash rates I posted.  I'll see if I can get some numbers from my Vega 64 LC at max powerstate.  I'm sure they'll be impressive and totally useless since that thing burns stupid amounts of power at full throttle.

As for the dev fee, I'm not planning on having a egregiously high dev fee.  I'm currently thinking 3% for the next release.  Even the current relatively high fee in the miner is nowhere near the 25% that guy was talking about.  Unlike what he was saying, I don't need to make quick cash on this algo before XZC switches over to MTP.  I've done work on other algos like lyra2rev2, nist5, skunk, neoscrypt and some others.  I chose to release lyra2z first since my implementation of it has the best perf improvement out of the algos I've worked on (also some like skunk and nist5 are basically dead for GPU mining now, and Claymore beat me to the punch for neoscrypt Wink ).  The next algo I plan to support is lyra2rev2 which should be able to get around ~70Mh/s on a modestly clocked Vega 64.  But first I need to get that windows build out Wink

About the kernels, they are not drop in compatible with sgminer.  Some reverse engineering work and modifications would have to be done.  Before the alpha release, I thought I was being paranoid thinking that someone would go through the effort required to rip them, so I did not spend effort trying to make them hard to rip.  I also think it's a bit of a waste having to spend the time/effort and adding useless junk to the kernels just so they are harder to steal.  Oh well, the next release will have kernels that will have better performance and be much more difficult to rip.
newbie
Activity: 10
Merit: 0
Hi,

Is there anyway someone could upload a linux image with this installed? It's quite simple using this http://hddguru.com/software/HDD-Raw-Copy-Tool/
jr. member
Activity: 148
Merit: 5
Turns out converting my kernels from ROCm to amdgpu-pro/windows is a lot simpler than I expected.
Unfortunately, I first need to waste some time hardening them so we don't have another "coincidental" announcement.

I should have a new version that supports amdgpu-pro drivers on linux in a day or two.  This should make the miner compatible with the typical linux rigs running RX 580s/570s, such as HiveOS and the like.  Windows will take a week or two longer, since I don't even have a windows environment to build/test in right now.

Nice! yeah I'll definitely be waiting for windows as well, since the undervolting/overclocking with Vegas is much easier in windows. Windows 10 is free, and you can do pretty much everything without activating it... not sure what's holding you back but definitely looking forward to this version!

Edit: Also, that's very interesting/coincidental about the other thread for sure... If true, I'd definitely use yours... and that would make his whole rant quite hypocritical. If it is yours, sweet! That means the numbers for this miner are great  Grin but that would also mean your devfee is quite high  Cheesy

Hopefully, if it really is as simple as dropping your kernel into something like SGMiner, we won't have to wait too long for a windows version. Very excited about this, been in XZC for a while but never had a good reason to mine it.
full member
Activity: 1120
Merit: 131
This is quite interesting. I'll follow this thread for any information about a future Windows version.

Same here, I only mine with windows.
member
Activity: 176
Merit: 76
Turns out converting my kernels from ROCm to amdgpu-pro/windows is a lot simpler than I expected.
Unfortunately, I first need to waste some time hardening them so we don't have another "coincidental" announcement.

I should have a new version that supports amdgpu-pro drivers on linux in a day or two.  This should make the miner compatible with the typical linux rigs running RX 580s/570s, such as HiveOS and the like.  Windows will take a week or two longer, since I don't even have a windows environment to build/test in right now.
member
Activity: 176
Merit: 76
Definitely interested, but worried about the PCIE Gen 3 requirement. My larger rigs definitely require Gen 2 settings in the bios due to the number of cards, so don't know how feasible it will be to run this miner except on a couple one or two card computers.

Btw todxx, have you checked out the other thread on potential release of Vega XZC miner? Guy seemed like he was doing it in GCN ASM instead of OpenCL or ROCm... maybe you could pick something up from that thread to optimize your miner/make it compatible with Windows. Assuming he wasn't bs'ing, but the numbers he was throwing around were phenomenal.


Yeah, ROCm is a bit of a double edged sword right now.  Their toolchain is good, but their run-time has some overbearing requirements that other drivers don't.  I can see how they ended up there as ROCm was initially targeted for data-center cards, but now that they are starting to use it as the default driver for desktop cards, it's causing some headaches.

Regarding the other thread, I don't know what to tell you man.  I'm pretty sure you could get pretty close to those numbers with my miner if you properly tuned/OC'd your GPUs.  The numbers I posted are for bone-stock GPUs (stock bios, voltages, clocks, etc).  The only thing I did was set a fixed power-state so I can get reliable performance measurements.  Given all of this, and the fact that he posted his rant about half a day after I released my alpha release on github makes me feel like it's someone who just ripped my kernels and ran them on some very OC'd cards.  I even have an idea of who it might have been, as I had asked this person if he could test out my miner right after posting the release.  Maybe I'm just being paranoid.  But I can't get over the fact that I've been working on this for 4+ months, and the day I post a release, coincidentally someone else figured out how to do the exact same thing later that day.  I guess we'll find out if his kernels are the same if he ever releases anything.  Ugh, sorry for the rant.

Since the request for supporting windows/amdgpu-pro drivers is the most common feedback I get, I will focus on figuring this out.
jr. member
Activity: 148
Merit: 5
Definitely interested, but worried about the PCIE Gen 3 requirement. My larger rigs definitely require Gen 2 settings in the bios due to the number of cards, so don't know how feasible it will be to run this miner except on a couple one or two card computers.

Btw todxx, have you checked out the other thread on potential release of Vega XZC miner? Guy seemed like he was doing it in GCN ASM instead of OpenCL or ROCm... maybe you could pick something up from that thread to optimize your miner/make it compatible with Windows. Assuming he wasn't bs'ing, but the numbers he was throwing around were phenomenal.
member
Activity: 176
Merit: 76
What speeds were indicated before? It's the first time I have seen this miner and it is damn quick, best think since sliced bread. Well done dev and alpha release is very stable for me. I'm actually getting better results than indicated here.

Thanks Arctic!  I'm glad it's working well for you.
I have done my best to test this release on my hardware for stability and have run it for several hundred hours on my rigs.  But I can't really call it more than an alpha release until I get some feedback on how it runs on other hardware.  I've already had a couple reports of it not being able to find/load GPUs on certain hardware, so hopefully I can get to the bottom of those problems soon and get a new release out.
sr. member
Activity: 1246
Merit: 274
This is quite interesting. I'll follow this thread for any information about a future Windows version.
Pages:
Jump to: