How to save the X server settings?

The problem is most likely that you have a hybrid intel/nvidia graphics system so having a simple xorg.conf breaks it. You can try a conditional config snippet:
remove any xorg.conf in /etc/X11
create directory /etc/X11/xorg.conf.d
create file /etc/X11/xorg.conf.d/20-nvidia-antitear.conf with contents

Section "OutputClass"
    Identifier "nvidia-antitear"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "ForceCompositionPipeline" "true"
EndSection
1 Like