Issue: 2 seconds after booting into windows my monitor was turning off and saying there is no signal. Unplugging and plugging back in the monitor would show the screen for 2 seconds again then proceed to turn off to no signal.
Troubleshooting stuff i did: Safe mode and deleting the AMD driver fixed the issue, so the driver is the culprit, likely a driver bug.
Updating to the latest driver did not fix the issue, as well as ddu clean, going to older or newer versions did not work either. I also tried rolling back windows updates, but could not roll back feature updates, so potentially the cause could have been in windows feature update, although i don't recall updating my pc the day prior.
workaround(fix): I unplugged my main monitor(dp 360hz) and plugged in a 2nd monitor(hdmi), the second monitor started working without black screening, so i plugged back in the main monitor and the main monitor started working. Not sure what is going on here but ive spent 14 hours trying to fix this and if any one has the same issue i hope this helps.
**bleep**. why does plugging a 2nd monitor fix this. and why was my computer working without issue for months and randomly today it decided nope you will have a black screen.