genesismining / sgminer-gm

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

sgminer with Nvidia cards? #103

Open m-dz opened 6 years ago

m-dz commented 6 years ago

Hi, it's not really an issue, but I'm not sure whether your miner will work nicely with Nvidia cards given all the AMD software needed - any comment on that? Web is also not very helpful here...

NaN-git commented 6 years ago

It was never intended that sgminer works with Nvidia cards, but some algorithms like ethash-new work nevertheless. Nvidia's OpenCL implementation has a few peculiarities like clFinish seems to be implemented as spin lock, which leads to 100% CPU load. Furthermore each Nvidia context needs a lot of RAM, which causes difficulties on low RAM rigs with many GPUs. This could be fixed in software, but it makes only sense, if parts of sgminer (like multi-platform support) are rewritten because it's legacy code anyhow. If you want to have the best performance for compute intense algorithm (basically everything except ethash and cryptonight), then you should use another miner because sgminer does not support CUDA, which is required to get the best performance with Nvidia GPUs.

m-dz commented 6 years ago

Thank you for the detailed reply! Do you have good experience with any other, "CUDA-oriented", miner?

NaN-git commented 6 years ago

There are different ccminer forks and a new Windows miner by Zawawa https://github.com/zawawawa/GatelessGateSharp, which I haven't tested yet.