I'm on 19.04 on a laptop with an nvidia 1070 GTX. I have an external monitor connected via mini display port that was working perfectly.
I've been rebooting a few times to encrypt some partitions (home and swap) on both Ubuntu and Windows 10 (bitlocker) that is in dual boot on a separate ssd.
After this, with no apparent reason, the external monitor stopped working.
The weird thing is that it works perfectly during the login screen where I can see it as extended and I can even move my mouse cursor over it, but right after I login it just goes into energy saving mode. If I log out the external monitor works again only in the login screen.
What happened?
The nvidia driver I'm using is the official one in performance mode.