If the card was working fine, then suddenly no longer detected and no output, it's not a driver issue.
Make sure the BIOS setting for primary display is correct. Check whether the card has correct power connections, fan(s) spin. Check other outputs and cables. As a last resort you could try the card in another system.
Ryzen R7 5700X | B550 Gaming X | 2x16GB G.Skill 3600 | Radeon RX 7900XT
Ryzen R7 5700G | B550 Gaming X | 2x8GB G.Skill 4000 | Radeon Vega 8 IGP
Ryzen R5 5600 | B550 Gaming Edge | 4x8GB G.Skill 3600 | Radeon RX 6800XT