ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.98k stars 2.29k forks source link

--list-devices does not show all Nvidia GPUs. Mining only takes place on 1 GPU. #2257

Open pigubaoza opened 3 years ago

pigubaoza commented 3 years ago

Running the program results in usage of only 1 Nvidia GPU. Running nvidia-smi gives the following

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.48                 Driver Version: 410.48                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla P100-SXM2...  Off  | 00000002:01:00.0 Off |                    0 |
| N/A   35C    P0    41W / 300W |    293MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla P100-SXM2...  Off  | 00000003:01:00.0 Off |                    0 |
| N/A   35C    P0    30W / 300W |     10MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla P100-SXM2...  Off  | 0000000A:01:00.0 Off |                    0 |
| N/A   32C    P0    32W / 300W |     10MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla P100-SXM2...  Off  | 0000000B:01:00.0 Off |                    0 |
| N/A   44C    P0   152W / 300W |   4633MiB / 16280MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      3355      C   ethminer                                     283MiB |
|    3      3355      C   ethminer                                    4623MiB |
+-----------------------------------------------------------------------------+

ethminer --list-devices gives the following

ethminer 0.19.0-17+commit.ce52c740.dirty
Build: linux/release/gnu

 Id Pci Id    Type Name                          CUDA SM   Total Memory 
--- --------- ---- ----------------------------- ---- ---  ------------ 
  0 01:00.0   Gpu  Tesla P100-SXM2-16GB          Yes  6.0      15.34 GB 

Does any one know any way for me to make use of all 4 GPUs?

Environment (please complete the following information):

unsolvent commented 3 years ago

@pigubaoza This is not the miner fault, is your system. did you enable 4G decoding in mobo?