Hello. After a rather long pause from using Gentoo, I've returned when I got a new PC. I have an nVidia video card and the monitor is connected with a DisplayPort cable. Because of this, on Windows, for example, when I turn the monitor off, the system notices this and I get a "disconnected device" sound and a "new device connected" sound when I turn it back on.
Now, the problem in Gentoo is with this detection. I have compiled the kernel and everything works just fine... until I turn off the monitor (or it goes in standby on its own) when compiling for a long time.
If I turn it off, when I turn it back on it just stays in standby mode, so the video card isn't recognizing that it has a monitor connected to it again. No matter what I do, the monitor won't go out of standby until I restart with CTRL-ALT-DEL. I can confirm that the system is not locked up since I can access it via SSH.
I don't know what to adjust / compile to get rid of this problem. Can you please help me with this?
Thank you.

