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

Verthash errors when not even mining Verthash #1388

Closed
paulpoco opened this issue Feb 6, 2021 · 30 comments
Closed

Verthash errors when not even mining Verthash #1388

paulpoco opened this issue Feb 6, 2021 · 30 comments
Assignees
Labels
miner issue Some miner is not behaving, like it should solved An issue has been solved

Comments

@paulpoco
Copy link

paulpoco commented Feb 6, 2021

I am not mining verthash but I keep seeing a message downloading verthash.dat every now and then. On the Server machine window.

On one of the clients I am getting something about verthash error on the main window pointing some line of code.

Edit: I'll have to catch full error but it said line 74
Edit2: the error on the server says this verthash.dat is 1.5GB it keeps trying to download, good thing my internet is unlimited.

@RainbowMiner
Copy link
Owner

If you have MiningRigRentals activated, Verthash miner will automatically download the full 1.2GB verhash.dat in the background. Verthash is currently pretty profitable on MMR. That warning should disappear after the download has finished. Good, that you have unlimited internet. Sorry for the inconvenience. I should have integrated an extra switch.

@RainbowMiner RainbowMiner self-assigned this Feb 6, 2021
@RainbowMiner RainbowMiner added the miner issue Some miner is not behaving, like it should label Feb 6, 2021
@jch9678
Copy link

jch9678 commented Feb 6, 2021

I'm having a somewhat similar problem. I have "EnableAutoAlgorithmAdd": "1" set and upon startup got the message about it downloading verthash.dat. However, it seems like nothing is being downloaded. The Downloads folder doesn't have anything related to verthash.dat. or verthash. The config confirms that the algo Verthash has not been added. If I manually add it, then the downloads begin.

@RainbowMiner
Copy link
Owner

I'll double check - I think, I just remember, that we have an "InfoOnly" call to the miners at the beginning. That could throw that warning message, but don't start the download.

RainbowMiner added a commit that referenced this issue Feb 6, 2021
- dont't warn of donwload, if InfoOnly call to miner (issue #1388)
@RainbowMiner
Copy link
Owner

@jch9678 that warning during startup is now removed.

@RainbowMiner
Copy link
Owner

@paulpoco VTC (Verthash) is on Zergpool, as well. So that could have triggered the download as well. I am thinking about adding a special switch, regarding that miner, so that a download of the verthash.dat is not on the plan automatically.

@jch9678
Copy link

jch9678 commented Feb 6, 2021

Thanks. Still having problem with Verthash not being auto added to the config file.

@RainbowMiner
Copy link
Owner

Still having problem with Verthash not being auto added to the config file.

Oh, I forgot to add it the Cleanup script.

RainbowMiner added a commit that referenced this issue Feb 6, 2021
- add Autolykos2 and VertHash to add algorithms (issue #1388)
@jch9678
Copy link

jch9678 commented Feb 6, 2021

Will a benchmark fail if it the miner points to the wrong port? Verthash is failing to benchmark I think because it needs to point to 20534 and it's pointing to 17xxx port at miningpoolhub. Or should it try another pool, that might be way too cumbersome though. If the miner actually does fail but it tries every pool a coin could be mined at, that would way too much downtime.

@jch9678
Copy link

jch9678 commented Feb 6, 2021

If possible could you please provide a hotfix ps1 I can just drop into my folder to fix miningpoolhub

@RainbowMiner
Copy link
Owner

Sure, download the following zip file and extract the both ps1 files into the Pools folder:
MiningPoolHub-fix.zip

@jch9678
Copy link

jch9678 commented Feb 6, 2021

Thank You!

@jch9678
Copy link

jch9678 commented Feb 6, 2021

hmmm It's still trying to use the 17032 port

@jch9678
Copy link

jch9678 commented Feb 6, 2021

Also just testing in a standalone verthash mining folder to confirm ports, I've found another issue. When we specify --cl-devices 0,1,2,3,4,5 this miner tries to use the onboard graphics. It fails to create the buffer but in this case only 5 of 6 gpu's are activated. I have to use --cl-devices 0,1,2,3,4,5,6 in order to get all 6 cards working. But I can confirm it mines correctly at miningpoolhub with port 20534 and using --cl-devices 0,1,2,3,4,5,6 for 6 cards.

@RainbowMiner
Copy link
Owner

Oh dear! This miner does have some problems. Could you please run Gputest.bat (or gputest.sh) and upload your gputestresult.txt here?

@RainbowMiner
Copy link
Owner

The 17032 port is the autoexchange port, used by the MiningPoolHub module - the 20534 port is the direct mining port. If you want to use it, use the MiningPoolHubCoins module instead of the MiningPoolHub.
But it should work on MiningPoolHub, with the 17032 port, as well. I'll double check.

RainbowMiner added a commit that referenced this issue Feb 6, 2021
- move warning message from miner module to downloader, so that you will no longer get that annoying warning message, even if you don't mine VTC (issue #1388)
@jch9678
Copy link

jch9678 commented Feb 6, 2021

I couldn't get it to work 17032. I use both modules, should I not be doing that?

I think the 17xxx ports are just for algo switching, not auto exchange

Algo switch mining (Port 17XXX)
We provide auto switching port for each algo. These ports switch coins time to time to mine the most profitable coin. Best for Rental, ASIC, FPGA miners.

@jch9678
Copy link

jch9678 commented Feb 6, 2021

Unfortunately I have to run now. I should be able to provide the gputest.bat in a few hours. Sorry.

@RainbowMiner
Copy link
Owner

No problem. Thank you in advance!

@RainbowMiner
Copy link
Owner

I couldn't get it to work 17032. I use both modules, should I not be doing that?

Yes, you should use only one. Either MiningPoolHub, which will make use of the 17xxx ports and do algo switching. Or MiningPoolHubCoins, which mines the most profitable coin, using the 20xxx ports

RainbowMiner added a commit that referenced this issue Feb 6, 2021
- temp. disable VTC, port 17032 isn't working (issue #1388)
@paulpoco
Copy link
Author

paulpoco commented Feb 6, 2021

It is F'ing up my systems alway trying to download some 1.25GB file.

Not using MRR. Not using Verthash. Not using MiningPoolHub.

Will just add verthash to not use at all

@RainbowMiner
Copy link
Owner

RainbowMiner commented Feb 6, 2021

@paulpoco

I am not mining verthash but I keep seeing a message downloading verthash.dat every now and then.

.. this is a bug - I will push a new release (almost ready). Actually, it's just a warning message - there shouldn't be a download, then.

@paulpoco
Copy link
Author

paulpoco commented Feb 6, 2021

@paulpoco VTC (Verthash) is on Zergpool, as well. So that could have triggered the download as well. I am thinking about adding a special switch, regarding that miner, so that a download of the verthash.dat is not on the plan automatically.

Only using Ethermine.

@RainbowMiner
Copy link
Owner

Yes, it's a rogue warning message, only. If no pool with Verthash - then there is no download. Just ignore the warning for now. I'll have the fix ready very soon.

RainbowMiner added a commit that referenced this issue Feb 6, 2021
- final fix to get rid of the annoying "Downloading verhash.dat" warning (issue #1388)
@RainbowMiner
Copy link
Owner

Ok, done. Sorry for the inconvenience!

@RainbowMiner RainbowMiner added the solved An issue has been solved label Feb 6, 2021
@RainbowMiner
Copy link
Owner

RainbowMiner commented Feb 6, 2021

@jch9678

Could you please run Gputest.bat (or gputest.sh) and upload your gputestresult.txt here?

Could you also open http://localhost:4000/alldevices in your browser and post the resulting JSON data? Thanks a lot in advance!

RainbowMiner added a commit that referenced this issue Feb 6, 2021
- hopefully fix AMD device selection (issue #1388)
@jch9678
Copy link

jch9678 commented Feb 6, 2021

gputestresult.txt

[
  {
    "Name": "GPU#00",
    "Index": 0,
    "PlatformId": 0,
    "PlatformId_Index": 0,
    "Type_PlatformId_Index": 0,
    "Vendor": "AMD",
    "Vendor_Name": "Advanced Micro Devices, Inc.",
    "Vendor_Index": 0,
    "Type_Vendor_Index": 0,
    "Type": "Gpu",
    "Type_Index": 0,
    "Type_Mineable_Index": 0,
    "OpenCL": {
      "DeviceIndex": 0,
      "Name": "AMD Radeon R9 200 Series",
      "Architecture": "Hawaii",
      "Type": "Gpu",
      "Vendor": "Advanced Micro Devices, Inc.",
      "GlobalMemSize": 4294967296,
      "GlobalMemSizeGB": 4,
      "MaxComputeUnits": 40,
      "PlatformVersion": "OpenCL 2.1 AMD-APP (2841.19)",
      "DriverVersion": "2841.19",
      "PCIBusId": "01:00",
      "DeviceCapability": null,
      "CardId": -1
    },
    "Model": "R9200",
    "Model_Base": "R9200",
    "Model_Name": "Radeon R9 200",
    "InstanceId": "PCI\\VEN_1002&DEV_67B1&SUBSYS_93951682&REV_00\\4&A2E6DA5&0&0008",
    "CardId": -1,
    "BusId": "01:00",
    "GpuGroup": "",
    "Data": {
      "AdapterId": 0,
      "Utilization": 100,
      "UtilizationMem": 33,
      "Clock": 947,
      "ClockMem": 1250,
      "FanSpeed": 45,
      "Temperature": 40,
      "PowerDraw": 250.0,
      "PowerLimit": 0,
      "PowerLimitPercent": 0,
      "PowerMaxLimit": 0,
      "PowerDefaultLimit": 0,
      "Pstate": "",
      "Method": "ab"
    },
    "DataMax": {
      "Clock": 947,
      "ClockMem": 1250,
      "Temperature": 45,
      "FanSpeed": 47,
      "PowerDraw": 250.0
    }
  },
  {
    "Name": "GPU#01",
    "Index": 1,
    "PlatformId": 0,
    "PlatformId_Index": 1,
    "Type_PlatformId_Index": 1,
    "Vendor": "AMD",
    "Vendor_Name": "Advanced Micro Devices, Inc.",
    "Vendor_Index": 1,
    "Type_Vendor_Index": 1,
    "Type": "Gpu",
    "Type_Index": 1,
    "Type_Mineable_Index": 1,
    "OpenCL": {
      "DeviceIndex": 1,
      "Name": "AMD Radeon R9 200 Series",
      "Architecture": "Hawaii",
      "Type": "Gpu",
      "Vendor": "Advanced Micro Devices, Inc.",
      "GlobalMemSize": 4294967296,
      "GlobalMemSizeGB": 4,
      "MaxComputeUnits": 40,
      "PlatformVersion": "OpenCL 2.1 AMD-APP (2841.19)",
      "DriverVersion": "2841.19",
      "PCIBusId": "06:00",
      "DeviceCapability": null,
      "CardId": -1
    },
    "Model": "R9200",
    "Model_Base": "R9200",
    "Model_Name": "Radeon R9 200",
    "InstanceId": "PCI\\VEN_1002&DEV_67B0&SUBSYS_93951682&REV_00\\4&246A276&0&0009",
    "CardId": -1,
    "BusId": "06:00",
    "GpuGroup": "",
    "Data": {
      "AdapterId": 1,
      "Utilization": 83,
      "UtilizationMem": 33,
      "Clock": 1000,
      "ClockMem": 1250,
      "FanSpeed": 48,
      "Temperature": 47,
      "PowerDraw": 207.5,
      "PowerLimit": 0,
      "PowerLimitPercent": 0,
      "PowerMaxLimit": 0,
      "PowerDefaultLimit": 0,
      "Pstate": "",
      "Method": "ab"
    },
    "DataMax": {
      "Clock": 1000,
      "ClockMem": 1250,
      "Temperature": 47,
      "FanSpeed": 49,
      "PowerDraw": 207.5
    }
  },
  {
    "Name": "GPU#02",
    "Index": 2,
    "PlatformId": 0,
    "PlatformId_Index": 2,
    "Type_PlatformId_Index": 2,
    "Vendor": "AMD",
    "Vendor_Name": "Advanced Micro Devices, Inc.",
    "Vendor_Index": 2,
    "Type_Vendor_Index": 2,
    "Type": "Gpu",
    "Type_Index": 2,
    "Type_Mineable_Index": 2,
    "OpenCL": {
      "DeviceIndex": 2,
      "Name": "AMD Radeon R9 200 Series",
      "Architecture": "Hawaii",
      "Type": "Gpu",
      "Vendor": "Advanced Micro Devices, Inc.",
      "GlobalMemSize": 4294967296,
      "GlobalMemSizeGB": 4,
      "MaxComputeUnits": 40,
      "PlatformVersion": "OpenCL 2.1 AMD-APP (2841.19)",
      "DriverVersion": "2841.19",
      "PCIBusId": "07:00",
      "DeviceCapability": null,
      "CardId": -1
    },
    "Model": "R9200",
    "Model_Base": "R9200",
    "Model_Name": "Radeon R9 200",
    "InstanceId": "PCI\\VEN_1002&DEV_67B0&SUBSYS_93951682&REV_00\\4&223A9A17&0&00E0",
    "CardId": -1,
    "BusId": "07:00",
    "GpuGroup": "",
    "Data": {
      "AdapterId": 2,
      "Utilization": 100,
      "UtilizationMem": 33,
      "Clock": 708,
      "ClockMem": 1250,
      "FanSpeed": 45,
      "Temperature": 41,
      "PowerDraw": 250.0,
      "PowerLimit": 0,
      "PowerLimitPercent": 0,
      "PowerMaxLimit": 0,
      "PowerDefaultLimit": 0,
      "Pstate": "",
      "Method": "ab"
    },
    "DataMax": {
      "Clock": 904,
      "ClockMem": 1250,
      "Temperature": 45,
      "FanSpeed": 47,
      "PowerDraw": 250.0
    }
  },
  {
    "Name": "GPU#03",
    "Index": 3,
    "PlatformId": 0,
    "PlatformId_Index": 3,
    "Type_PlatformId_Index": 3,
    "Vendor": "AMD",
    "Vendor_Name": "Advanced Micro Devices, Inc.",
    "Vendor_Index": 3,
    "Type_Vendor_Index": 3,
    "Type": "Gpu",
    "Type_Index": 3,
    "Type_Mineable_Index": 3,
    "OpenCL": {
      "DeviceIndex": 3,
      "Name": "AMD Radeon R9 200 Series",
      "Architecture": "Hawaii",
      "Type": "Gpu",
      "Vendor": "Advanced Micro Devices, Inc.",
      "GlobalMemSize": 4294967296,
      "GlobalMemSizeGB": 4,
      "MaxComputeUnits": 44,
      "PlatformVersion": "OpenCL 2.1 AMD-APP (2841.19)",
      "DriverVersion": "2841.19",
      "PCIBusId": "02:00",
      "DeviceCapability": null,
      "CardId": -1
    },
    "Model": "R9200",
    "Model_Base": "R9200",
    "Model_Name": "Radeon R9 200",
    "InstanceId": "PCI\\VEN_1002&DEV_67B0&SUBSYS_93951682&REV_00\\4&BC64714&0&00E2",
    "CardId": -1,
    "BusId": "02:00",
    "GpuGroup": "",
    "Data": {
      "AdapterId": 3,
      "Utilization": 100,
      "UtilizationMem": 33,
      "Clock": 759,
      "ClockMem": 1250,
      "FanSpeed": 48,
      "Temperature": 46,
      "PowerDraw": 250.0,
      "PowerLimit": 0,
      "PowerLimitPercent": 0,
      "PowerMaxLimit": 0,
      "PowerDefaultLimit": 0,
      "Pstate": "",
      "Method": "ab"
    },
    "DataMax": {
      "Clock": 799,
      "ClockMem": 1250,
      "Temperature": 46,
      "FanSpeed": 48,
      "PowerDraw": 250.0
    }
  },
  {
    "Name": "GPU#04",
    "Index": 4,
    "PlatformId": 0,
    "PlatformId_Index": 4,
    "Type_PlatformId_Index": 4,
    "Vendor": "AMD",
    "Vendor_Name": "Advanced Micro Devices, Inc.",
    "Vendor_Index": 4,
    "Type_Vendor_Index": 4,
    "Type": "Gpu",
    "Type_Index": 4,
    "Type_Mineable_Index": 4,
    "OpenCL": {
      "DeviceIndex": 4,
      "Name": "AMD Radeon R9 200 Series",
      "Architecture": "Hawaii",
      "Type": "Gpu",
      "Vendor": "Advanced Micro Devices, Inc.",
      "GlobalMemSize": 4294967296,
      "GlobalMemSizeGB": 4,
      "MaxComputeUnits": 44,
      "PlatformVersion": "OpenCL 2.1 AMD-APP (2841.19)",
      "DriverVersion": "2841.19",
      "PCIBusId": "05:00",
      "DeviceCapability": null,
      "CardId": -1
    },
    "Model": "R9200",
    "Model_Base": "R9200",
    "Model_Name": "Radeon R9 200",
    "InstanceId": "PCI\\VEN_1002&DEV_67B1&SUBSYS_93951682&REV_00\\4&3D1194C&0&00E3",
    "CardId": -1,
    "BusId": "05:00",
    "GpuGroup": "",
    "Data": {
      "AdapterId": 4,
      "Utilization": 98,
      "UtilizationMem": 33,
      "Clock": 947,
      "ClockMem": 1250,
      "FanSpeed": 46,
      "Temperature": 42,
      "PowerDraw": 245.0,
      "PowerLimit": 0,
      "PowerLimitPercent": 0,
      "PowerMaxLimit": 0,
      "PowerDefaultLimit": 0,
      "Pstate": "",
      "Method": "ab"
    },
    "DataMax": {
      "Clock": 947,
      "ClockMem": 1250,
      "Temperature": 44,
      "FanSpeed": 47,
      "PowerDraw": 245.0
    }
  },
  {
    "Name": "GPU#05",
    "Index": 5,
    "PlatformId": 0,
    "PlatformId_Index": 5,
    "Type_PlatformId_Index": 5,
    "Vendor": "AMD",
    "Vendor_Name": "Advanced Micro Devices, Inc.",
    "Vendor_Index": 5,
    "Type_Vendor_Index": 5,
    "Type": "Gpu",
    "Type_Index": 5,
    "Type_Mineable_Index": 5,
    "OpenCL": {
      "DeviceIndex": 5,
      "Name": "AMD Radeon R9 200 Series",
      "Architecture": "Hawaii",
      "Type": "Gpu",
      "Vendor": "Advanced Micro Devices, Inc.",
      "GlobalMemSize": 4294967296,
      "GlobalMemSizeGB": 4,
      "MaxComputeUnits": 44,
      "PlatformVersion": "OpenCL 2.1 AMD-APP (2841.19)",
      "DriverVersion": "2841.19",
      "PCIBusId": "03:00",
      "DeviceCapability": null,
      "CardId": -1
    },
    "Model": "R9200",
    "Model_Base": "R9200",
    "Model_Name": "Radeon R9 200",
    "InstanceId": "PCI\\VEN_1002&DEV_67B1&SUBSYS_93951682&REV_00\\4&39C7283F&0&00E4",
    "CardId": -1,
    "BusId": "03:00",
    "GpuGroup": "",
    "Data": {
      "AdapterId": 5,
      "Utilization": 100,
      "UtilizationMem": 33,
      "Clock": 947,
      "ClockMem": 1250,
      "FanSpeed": 48,
      "Temperature": 46,
      "PowerDraw": 250.0,
      "PowerLimit": 0,
      "PowerLimitPercent": 0,
      "PowerMaxLimit": 0,
      "PowerDefaultLimit": 0,
      "Pstate": "",
      "Method": "ab"
    },
    "DataMax": {
      "Clock": 947,
      "ClockMem": 1250,
      "Temperature": 46,
      "FanSpeed": 48,
      "PowerDraw": 250.0
    }
  },
  {
    "Name": "GPU#06",
    "Index": 6,
    "PlatformId": 1,
    "PlatformId_Index": 1,
    "Type_PlatformId_Index": 0,
    "Vendor": "INTEL",
    "Vendor_Name": "Intel(R) Corporation",
    "Vendor_Index": 1,
    "Type_Vendor_Index": 0,
    "Type": "Gpu",
    "Type_Index": 6,
    "Type_Mineable_Index": 6,
    "OpenCL": {
      "DeviceIndex": 1,
      "Name": "Intel(R) HD Graphics",
      "Architecture": "Intel(R) HD Graphics",
      "Type": "Gpu",
      "Vendor": "Intel(R) Corporation",
      "GlobalMemSize": 1494849946,
      "GlobalMemSizeGB": 1,
      "MaxComputeUnits": 6,
      "PlatformVersion": "OpenCL 1.2 ",
      "DriverVersion": "10.18.10.4252",
      "PCIBusId": null,
      "DeviceCapability": null,
      "CardId": -1
    },
    "Model": "HDGraphics",
    "Model_Base": "HDGraphics",
    "Model_Name": "Intel HD Graphics",
    "InstanceId": "PCI\\VEN_8086&DEV_0152&SUBSYS_21111462&REV_09\\3&11583659&0&10",
    "CardId": -1,
    "BusId": "00:02",
    "GpuGroup": "",
    "Data": {
      "AdapterId": 0,
      "Utilization": 0,
      "UtilizationMem": 0,
      "Clock": 0,
      "ClockMem": 0,
      "FanSpeed": 0,
      "Temperature": 0,
      "PowerDraw": 0,
      "PowerLimit": 0,
      "PowerLimitPercent": 0,
      "PowerMaxLimit": 0,
      "PowerDefaultLimit": 0,
      "Pstate": "",
      "Method": ""
    },
    "DataMax": {
      "Clock": 0,
      "ClockMem": 0,
      "Temperature": 0,
      "FanSpeed": 0,
      "PowerDraw": 0
    }
  },
  {
    "Name": "CPU#00",
    "Index": 7,
    "Vendor": "INTEL",
    "Vendor_Name": "GenuineIntel",
    "Type_PlatformId_Index": 0,
    "Type_Vendor_Index": 0,
    "Type": "Cpu",
    "Type_Index": 0,
    "Type_Mineable_Index": 0,
    "Model": "CPU",
    "Model_Base": "CPU",
    "Model_Name": "Intel(R) Celeron(R) CPU G1620 @ 2.70GHz",
    "Features": [
      "ssse3",
      "sse42",
      "sse3",
      "mmx",
      "sse",
      "x64",
      "sse41",
      "sse2"
    ],
    "Data": {
      "Cores": 2,
      "Threads": 2,
      "CacheL3": 2048,
      "Clock": 0,
      "Utilization": 0,
      "PowerDraw": 0,
      "Temperature": 0,
      "Method": ""
    },
    "DataMax": {
      "Clock": 0,
      "Utilization": 0,
      "PowerDraw": 0,
      "Temperature": 0
    }
  }
]

@jch9678
Copy link

jch9678 commented Feb 7, 2021

4.6.8.4 almost works. 1 - it didn't seem to obey Show Miner Window 2 - my 6th card didn't activate

@jch9678
Copy link

jch9678 commented Feb 7, 2021

addition to the above. I changed my config to exclude MiningPoolHub (use MiningPoolHubCoins instead) and RM benchmarked at zergpool. I then excluded zergpool for the below reasons, and RM acts like Verthash is not available at MiningPoolHubCoins.
debug_2021-02-06.zip

Do you happen to know what fee Verthash Miner uses? I used it at zergpool before it was implemented in RM and received about 1/3 less coins than calculated by minerstat.

@RainbowMiner
Copy link
Owner

RainbowMiner commented Feb 7, 2021

The miner is open source - there is no fee. I have just read through the code - I think I now know, how to address the AMD GPUs. Will push another update soon.

It is intended, that the miner is not running in it's own window. It needs a wrapper due to the fact, that it hasn't an API.

@RainbowMiner
Copy link
Owner

RainbowMiner commented Feb 7, 2021

and received about 1/3 less coins than calculated by minerstat.

The chain's difficulty is pretty high, so it is very well possible that a pool with low hashrate fails to deliver.

RainbowMiner added a commit that referenced this issue Feb 7, 2021
- AMD: use enumeration of devices, sorted by PCI bus id, thus including any Intel onboard (should solve issue #1388)
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

3 participants