Hey,
Don't quote me but using an older CPU and a new GPU like the RX580 is prone to bottleneck. I don't know your current situation, but I would suggest saving up for a newer motherboard, CPU and GPU. For this, any B450 Motherboard should do with a Ryzen 5 2600 and a RX580.
Good Luck!