Bug 187761

Summary: Nvidia GPU unusable after suspend.
Product: Drivers Reporter: eke2152
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: rui.zhang
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.8 Subsystem:
Regression: No Bisected commit-id:
Attachments: acpidump

Description eke2152 2016-11-15 11:13:50 UTC
Created attachment 244591 [details]
acpidump

Asus Laptop X555UQ Specs:
i5-6200U, nvidia 940MX, 4GB RAM, Realtek RTL8723BE PCI-E NIC card

I tried with various distros with kernel 4.8, 4.9rc4-5, linux boots ok and runs ok. But after an S3 cycle nvidia gpu becomes unusable and when trying to use it system freezes. So here is what i do.

DRI_PRIME=1 glxgears --> works ok nvidia power on when exiting power off
Suspend-resume
After resume dmesg log says "nouveau failed to idle channel 0 [DRM]"
DRI_PRIME=1 glxgears --> system freeze it doesn't even respond magic keys.

When freezed i power off with power button after that there is a strange issue, PC power offs instead of sleep so i reflashed the BIOS and problem solved.

Also i tried with proprietary drivers same issue.
(It says "failed to copy vbios to system memory" after suspend and freeze.)