TeamRedminer now supports MTP. Problem is, if I start it with AM, the miner always crashs right after building the scratchpad. If I start the same command line directly without AM, it works perfect. Can you check that please? Maybe AM dont like the 1-2 seconds to build the scratchpad. It also doesnt matter which pool, it always crashs everywhere.
The diagnostic doesnt tell much:
Starting Diagnostics (30s). Awesome Miner Remote Agent version: 6.5.7
OS: Microsoft Windows 10 Pro 64-bit
AMD driver version: 18.6.1
AMD OpenCL Platform ID: 1
Microsoft VC++ 2013 runtime installed: No
Microsoft VC++ 2015 runtime installed: Yes
Starting Mining Software
Setting up Miner Engine. Instance: 3
Engine Type: TeamRedMiner, Auto Download: False, EnginePath: teamredminer-v0.5.3-win\teamredminer-v0.5.3-win\teamredminer.exe, Subtype: Disabled, CustomExecutable:
Properties: (WindowMode: ConsoleFormat, EngineType: TeamRedMiner, IsProfitMiner: True)
====================================================================================================
C:\Users\xxx\AppData\Local\AwesomeMinerService\UploadedSoftware\teamredminer-v0.5.3-win\teamredminer-v0.5.3-win\teamredminer.exe -a mtp -o stratum+tcp://mtp.eu.nicehash.com:3374 -u xxx -p x --platform 1 --api_listen=0.0.0.0:4030
====================================================================================================
> Team Red Miner version 0.5.3
> [2019-07-04 22:26:26] Note: failed to enable terminal color support, colors will be disabled.
Mining Engine Process started, PID: 2400
> [2019-07-04 22:26:27] Nicehash MTP mining detected, disabling ntime rolling.
> [2019-07-04 22:26:27] Initializing GPU 0.
> [2019-07-04 22:26:27] Initializing GPU 1.
> [2019-07-04 22:26:27] Initializing GPU 2.
> [2019-07-04 22:26:28] Watchdog thread starting.
> [2019-07-04 22:26:28] Runtime Command Keys: h - help, s - stats, e - enable gpu, d - disable gpu, q - quit
> [2019-07-04 22:26:28] API initialized on 0.0.0.0:4030
> [2019-07-04 22:26:28] Successfully initialized GPU 0: Vega with 64 CU (PCIe 06:00.0)
> [2019-07-04 22:26:28] Successfully initialized GPU 1: Vega with 64 CU (PCIe 03:00.0)
> [2019-07-04 22:26:28] Successfully initialized GPU 2: Vega with 64 CU (PCIe 17:00.0)
> [2019-07-04 22:26:28] Pool mtp.eu.nicehash.com connecting to address 172.65.195.77.
> [2019-07-04 22:26:28] Pool mtp.eu.nicehash.com successfully connected to address 172.65.195.77.
> [2019-07-04 22:26:28] Pool mtp.eu.nicehash.com successfully subscribed. (93 ms)
> [2019-07-04 22:26:28] Pool mtp.eu.nicehash.com authorization succeeded.
> [2019-07-04 22:26:28] Pool mtp.eu.nicehash.com set difficulty to 4096.000000
> [2019-07-04 22:26:28] Pool mtp.eu.nicehash.com received new job. (job_id: 0000023a71412d2b)
> [2019-07-04 22:26:28] Pool mtp.eu.nicehash.com extranonce subscribe succeeded. (111 ms)
> [2019-07-04 22:26:29] Dev pool connected and ready.
> [2019-07-04 22:26:30] GPU 0 - MTP scratchpad rebuilt in 1.73 secs.
> [2019-07-04 22:26:30] GPU 1 - MTP scratchpad rebuilt in 1.71 secs.
> [2019-07-04 22:26:30] GPU 2 - MTP scratchpad rebuilt in 1.74 secs.
> [2019-07-04 22:26:37] Pool mtp.eu.nicehash.com share accepted. (GPU0) (a:1 r:0) (258 ms)
> [2019-07-04 22:26:41] Pool mtp.eu.nicehash.com share accepted. (GPU0) (a:2 r:0) (208 ms)
> [2019-07-04 22:26:48] Pool mtp.eu.nicehash.com share accepted. (GPU1) (a:3 r:0) (175 ms)
====================================================================================================
Diagnostics done. Stopping miner process ...
Prepare stopping Mining Software
Stopping Mining Software
> [2019-07-04 22:26:56] Shutting down...
> [2019-07-04 22:26:56] API thread exiting.
Diagnostics completed
Edit: This issue will be already discussed in the TRM thread starting with this post: https://bitcointalksearch.org/topic/m.51712911
Hi Patrik! Let me know if you need dev assistance sorting this out, a little surprising, not sure what we’re doing to confuse you when running in normal mode. Would be great to sort it out!
If Awesome Miner sends API requests to TeamRedMiner when doing MTP mining, TeamRedMiner will terminate. If I use any other algorithm, it looks fine.
So I think it's something with the API request processing inside TeamRedMiner specifically when doing MTP mining. Please let me know if it's anything else you want me to investigate. Thanks!
Got it, so we have a seg fault for MTP API calls, we’ll address it ASAP.