Problem with 2 monitors when one is DP and the other one HDMI

When I have two monitors and one is connected through DP and the other one through HDMI, the HDMI one won’t turn on until I press ctrl+alt+F2 ctrl+alt+F3.

Sometimes it turns on fine, without the workaround, but it’s like 1/20 times. Even if I use an empty X file, it keeps happening.

There’s more people affected by this issue:

GPU: Nvidia 1070
Nvidia driver: 455.45.01

Ok I just installed newer drivers and that seemed to fix it.