I've tried all the bios from techpowerup.com for Sapphire RX 580 8GB Pulse.
For Windows, there is a simple solution for video cards with the original bios. I've used this before, and the drivers didn't give out errors.
atikmdag-patcher
Atikmdag patcher cancels driver signature verification for graphics cards on AMD/ATI chipsets to ensure high resolutions and frequencies
https://blockchain-media.org/atikmdag-patcher/
I have not checked this link, search the Internet for the latest version of this program. Or take photos of your video cards with batch numbers and ask other miners for the original bios.