[Ethereum] ethminer not recognizing multiple GPUs (AMD Radeon / Ubuntu)


I have 5 GPUs on my setup currently:

$ sudo aticonfig --list-adapters
  * 0. 01:00.0 AMD Radeon (TM) R7 370 Series
    1. 02:00.0 AMD Radeon (TM) R7 370 Series
    2. 03:00.0 AMD Radeon (TM) R7 370 Series
    3. 04:00.0 AMD Radeon (TM) R7 370 Series
    4. 05:00.0 AMD Radeon (TM) R7 370 Series

However ethminer only seems to recognize one:

$ sudo ethminer --list-devices
Listing OpenCL devices.
FORMAT: [deviceID] deviceName
[0] Pitcairn

I followed the GPU setup instructions here: https://github.com/ethereum/go-ethereum/wiki/Mining#gpu-mining

Any advice on getting ethminer to recognize all GPUs?

Best Answer

For people who're having this problem with a headless Windows box:

ethminer must be started from the system, not via Remote Desktop and there should be a dummy plug or a real monitor connected to one GPU.

This is how I solved it:

  1. create a bat file which starts ethminer
  2. press Windows + R -> type "shell:startup" -> ENTER
  3. put a link to your .bat file in the folder that opens
  4. Let your box login automatically
  5. reboot and you're done

If you want to check on the system from time to time remotely, use Teamviewer or Chrome remote desktop