Have you tried using a tool like DDU or AMD Cleanup Utility to remove the old drivers and start fresh?
Ryzen 7 7700X, MSI MAG X670E Tomahawk Wifi, Corsair DOMINATOR® TITANIUM RGB 2x16GB DDR5 DRAM 6000MT/s CL30, Sapphire Pulse AMD Radeon RX 7900 XTX, Corsair HX Series™ HX1000, Corsair MP600 PRO NH 4TB