Can't see 5th and 6th Amd rx580 card on ubuntu 16.04


Hello. I got problem with my AMD rx 580 cards. When installing I have to disconnect two of them (all are connected by risers) to make the installation. Otherwise I get this error. Now everytime I connect 5th card I get this error or I see a black screen. Any suggestions? Thanks in advance.