Hi,
When nvidia mode is set in nvidia prime, i am not able to resume from suspend and always get black screen. This is known issue in ubuntu forums and no one has solution for it.
http://askubuntu.com/questions/793347/ubuntu-16-04-nvidia-geforce-940m-black-screen-after-suspend
Everyone says use your intel one! but that’s not a solution.
When i switch to console (ALT CNT F1) i am able to resume from suspend but can’t switch to graphical mode (ALT CNT F7).
I investigate the issue a little bit. After resume, bbswitch reports that the nvidia card is OFF. When i try to turn it one by tee /proc/acpi/bbswitch <<<ON, It remains OFF. I got this error in dmesg after : nvidia refused to change power state currently in d3.
I will be happy to help fixing this issue because everytime i have to close everything and shut it down.
Edit : I investigated the issue more. Here are some lines from dmesg: (i got from console)
[ 64.298880] nvidia 0000:03:00.0: Refused to change power state, currently in D3
[ 64.368435] NVRM: GPU at 0000:03:00.0 has fallen off the bus.
[ 64.368534] NVRM: A GPU crash dump has been created. If possible, please run
NVRM: nvidia-bug-report.sh as root to collect this data before
NVRM: the NVIDIA kernel module is unloaded.
I’ve also attached nvidia bug report file below.
Any help would be appreciated.
nvidia-bug-report.log.gz (58.1 KB)