genesismining / sgminer-gm

A multi-algo GPU miner
GNU General Public License v3.0
340 stars 146 forks source link

Cygwin64 executable stops after 5-15 seconds #124

Open ku4eto opened 6 years ago

ku4eto commented 6 years ago

Managed to make the executable somehow. Used Cygwin64 and latest AMD APP/ADL SDK's, along with possibly latest Jansson.

Upon starting the miner, hash rate goes up for ~5 seconds, then it stops. Putting 2>>log.txt brings out the following issue:

[19:09:28] [THR0] Discarded work [19:09:28] Selecting pool.minexmr.com for work [19:09:28] [THR0] gen_stratum_work_cn() - algorithm = cryptonight [19:09:28] gen_stratum_work_cn() done. [19:09:28] Generated stratum work [19:09:28] [THR0] Pushing work from pool.minexmr.com to hash queue [19:09:30] GPU 1 found something? [19:09:30] [THR3] OCL NONCE 000009f5 (2549) found in slot 0 (found = 255)

This is with both: "no-extranonce": "false", and "no-extranonce": "true"

No idea why.

ku4eto commented 6 years ago

Update:

It doesn't matter if i use .bat (renamed to .sh and running as shell script), or a .conf file. It neither works with "monero":true, in the .conf file.

The issue comes purely when trying to submit ANY share.

Not a big issue, since the MynGW executable is working properly.