BIOS Factory Reset AMD RX580 GPU LINUX

Hey, I bought a used Sapphire Nitro+ RX 580 8GB GPU and it was used as a mining unit.

Is there any possible way to

  1. Check min and max Value similar to GPU-Z
    • This is to compare default benchmark
  2. Ways to flash on a linux machine or alternatives.

I’ve read articles on how to factory reset but all of it is on windows

You can sometimes get retail bios from manufacturer Websites.

There is also a gpu bios database on techpowerup

There are USB bootable dos solution for flashing
But you do so at your own risk