The laptop can't wake up after suspend.

I’m running Ubuntu 16.04 LTS on my Lenovo Z510 (i5-4200m, gt 740m). I installed the latest recommended drivers for my system and when I try to wake up after suspend I see the black screen and the following message displayed:

[ 136.274121] NVRM: Xid (PCI: 0000:07:00): 79, GPU has fallen off the bus.
[ 136.274121]

This problem also happens on other drivers, but the screen is just black, no message.(Not including the beta driver, in that case the biggest resolution possible is 640×480 and after suspend I see the login screen frozen).

add acpi_osi="!Windows 2013" to kernel command line for suspend/resume to work for kernels >3.14