If you search the Internet, this is an extremely common problem. It likely has to do with a mismatch between the monitor, graphics card and drivers. I've experienced this with my 6700XT and 7900XT.
What I can suggest is to make sure that drivers are up to date and SAM is enabled. This may require some BIOS changes to support.
Ryzen R7 5700X | B550 Gaming X | 2x16GB G.Skill 3600 | Radeon RX 7900XT