I got this problem since i updated my amd driver to the latest one. It has worked for 4 months or so, it was used for mining. I have tried to uninstall the driver with ddu and also tried to install 17.7.2 driver
My system :
Fixed this issue by just flashing the rx 560 to the original gpu bios.