For amdgpu I’m using
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
EndSection
For nouveau driver I didn’t find similar solution.
:~> LANG=C zypper se -si nouv
...
S | Name | Type | Version | Arch | Repository
---+-----------------------+---------+----------------------+--------+-------------------------------------------------------------
i+ | libdrm_nouveau2 | package | 2.4.118-150600.1.4 | x86_64 | Main Repository
i | libdrm_nouveau2-32bit | package | 2.4.118-150600.1.4 | x86_64 | Main Repository
i+ | libvdpau_nouveau | package | 23.3.4-150600.83.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | Mesa-dri-nouveau | package | 23.3.4-150600.83.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | xf86-video-nouveau | package | 1.0.17-150500.1.2 | x86_64 | Main Repository