Suspend problem

Hi,when I put my device to suspend this screen appears and I have to turn off the device manually, and thus all open programs are deleted, what is the solution?

Nvidia Graphics may crash upon Resume from suspend. Using nomodeset may help to resolve this.

sudo nano /etc/default/grub

Edit:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To change it to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"