After switching from Nvida to AMD Radeon graphics cards on Windows 10, it started flaking with how it would handle the HDTV I was running on HDMI.
I verified it wasn't the cord or the TV by swapping cords and trying other devices.
The chromecast worked fine. Other cords worked fine. Other monitors with the PC worked fine. So that leaves driver issues... great.
So I started looking at reinstalling the graphics drivers. I found this:
https://www.wagnardsoft.com/content/ddu-guide-tutorial
I rebooted into Safe Mode without networking (hold down shift while pressing the restart option, Advanced Restart > Advanced Options > Startup Options > F4 on the keyboard)
I uninstalled NVidia and I uninstalled AMD and I reinstalled AMD from the three separate direct driver files found in the C:/AMD folder.
And after rebooting it worked!
UPDATE:
After two days it reverted back into a bad state stuck at 640x480 again!
So I went and restored a system restore point and immediately changed the group policy to disallow Windows Update from installing drivers.
https://www.windowscentral.com/how-disable-automatic-driver-updates-windows-10
Happy day!