I'm on ubuntu 20.04. I'm using an external monitor with a laptop as shown in nvidia-settings here:
nominally this works. But, to get rid of tearing on the external display, I need to select "Force Composition Pipeline" under Advanced. This is fine, but when I try to save the X config file, a restart would remove my PRIME display completely. Only my external monitor works.
I would have to delete /etc/X11/xorg.conf to get the display back.
Is there a way to save this config and keep the prime display?