I had the same problem, I fixed it just by activating the nvidia-suspend service.
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
This is describe in nvidia documentation Chapter 21. Configuring Power Management Support