djm34 / sgminer-msvc2015

sgminer-gm with msvc2015 support
GNU General Public License v3.0
22 stars 25 forks source link

cannot specify device #12

Closed 2W0 closed 7 years ago

2W0 commented 7 years ago

When i run my BAT file i get an error saying the device specified does not exist, followed by an immediate closing of the miner.

sgminer.exe -k lyra2z -o stratum+tcp://asia.lyra2z-hub.miningpoolhub.com:20581 -u me.workerme -p x --auto-fan --auto-gpu --temp-target 80 -d 1

I have a GTX 970 and an RX 480. If i do not specify a device in the command line, it tries to run with the NVIDIA and obviously does not work correctly. If i do specify the AMD(d 1) it says the device does not exist.

Any help?

djm34 commented 7 years ago

You have to precise the platform --gpu-platform 1 (most likely if it fails) meaning the nvidia cards are on gpu--platform 0 and the amd cards on --gpu-platform 1 (or eventually 2)