nicehash / excavator

NiceHash's proprietary low-level CUDA miner
https://www.nicehash.com
53 stars 19 forks source link

Scrolling Excavator window gives rejected shares #255

Closed borzaka closed 3 years ago

borzaka commented 6 years ago

Basic info:

How to reproducate:

image

A done again; when I released the scrollbar handle, it scrolls down, and I was seeing this: image

No shares accepted during the scrolling.

t4nja commented 6 years ago

I'll take a look, thanks for pointing it out. My first guess would be this are some stale/old shares that somehow got stuck in the thread that's writing to the command line.

EvgeniyKorepov commented 6 years ago

@dropky I also noticed similar problems. It seems that some of the important code is executed in the main thread, or part of the exchange between the threads passes through the main thread. If I'm not mistaken, the main thread of the console application stops when scrolling, pasting / copying, dragging the window?, resizing the window?.

nicehashdev commented 3 years ago

This is something we will not fix - it happens because threads get blocked and shares are not submitted then. Do not scroll. Suggest using API to get information about mining. Closing.