Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EtcHash on amd miners #1273

Closed
appsettings opened this issue Dec 3, 2020 · 12 comments
Closed

EtcHash on amd miners #1273

appsettings opened this issue Dec 3, 2020 · 12 comments
Assignees
Labels
miner issue Some miner is not behaving, like it should solved An issue has been solved

Comments

@appsettings
Copy link

Can etchash support be added also on amd miners, like PhoenixMiner and Teamred? And also to 4gb gpu?
https://github.com/eth-classic/etchash
Thanks

@RainbowMiner
Copy link
Owner

Sure, I'll check it.

@RainbowMiner RainbowMiner self-assigned this Dec 3, 2020
@RainbowMiner RainbowMiner added the miner issue Some miner is not behaving, like it should label Dec 3, 2020
RainbowMiner added a commit that referenced this issue Dec 3, 2020
- Added support for the new ETCHash algorithm that is used by the ETC blockchain from Nov 28, 2020. If you want to mine ETC, you should add -coin etc to your command-line, or , COIN: etc to your epools.txt file. See the start_miner_etc.bat and epools_example.txt files for examples (issue #1273)
RainbowMiner added a commit that referenced this issue Dec 3, 2020
- add EtcHash support (issue #1273)
@RainbowMiner RainbowMiner added the solved An issue has been solved label Dec 3, 2020
@appsettings
Copy link
Author

Thanks, i updated to the new version but i do not see etchash listed on the algo list (from web and from console).
I'm using a rig with 6 rx570 4gb gpu. Zombie mode is enabled.

@appsettings
Copy link
Author

I tried to check many settings and my setup, but i cannot find what's wrong and why etchash still does not appear as an available algo on all my AMD 4gb rigs.
I does show up on NVIDIA 8gb rigs.
Should it be working also on 4gb?

@RainbowMiner
Copy link
Owner

Hi, sorry for my late answer. I have found a condition, that could eventually use the wrong DAG size. I will fix this asap.

@RainbowMiner RainbowMiner removed the solved An issue has been solved label Dec 10, 2020
RainbowMiner added a commit that referenced this issue Dec 10, 2020
- use better max. EthDAGSize calculation (issue #1273)
RainbowMiner added a commit that referenced this issue Dec 10, 2020
- use better max. EthDAGSize calculation (issue #1273)
RainbowMiner added a commit that referenced this issue Dec 10, 2020
- fix zombiemode for Etchash (issue #1273)
RainbowMiner added a commit that referenced this issue Dec 10, 2020
- fix zombiemode for Etchash (issue #1273)
RainbowMiner added a commit that referenced this issue Dec 10, 2020
- fix zombiemode for Etchash (issue #1273)
@RainbowMiner RainbowMiner added the solved An issue has been solved label Dec 10, 2020
@RainbowMiner
Copy link
Owner

It is fixed now. A new release will be out soon.

@appsettings
Copy link
Author

Still does not show up to me, i cannot understand why. It doesn't benchmark either. Algo is enabled, it should use zergpool and mrr as pools. With zombie mode ethash is listed correctly and also mrr rig is active, but not with etchash.
I see this behaviour on 3 rigs, all with amd rx 570-580 4gb, using phoenix (usually).
I tried to see if the Test-VRAM function does return a proper value, and also tried to write-log the minmemgb value on phoenix miner file, but they seems correct. I also do not have any errors on the log, it seems that is etchash is filtered out somehow.
Just tell me if I can try any other modifications to find out the problem. Thanks

@RainbowMiner
Copy link
Owner

If you check the http://localhost:4000 of one of these machines, is the Etchash listed for ZergPool in the "Pools" section? If yes, please click the "+" and copy-n-paste the contents of the data here.

Also, please create a "Debug file" and upload it here. I really want to go to the bottom of this.

@appsettings
Copy link
Author

image

I confirm that etchash is never listed.

Thanks

@RainbowMiner
Copy link
Owner

Ok, so it is most probably not the miner but the pool selection. Could you please create and upload a "Debug file"?
Just click on "Debug file" @ http://localhost:4000

@RainbowMiner
Copy link
Owner

RainbowMiner commented Dec 11, 2020

I just had an idea. Look at the TTF and last block found values at ZergPool.

I could be, that ETC is disabled, due to one of the following constraints (set in config.txt):

  • MaxAllowedLuck if luck (= time_since_last_block / time_to_find_one_block) is greater than that number, increase the penalty up to 100% (0=disable, inactive for solo pools) [default=3]
  • MaxTimeSinceLastBlock if time_since_last_block is greater than that number, increase the penalty up to 100% (0=disable, time-units allowed in input, inactive for solo pools) [default=12h]

@appsettings
Copy link
Author

OMG i feel so stupid... I realized I had ETC in the list of excluded coins, in config.txt .... now I remember that I set it when there wasn't yet the dag file check.
I apologize for wasting your time, I clearly checked almost all settings but not that one.
I removed it and everything started to work properly. Thanks again

@RainbowMiner
Copy link
Owner

You are welcome. I am happy, that we found the cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
miner issue Some miner is not behaving, like it should solved An issue has been solved
Projects
None yet
Development

No branches or pull requests

2 participants