I have a windows 10 64 bit machine with all available updates. I have an evga nvidia 1080 gtx card with latest nvidia drivers. I have an asrock z170 itx mb with latest bios. I have PCI selected as my primary graphics card. I have disabled the onboard graphics in the BIOs.
When the hdmi port from my vid card is connected to my monitor, there is signal during the BIOS boot process, then I see the windows icon and about 2 seconds of the loading spinny wheel, then the screen goes black and no signal.
If I boot into the BIOS, the hdmi output works fine so it's not a monitor, mb or graphics card issue. It's something in Windows 10 that decides it doesn't like HDMI at some point during the boot process. I have tried uninstalling and re-installing drivers. No luck.
Everything I have read about this problem in online forums I have already tried without progress. Does anyone have any other ideas as to what I can try?
Edit 1
Tried reverting to an earlier BIOS (v2.3) no luck. Tried setting the PCI-E lane to Gen 3 instead of auto. No luck.