Hello, I am experienceing this issue as well on an ASUS UX560U.
I tried going to nvidia-settings and using the Intel PRIME setting. I tried to log out and log in as suggested by nvidia-settings but that didn’t work (login screen loop). A reboot worked and I checked nvidia-settings which said I’m on the Intel profile. A suspend and resume worked with this settings.
However, switching back to the NVIDIA PRIME profile, logging out, not being able to log in properly, rebooting and making sure nvidia-settings reports NVIDIA PRIME - waking up from suspend did not work.
This made my suspect the problem is indeed an NVIDIA problem and not kernel related as my other research suggested. BTW, what is a PRIME profile? And if using the NVIDIA one the driver switches depending on graphics usage to preserve battery?
I do not use hibernation so I’m not checking it.
As per the link @mounir posted - I tried updating the initramfs and adding the boot options in grub (grub edit mode, not permanent) but that did not work. I did not try the policy-kit steps as they seemed irrelevant. Maybe this is not for the scope of this post and I should reply on mounir’s?
I hope I can get this working soon.
And also, I grepped up all of the Xorg.*.log files for NVIDIA or EE relating to that so I might find something such as the snippet @sandipt posted. There were none! That’s strange, so I also ask if this means that my problem is not NVIDIA related after all or maybe something else is fishy about the logs?