fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
249 stars 99 forks source link

XMR-Stak Error GPU 2 #228

Open DRiccardi92 opened 6 years ago

DRiccardi92 commented 6 years ago

Hey guys, im getting an error when launching XMR-Stak with my 3 GPU's

2x 1060 1x 750 ti

2x 1060 alone works

[2018-04-26 20:55:12] : Elevating due to Windows 7 or 8. You need Windows 10 to use fast memory without UAC elevation.

xmr-stak 2.4.3 26a5d65f

Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk). Based on NVIDIA mining code by KlausT and psychocrypt. Based on OpenCL mining code by wolf9466.

Configurable dev donation level is set to 2.0%

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

[2018-04-26 20:55:12] : Mining coin: monero7 [2018-04-26 20:55:12] : Starting NVIDIA GPU thread 0, no affinity. [2018-04-26 20:55:12] : Starting NVIDIA GPU thread 1, no affinity. [2018-04-26 20:55:12] : Starting NVIDIA GPU thread 2, no affinity. [CUDA] Error gpu 2: <C:/xmr-stak/xmrstak/backend/nvidia/nvcc_code/cuda_extra.cu> :280

i left the nvidia config default, even tried 5 threads 5 blocks and 12 bfactor and 100 bsleep, nothing helps..

Nvidia config file:

"gpu_threads_conf" : [ // gpu: GeForce GTX 1060 3GB architecture: 61 // memory: 2906/3072 MiB // smx: 9 { "index" : 0, "threads" : 34, "blocks" : 27, "bfactor" : 6, "bsleep" : 25, "affine_to_cpu" : false, "sync_mode" : 3, }, // gpu: GeForce GTX 1060 3GB architecture: 61 // memory: 2916/3072 MiB // smx: 9 { "index" : 1, "threads" : 34, "blocks" : 27, "bfactor" : 6, "bsleep" : 25, "affine_to_cpu" : false, "sync_mode" : 3, }, // gpu: GeForce GTX 750 Ti architecture: 50 // memory: 1954/2048 MiB // smx: 5 { "index" : 2, "threads" : 5, "blocks" : 5, "bfactor" : 8, "bsleep" : 25, "affine_to_cpu" : false, "sync_mode" : 3, },

],

Running Windows 7, Cuda 9 and latest Nvidia drivers.

psychocrypt commented 6 years ago

reduce the number of threads for the third gpu

DRiccardi92 commented 6 years ago

lower than 5 threads? It even happens with 1 thread. Could this be a driver problem? I installed the Nvidia driver, then plugged the third card in and it was installed by windows. im just scared if i do a DDU and fresh install that i mess everything up.

DRiccardi92 commented 6 years ago

Okay, fixed it. Now it works, was a driver issue. Fixed it by First pluggin one card in, reboot, next card, reboot, etc.

Now im happy hashing with 1460 H/s :)

DRiccardi92 commented 6 years ago

For all who still have that problem: Never use WLAN, or never use a wifi dongle thats near your gpus. Since im using ethernet cable, problems gone. :D

sandeshprasad commented 6 years ago

Hi DRiccardi92,

I'm getting the below error - [CUDA] Error gpu 0: <C:/xmr-stak/xmr-stak-2.4.5/xmrstak/backend/nvidia/nvcc_code/cuda_extra.cu>:381

You mentioned that it was a driver issue, can you please explain what exactly driver issue was?

I'm using 1080Ti and below is my config file -

"gpu_threads_conf" : [ // gpu: GeForce GTX 1080 Ti architecture: 61 // memory: 9335/11264 MiB // smx: 28 { "index" : 0, "threads" : 54, "blocks" : 84, "bfactor" : 6, "bsleep" : 25, "affine_to_cpu" : false, "sync_mode" : 3, },

Appreciate your help!