2

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.

2 Answers2

1

After trying all of the above solutions, while I was testing the card and trying to understand its behaviour I did this:

  • in the nvidia X server settings (the actual GUI), in PRIME profiles, I switched to Intel (power saving mode) and log out when prompted.

  • I then re-logged in and again I switched back to NVIDIA performance mode in PRIME Profiles.

  • I then logged out when prompted and after I re-logged in the external monitor got connected.

It looks like the nvidia PRIME Profile switcher has an inconsistent behaviour.

0

I had a similar issue which was solved by this. Apparently prime-select writes to a certain config file which can mess up external displays.

Open the file with any files editor:

sudo nano /lib/modprobe.d/nvidia-kms.conf

and comment out the nvidia-drm modeset option

# This file was generated by nvidia-prime
# Set value to 0 to disable modesetting
# options nvidia-drm modeset=1

You can find more information about it here. Essentially nvidia-drm provides anti-tearing solution, however it does this in a semi-convoluted way.