Repository: ethereum-mining/ethminer

Issue #123: Mix Rig select all cards to mine -X
Created: 2017-07-05T22:41:32Z
i try to explain the problem as detailed as possible even if English isn't my first language:
I have a mix Rig with Nvidia + Amd Cards:
4x GTX 1070
2x HD 7950
1x R9 270x
i tried to run the miner with all cards my launch parameter:
ethminer.exe -F http://******:7777/*******/GTX*** -G --opencl-platform 0
with this command the program only selects the 4 1070s and if i do
ethminer.exe -F http://******:7777/*******/GTX*** -G --opencl-platform 2
i get all my Amd Cards.
ethminer.exe -F http://******:7777/*******/GTX*** -X --opencl-platform 1
gets the Intel Graphic HD
ethminer.exe -F http://******:7777/*******/GTX*** -X --opencl-platform 2
gets one amd card but 0 mh/s all the time.
ethminer.exe -F http://******:7777/*******/GTX*** -X --opencl-platform 0
gets one 1070 with 0 mh/s.
ethminer.exe -F http://******:7777/*******/GTX*** -X --cuda-opencl
https://gyazo.com/fc8992a62e0d0e736ec068423a3163ad
ethminer.exe -G --list-devices

Listing OpenCL devices.
FORMAT: [deviceID] deviceName
[0] GeForce GTX 1070
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 8589934592
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2147483648
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
[1] GeForce GTX 1070
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 8589934592
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2147483648
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
[2] GeForce GTX 1070
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 8589934592
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2147483648
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
[3] GeForce GTX 1070
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 8589934592
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2147483648
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
[4] Intel(R) HD Graphics 610
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 1655360717
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1655360717
CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[5] Tahiti
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 3221225472
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2952790016
CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[6] Pitcairn
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 2147483648
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1879048192
CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[7] Tahiti
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 3221225472
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2952790016
CL_DEVICE_MAX_WORK_GROUP_SIZE: 256

JCK
PS: all launch parameter were tested with --farm-recheck 2000 and without. And ALL cards are stock and work fine with claymore 9.6.

Duplicate issue #243: Mixed AMD/Nvidia cards can't work
Created: 2017-08-18T04:16:54Z
Centos 7
Ethminer are generated by source compilation (master:a537ed9bb5bd)
NVIDIA-SMI 375.26 Driver Version: 375.26
amdgpu-pro-driver Driver Version: 17.30-465504 for centos7
./ethminer --list-devices

Listing OpenCL devices.
FORMAT: [deviceID] deviceName
[0] Ellesmere
	CL_DEVICE_TYPE: GPU
	CL_DEVICE_GLOBAL_MEM_SIZE: 8566140928
	CL_DEVICE_MAX_MEM_ALLOC_SIZE: 4244635648
	CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[1] GeForce GTX 1070
	CL_DEVICE_TYPE: GPU
	CL_DEVICE_GLOBAL_MEM_SIZE: 8507555840
	CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2126888960
	CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
[CUDA]:
Listing CUDA devices.
FORMAT: [deviceID] deviceName
[0] GeForce GTX 1070
	Compute version: 6.1
	cudaDeviceProp::totalGlobalMem: 8507555840

Only -G or -U work very well.
./ethminer -G --opencl-device 0 --farm-recheck 200 -F http://127.0.0.1:8080/eth01
./ethminer -U --cuda-devices 1  --farm-recheck 200 -F http://127.0.0.1:8080/eth01

But -G and -U can't work.
./ethminer -G --opencl-device 0 -U --cuda-devices 1  --farm-recheck 200 -F http://127.0.0.1:8080/eth01

use -X also don't work.
./ethminer -X  --farm-recheck 200 -F http://127.0.0.1:9090/eth03
  ℹ  01:26:42|ethminer  Found suitable OpenCL device [ Ellesmere ] with 8566140928  bytes of GPU memory
  m  01:26:42|ethminer  Getting work package...
  m  01:26:42|ethminer  Got work package: #e46e2de1
  m  01:26:43|ethminer  Mining on #e46e2de1… [A0+0:R0+0:F0]
  m  01:26:43|ethminer  Total: 0.00MH/s ( )
  m  01:26:43|ethminer  Mining on #e46e2de1… [A0+0:R0+0:F0]
  m  01:26:43|ethminer  Total: 0.00MH/s ( )
  m  01:26:43|ethminer  Mining on #e46e2de1… [A0+0:R0+0:F0]
  m  01:26:43|ethminer  Total: 0.00MH/s ( )
  m  01:26:43|ethminer  Mining on #e46e2de1… [A0+0:R0+0:F0]
  m  01:26:43|ethminer  Total: 0.00MH/s ( )

./ethminer -X --opencl-platform 0 --farm-recheck 200 -F http://127.0.0.1:9090/eth03
  ℹ  20:12:18|ethminer  Found suitable OpenCL device [ Ellesmere ] with 8566140928  bytes of GPU memory
  m  20:12:18|ethminer  Getting work package...
  m  20:12:18|ethminer  Got work package: #3032f35b
  m  20:12:19|ethminer  Mining on #3032f35b… [A0+0:R0+0:F0]
  m  20:12:19|ethminer  Total: 0.00MH/s ( )
  m  20:12:19|ethminer  Mining on #3032f35b… [A0+0:R0+0:F0]
  m  20:12:19|ethminer  Total: 0.00MH/s ( )
  m  20:12:19|ethminer  Mining on #3032f35b… [A0+0:R0+0:F0]
  m  20:12:19|ethminer  Total: 0.00MH/s ( )
  m  20:12:19|ethminer  Mining on #3032f35b… [A0+0:R0+0:F0]

./ethminer -X --opencl-platform 1 --farm-recheck 200 -F http://127.0.0.1:9090/eth03
  ℹ  01:23:45|ethminer  Found suitable OpenCL device [ GeForce GTX 1070 ] with 8507555840  bytes of GPU memory
  m  01:23:45|ethminer  Getting work package...
  m  01:23:45|ethminer  Got work package: #476a6ddb
  m  01:23:45|ethminer  Mining on #476a6ddb… [A0+0:R0+0:F0]
  m  01:23:45|ethminer  Total: 0.00MH/s ( )
  m  01:23:45|ethminer  Mining on #476a6ddb… [A0+0:R0+0:F0]
  m  01:23:45|ethminer  Total: 0.00MH/s ( )
  m  01:23:45|ethminer  Mining on #476a6ddb… [A0+0:R0+0:F0]
  m  01:23:45|ethminer  Total: 0.00MH/s ( )
  m  01:23:45|ethminer  Mining on #476a6ddb… [A0+0:R0+0:F0]
  m  01:23:45|ethminer  Total: 0.00MH/s ( )

Closing comment (2017-08-23T10:34:16Z): Probably duplicate of #123