I have Ubuntu 18.04 installed on my Acer Nitro 5 notebook, and I'm using the NVIDIA driver metapackage nvidia-driver-450. I'm observing a lot of screen tearing in my external monitor, connected to the notebook via HDMI cable. I can observe it in videos and when I drag windows around. However, there is no screen tearing on the notebook monitor, only on the external one.
I have already tried the options nvidia-drm modeset=1
solution, it solved the screen tearing only for the notebook monitor, but not the external one.
I also have tried setting "Force Composition Pipeline" in the NVIDIA X Server Settings, it solves the issue, but when I restart the system the notebook monitor stops being recognized (the screen is black, and it is not listed in xrandr). It seems like it is because the Notebook monitor is a PRIME Display, as shown in the link below, and it can't deal with the X Configuration File that the X Server generates.
NVIDIA X Server Settings image
Can someone help me? The only thing I haven't tried yet is using the X X.Org Server (xserver-xorg-video-nouveau), but I didn't want to use it because I have an GTX 1650, and I understand the Nouveau isn't that good.