Try
sudo touch /etc/modprobe.d/nvidia.conf
kate /etc/modprobe.d/nvidia.conf
This creates that file if it doesn’t exist and then opens it with kate.
and paste
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
save it and then terminal sudo dracut-rebuild
and reboot.
Works?