I don’t have nvidia card any more but I used to di this for my debian when I had.
First I would install proprietary nvidia drivers. In Debian you do this with terminal.
To see if this fixes tearing, run in terminal:
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
You don’t even need to restart the web browser to see the results. This will stick on the current session or until the next system reboot.
To make it stick after reboot I would do:
sudo apt update && sudo apt install nvidia-xconfig
Then run:
sudo nvidia-xconfig
This creates X configuration file /etc/X11/xorg.conf
Edit this file (as root) and in the “Screen” section add next line.
Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
Saved and it sticked on reboot.