A terrible tearing in GeForce 940MX

Installed it on a laptop Lenovo ideapad 520 distro Solus. After installing the drivers NVidia there was an awful tearing. There is no way to change anything in the driver settings. please help, how to solve the problem? https://i.imgur.com/3bCIwoq.png https://i.imgur.com/1WhNcnI.png

Try kernel parameter
nvidia-drm.modeset=1

sudo cat /sys/module/nvidia_drm/parameters/modeset
should return ‘Y’ if done right.

echo “nvidia-drm.modeset=1” | sudo tee /etc/kernel/cmdline.d/50-nvidia-drm.conf
sudo clr-boot-manager update

Yes, it helped! Thank you!