Bitcoin Forum
April 26, 2024, 09:55:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: Do you want to see improvements in Ethash dual-mining with GGS?
I desperately need it. - 8 (15.1%)
It would be nice. - 12 (22.6%)
It's not worth it anymore. - 33 (62.3%)
Total Voters: 53

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30] 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ... 197 »
  Print  
Author Topic: Gateless Gate Sharp 1.3.8: 30Mh/s (Ethash) on RX 480!  (Read 214337 times)
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 08, 2017, 08:13:50 AM
 #581

Now my custom LLVM/Clang is capable of generating assembly source codes compatible with AMD's proprietary OpenCL drivers. The only remaining work is to add CLRX-specific stuff to LLVM. I really want to get this done by tomorrow so that I can go back to miner programming.

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
1714125334
Hero Member
*
Offline Offline

Posts: 1714125334

View Profile Personal Message (Offline)

Ignore
1714125334
Reply with quote  #2

1714125334
Report to moderator
1714125334
Hero Member
*
Offline Offline

Posts: 1714125334

View Profile Personal Message (Offline)

Ignore
1714125334
Reply with quote  #2

1714125334
Report to moderator
1714125334
Hero Member
*
Offline Offline

Posts: 1714125334

View Profile Personal Message (Offline)

Ignore
1714125334
Reply with quote  #2

1714125334
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714125334
Hero Member
*
Offline Offline

Posts: 1714125334

View Profile Personal Message (Offline)

Ignore
1714125334
Reply with quote  #2

1714125334
Report to moderator
1714125334
Hero Member
*
Offline Offline

Posts: 1714125334

View Profile Personal Message (Offline)

Ignore
1714125334
Reply with quote  #2

1714125334
Report to moderator
h311m4n
Sr. Member
****
Offline Offline

Activity: 487
Merit: 266



View Profile
February 08, 2017, 12:04:51 PM
 #582

Hi Zawawa,

First off, thanks for this program, works well.

I'm using version 0.1.3-pre1 and on a 6 GPU rig with Sapphire RX470 8GB, the fans seem to go crazy after some time. Like RPM goes to 0 then goes full speed, then back to 0 and so on. I don't think all the GPUs are affected. Also it seems GG seems to hang at some point. The computer is still available and closing re-opening GG get's it going again.

I do not have this issue with a 4 GPU RX470 rig though.

Anyone else having a similar issue?

Thanks
VaynardW
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
February 08, 2017, 12:47:04 PM
 #583

I had the same exact issue at first, it also happens to one of my rig,
It turns out that rig still using Catalyst 16.9, after a DDU uninstall and upgrading to 16.11, the problem seems to disappear
fr4nkthetank
Legendary
*
Offline Offline

Activity: 2294
Merit: 1182


Now the money is free, and so the people will be


View Profile
February 08, 2017, 02:04:27 PM
 #584

I had the same exact issue at first, it also happens to one of my rig,
It turns out that rig still using Catalyst 16.9, after a DDU uninstall and upgrading to 16.11, the problem seems to disappear
Yeah get the 16.11 drivers and I would recommend a custom fan profile with MSI afterburner.  Unless you are on linux I guess.  It gets the job done well.
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 08, 2017, 02:59:28 PM
 #585

Building LLVM is taking forever, so I have to entertain myself with something else...
So I have been thinking for quite some time about adding a nice graphical user interface/remote monitor to Gateless Gate, and I think I want to go with MultiMiner as somebody suggested here a while ago:

https://github.com/nwoolls/MultiMiner


It's open-source, compatible with sgminer, and seems to be feature-complete with automatic currency-switching.
What do you guys think?

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 08, 2017, 03:28:04 PM
 #586

Oh, I forgot to add that MultiMiner is cross-platform as well.
Actually, it seems to be working quite well with GG...

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
nerdralph
Sr. Member
****
Offline Offline

Activity: 588
Merit: 251


View Profile
February 08, 2017, 04:27:27 PM
 #587

I finally tracked down the last bug and was able to confirm that LLVM/Clang can be used to generate binaries for AMD's proprietary OpenCL drivers. Since LLVM is only capable of generating ROCm binaries, I had to insert a thin ABI translation layer at the beginning of the kernel.

According to a source at AMD, the ROCm ABI is the same as the HSAIL/brig ABI.  When I used CodeXL to generate a kernel binary on a system with Crimson 16.10 drivers, the binary contained HSAIL as well as brig symbols.  Since AMDs drivers can handle HSA/brig kernels, I would think they should also handle ROCm binaries.


What I found out was that AMD's drivers add extra hidden arguments to kernels, which completely messes up the order of arguments. Therefore, modifications to LLVM are necessary in order to use it for AMD's proprietary drivers.

Interesting.  I started to reverse-engineer the fglrx drivers but only got part-way through it.  It appears most of the clang/llvm mods by AMD are open source, but it's rather difficult to figure out which branch with which patches are used in which driver release.  Here's an example of how AMD has been reasonably transparent about what they've been doing with llvm:
http://llvm.org/devmtg/2013-11/slides/Stellard-R600.pdf
YIz
Hero Member
*****
Offline Offline

Activity: 686
Merit: 502


View Profile
February 08, 2017, 04:51:24 PM
 #588

Thanks for the good work zawawa and nerdalph, seems to be very close to Claymore's on my hardware and without the fee, but I'm unsuccessful in trying to make it start with Windows.
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 08, 2017, 05:18:30 PM
 #589

Thanks for the good work zawawa and nerdalph, seems to be very close to Claymore's on my hardware and without the fee, but I'm unsuccessful in trying to make it start with Windows.

My crystal ball has been abused with assembly programming, so I need to know the following:

(1) your OS,
(2) the coin you tried to mine, and
(3) the display driver you are using.

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 08, 2017, 05:40:11 PM
Last edit: February 08, 2017, 06:07:36 PM by zawawa
 #590

I finally tracked down the last bug and was able to confirm that LLVM/Clang can be used to generate binaries for AMD's proprietary OpenCL drivers. Since LLVM is only capable of generating ROCm binaries, I had to insert a thin ABI translation layer at the beginning of the kernel.

According to a source at AMD, the ROCm ABI is the same as the HSAIL/brig ABI.  When I used CodeXL to generate a kernel binary on a system with Crimson 16.10 drivers, the binary contained HSAIL as well as brig symbols.  Since AMDs drivers can handle HSA/brig kernels, I would think they should also handle ROCm binaries.


What I found out was that AMD's drivers add extra hidden arguments to kernels, which completely messes up the order of arguments. Therefore, modifications to LLVM are necessary in order to use it for AMD's proprietary drivers.

Interesting.  I started to reverse-engineer the fglrx drivers but only got part-way through it.  It appears most of the clang/llvm mods by AMD are open source, but it's rather difficult to figure out which branch with which patches are used in which driver release.  Here's an example of how AMD has been reasonably transparent about what they've been doing with llvm:
http://llvm.org/devmtg/2013-11/slides/Stellard-R600.pdf


I don't know... They just moved implicit arguments at the end of the argument list to to the beginning. This does not make any sense to me, and I did not find any traces or mentions of this seemingly arbitrary change. Things like this make me believe that open-source tools are crucial for GPGPU and AMD is not doing enough.

In any case, it doesn't matter to me because I'm almost done with my custom LLVM. Can't wait to actually use it...

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
hannusolo
Sr. Member
****
Offline Offline

Activity: 434
Merit: 257


View Profile
February 08, 2017, 06:14:43 PM
 #591

Building LLVM is taking forever, so I have to entertain myself with something else...
So I have been thinking for quite some time about adding a nice graphical user interface/remote monitor to Gateless Gate, and I think I want to go with MultiMiner as somebody suggested here a while ago:

https://github.com/nwoolls/MultiMiner


It's open-source, compatible with sgminer, and seems to be feature-complete with automatic currency-switching.
What do you guys think?

This is a good idea, it would make it more user friendly, which would help the average people who might have a good gpu but is using it only for gaming and doesn't want to mess with command windows.

But I think you shouldn't bother with comfort functions like this only if you really have notjhng to do Cheesy
h311m4n
Sr. Member
****
Offline Offline

Activity: 487
Merit: 266



View Profile
February 08, 2017, 06:53:00 PM
 #592

I had the same exact issue at first, it also happens to one of my rig,
It turns out that rig still using Catalyst 16.9, after a DDU uninstall and upgrading to 16.11, the problem seems to disappear

Alright thanks for the tip!
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 09, 2017, 04:59:07 PM
 #593

But I think you shouldn't bother with comfort functions like this only if you really have notjhng to do Cheesy

I know, I know... I'm still debugging my custom LLVM, but it is coming along.
I stripped away most of the unnecessary targets and tools to make it relatively lightweight.
I am taking my time here because it is crucial for miner development to have inline GCN assembly and a set target as opposed to ever-changing AMD drivers.
This may seem like a detour, but it is actually a necessary step for me to continue miner development without losing sanity.

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
jstefanop
Legendary
*
Offline Offline

Activity: 2090
Merit: 1396


View Profile
February 09, 2017, 09:40:20 PM
 #594

Seems like claymore is in the same spot...wouldnt be surprised if his recent "eureka" moment is from the discussion happening in this thread.

Project Apollo: A Pod Miner Designed for the Home https://bitcointalk.org/index.php?topic=4974036
FutureBit Moonlander 2 USB Scrypt Stick Miner: https://bitcointalk.org/index.php?topic=2125643.0
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 09, 2017, 10:53:34 PM
 #595

Seems like claymore is in the same spot...wouldnt be surprised if his recent "eureka" moment is from the discussion happening in this thread.

Oh, I'm now pretty sure he reads this thread. It's really funny in an ironic sense, but it does make things a bit more challenging for me. It's like playing poker with you being the only player with open hands. Oh well.

I am not entirely sure if I would take his current approach, though. I'm not going to feed my competition this time around, so he has to figure things out himself...

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
zawawa (OP)
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
February 09, 2017, 11:26:35 PM
 #596

Hallelujah! My GCN compiler is finally working!
Well, it is a Frankenstein of LLVM/Clang and CLRadeonExtender, but as long as it works...

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
February 09, 2017, 11:30:32 PM
 #597

Hallelujah! My GCN compiler is finally working!
Well, it is a Frankenstein of LLVM/Clang and CLRadeonExtender, but as long as it works...

Good work man, now dazzle us  Wink  Grin
fr4nkthetank
Legendary
*
Offline Offline

Activity: 2294
Merit: 1182


Now the money is free, and so the people will be


View Profile
February 09, 2017, 11:55:53 PM
 #598

Hallelujah! My GCN compiler is finally working!
Well, it is a Frankenstein of LLVM/Clang and CLRadeonExtender, but as long as it works...

Cant wait to test out your next update !!!  I just can't get enough of em flashy colors
xeridea
Sr. Member
****
Offline Offline

Activity: 449
Merit: 251


View Profile WWW
February 09, 2017, 11:58:34 PM
 #599

Seems like claymore is in the same spot...wouldnt be surprised if his recent "eureka" moment is from the discussion happening in this thread.

Oh, I'm now pretty sure he reads this thread. It's really funny in an ironic sense, but it does make things a bit more challenging for me. It's like playing poker with you being the only player with open hands. Oh well.

I am not entirely sure if I would take his current approach, though. I'm not going to feed my competition this time around, so he has to figure things out himself...
I find these assumptions a bit odd, he has been fastest 95% of the time since launch, and people assume he uses methods from slower miners.  I think recent improvements are just to keep up with Optiminer, and timing is a coincidence.  He already had ASM working well many weeks ago for all cards.  I can't know for sure, I just find it odd that every time there is a CM speedup, some assume automatically it is from others.

Keep up the good work, just posting my thoughts.

Profitability over time charts for many GPUs - http://xeridea.us/charts

BTC:  bc1qr2xwjwfmjn43zhrlp6pn7vwdjrjnv5z0anhjhn LTC:  LXDm6sR4dkyqtEWfUbPumMnVEiUFQvxSbZ Eth:  0x44cCe2cf90C8FEE4C9e4338Ae7049913D4F6fC24
FFI2013
Hero Member
*****
Offline Offline

Activity: 906
Merit: 507


View Profile
February 10, 2017, 12:11:31 AM
 #600

Seems like claymore is in the same spot...wouldnt be surprised if his recent "eureka" moment is from the discussion happening in this thread.

Oh, I'm now pretty sure he reads this thread. It's really funny in an ironic sense, but it does make things a bit more challenging for me. It's like playing poker with you being the only player with open hands. Oh well.

I am not entirely sure if I would take his current approach, though. I'm not going to feed my competition this time around, so he has to figure things out himself...
I find these assumptions a bit odd, he has been fastest 95% of the time since launch, and people assume he uses methods from slower miners.  I think recent improvements are just to keep up with Optiminer, and timing is a coincidence.  He already had ASM working well many weeks ago for all cards.  I can't know for sure, I just find it odd that every time there is a CM speedup, some assume automatically it is from others.

Keep up the good work, just posting my thoughts.
yes but zawawa was talking asm than suddenly claymore implemented it that's just weird timing but could be a coincidence
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30] 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!