I did have the problem a long time ago..
when I got a 4k monitor.. I had to download the monitor driver and replace the Display Port cable with a better quality one..
AMD Ryzen 9 9900x, Asus Prime X 9070, Asus Crosshair X870E Hero, 64gb Kingston DDR5 6000, Samsung 980pro 1tb NVME, Samsung 970 EVO Plus 1tb NVME, DeepCool Mystique 360 AIO, Antec Titanium 1000w.