GPU driver issue RX 470

Hello I need some help with the my RX 470 video cards. I’ve been having a hard time getting the AMD-pro drivers to work right. When I install the drivers then I install a miner the miner sees the GPU, but after I reboot the system, it would boot into a off white screen. I fixed that by changing no splash to nomodeset. But when the system is back up the miners can no longer see the GPUs. I think the config files are not being set right. Do any of you have any idea how to fix this?

info
Ubuntu 16.04 LTS
2 RX 470
Dell T3500 with Xeon dual core CPU