I had the same problem as everyone, and this fixed it for me
https://powrusr.com/fix-the-dolby-vision-black-screen-issue-in-games-like-need-for-speed-heat/
It was initially meant for another issue, but works with this thread's issue too.
LG C2 + 5080.
It removes the Dolby Vision profile from your drivers, as I understand. So it's okay to use if you don't care about it. I prefer that solution over the one recommended here, forcing to use a limited color range.