I've been searching the internet for weeks trying to find a solution but I believe I have come to find the culprit.
I have a Samsung Oled G9 monitor. When running at 240Hz with HDR enabled and Freesync enabled, every so often, the screen will flash gray with separated blue lines going through it vertically. This appears to be an issue with many people, and could be related to DSC as well. I Don't know if this is the right place to be troubleshooting further but I don't experience this issue at all with freesync off, or if I run the monitor at 120hz instead. Below, I have provided a list of a few articles I've found that have this issue and all relate to freesync in some way. Hoping to find something that solves this finally.
https://www.reddit.com/r/AMDHelp/comments/1caeojf/an_important_update_regarding_grey_screen_with/
^ This post is significant in my research as it appears that this was way more in-depth and a ton of troubleshooting went into it. Definitely worth a read.
https://linustechtips.com/topic/1396690-6800xt-freesync-on-causes-grey-screen/
https://www.reddit.com/r/AMDHelp/comments/owagrq/comment/h8fgxm7/?utm_name=web3xcss
https://www.reddit.com/r/AMDHelp/comments/owagrq/comment/jiql4wb/?utm_name=web3xcss