GNOME doesn't detect display if turned off and on.
This is a laptop (G513QY). It is connected to two external monitors, one with HDMI and another with USB-C (Display port), which is directly connected to the dedicated GPU (no mux switches). The laptop's lid is turned off 24/7. If I turn off the display, GNOME detects it and makes the HDMI monitor the only active one. But if I turn on the display port monitor, GNOME fails to detect it. Let me know if any specific logs are needed, I'd be happy to provide any help I can.