I bought a new Samsung monitor (LC27G5xT) and it's working fine and all, but when I change the refresh rate to 240hz, half of the screen goes strange, I have never seen anything like it and I can't find anything like this on the internet. It only happens when I change it to 240hz when on anything lower it works perfectly. I have AMD Ryzen 7 5700G CPU, 32Gb of RAM, and AMD Radeon RX 6600 XT GPU. (I have two monitors)
I don't know what is causing it, but I have tried using only one monitor and changing the cable and where the DisplayPort cable is plugged, but nothing, it keeps doing this on 240hz.
If anyone knows what it is and what causes it, please let me know. All help and ideas are welcome. Thank you for your time.