You have 2 choices:
1) Run dissimilar graphics providers (AMD, nVidia and/or Intel); OR
2) Make sure all cards are supported by the SAME driver
Mixing and matching drivers from the same vendor doesn't seem to work.
I tried two AMD cards at the same time, and then two nVidia cards at the same time. All of these cards were supported by different versions of their respective drivers. Windows gave me Error 31.
Special note about APUs: If you have an Intel iGPU, enable it in the BIOS. If you have an AMD iGPU, make sure it's supported by the same version of driver as your RX 580.
That would be my suggestion.