fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
248 stars 98 forks source link

Failure and then auto close immediately #140

Closed zhanghaoyue closed 7 years ago

zhanghaoyue commented 7 years ago

I run the xmr-stak-nvidia.exe, I think I saw some failure message but it happened too fast and it closed immediately. I output the log but it does not show error:

[2017-09-30 23:08:01] : Connecting to pool pool.minexmr.com:5555 ... [2017-09-30 23:08:01] : Connected. Logging in... [2017-09-30 23:08:02] : Difficulty changed. Now: 15000. [2017-09-30 23:08:02] : New block detected. [2017-09-30 23:08:03] : New block detected. [2017-09-30 23:11:41] : Connecting to pool pool.minexmr.com:5555 ... [2017-09-30 23:11:41] : Connected. Logging in... [2017-09-30 23:11:41] : Difficulty changed. Now: 15000. [2017-09-30 23:11:41] : New block detected.

Is there a way to stop the program from auto closing?

psychocrypt commented 7 years ago

I think it is a wrong config. Please start the miner fom the terminal. Also post your config and which gpu do you own.

Am 01.10.2017 8:15 Vorm. schrieb "Harry Zhang" notifications@github.com:

I run the xmr-stak-nvidia.exe, I think I saw some failure message but it happened too fast and it closed immediately. I output the log but it does not show error:

[2017-09-30 23:08:01] : Connecting to pool pool.minexmr.com:5555 ... [2017-09-30 23:08:01] : Connected. Logging in... [2017-09-30 23:08:02] : Difficulty changed. Now: 15000. [2017-09-30 23:08:02] : New block detected. [2017-09-30 23:08:03] : New block detected. [2017-09-30 23:11:41] : Connecting to pool pool.minexmr.com:5555 ... [2017-09-30 23:11:41] : Connected. Logging in... [2017-09-30 23:11:41] : Difficulty changed. Now: 15000. [2017-09-30 23:11:41] : New block detected.

Is there a way to stop the program from auto closing?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-nvidia/issues/140, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsxtq0NNwQ7bCW06Vk3eMW7zHGxIT6rks5sny36gaJpZM4PpzDJ .

zhanghaoyue commented 7 years ago

"gpu_threads_conf" : [ { "index" : 0, "threads" : 32, "blocks" : 84, "bfactor" : 6, "bsleep" : 25, "affine_to_cpu" : false, }, ],

I'm using a 1080 Ti. I do open from terminal but it will pop a new console which is the same as I directly start the .exe

psychocrypt commented 7 years ago

Do you started from the terminal cmd? Please lower the block count could be that you get an out of memory.

Am 01.10.2017 8:25 Nachm. schrieb "Harry Zhang" notifications@github.com:

"gpu_threads_conf" : [ { "index" : 0, "threads" : 32, "blocks" : 84, "bfactor" : 6, "bsleep" : 25, "affine_to_cpu" : false, }, ],

I'm using a 1080 Ti. I do open from terminal but it will pop a new console which is the same as I directly start the .exe

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-nvidia/issues/140#issuecomment-333396184, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsxtgC7JItFubIOxmQk9kdaYsy-zqeKks5sn9kRgaJpZM4PpzDJ .

zhanghaoyue commented 7 years ago

I started from cmd or powershell, it still opens a new console. It works now as I lower the block counts. But still if you make it not close if encounter any error that would be great.

psychocrypt commented 7 years ago

Normally the miner wait before the shell is closed. But this is not the case if an error is triggered. I will keep it in mint and try to change it in the next release.

psychocrypt commented 7 years ago

Initial issues was solved by reducing the thread or block count.