fireice-uk / xmr-stak-nvidia

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

Windows - Crash with 8 GPUs, 7 work fine #116

Open stna1981 opened 7 years ago

stna1981 commented 7 years ago

Hi,

I have 7x GTX 1060 @ 32/27 config, they work perfectly fine. When I add an 8th GPU of same type with 32/27, one of the other GPUs gets an Out of Memory error. Maybe the overall number of threads / blocks then is too high?

As a Workaround so far I set the number of threads for 4 GPUs from 32 to 30, then it seems to work without any significant impact on the hash rate. However, I would like to know whether there is any other solution that makes it possible to stay with the suggested default setting of 32 threads per card.

Best regards

Stefan

psychocrypt commented 7 years ago

Please try to increase bfactor by one. It could also be that that the gpu 4 is used for from windows and thats the reason why you need to decrease the memory.

stna1981 commented 7 years ago

Did not help, also bFactor 10 did not work. Windows should use the IGP, as the monitor is connected to the internal graphics HDMI port. Do you have any other suggestions?

Jordonhalpin commented 7 years ago

You may need to disable the IGP and use one of the cards as your video source, as Windows counts the IGP as another graphics processor and windows can only support 8 maximum.

stna1981 commented 7 years ago

Well that's a good idea. I knew about the 8 card limitation, but didn't consider the IGP to be counted as well. At the moment it seems to be stable with 28 threads instead of 32, but it has a small impact on performance. I'll try and let you know. As the rig is maintained remotely, the IGP is not really needed, I only used it for setting up the rig.

stna1981 commented 7 years ago

I can give an update. The issue happens when only 4GB of RAM are installed, although over 1GB of RAM is still free. With 8GB it does not happen. Can I tweak any settings in Windows so that it will also work with 4GB of RAM?

stna1981 commented 7 years ago

For me it helped to increase the virtual memory of Windows to 16 GB, in case so. else has the same issues.