Bug 87179

Summary: [NVE7] Warning while reenabling Optimus dedicated card
Product: xorg Reporter: Tobias Klausmann <tobias.johannes.klausmann>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
kernel 3.18 oops
none
kernel 3.17 oops
none
possible fix
none
nouveau errors with "110702: possible fix" none

Description Tobias Klausmann 2014-12-10 02:55:33 UTC
Created attachment 110662 [details]
kernel 3.18 oops

Sometimes while waking the dedicated card, the system oopses and gets unresponsive (sometimes this hangs the entire graphics system). 
Steam triggers this very easily somehow...

These hangs plague me for a while now, but this is the first hang i could capture in a whole!

Kernel: 3.18.0, occurred with kernels at least down to 3.16
Comment 1 Tobias Klausmann 2014-12-10 02:57:04 UTC
Created attachment 110663 [details]
kernel 3.17 oops

I found an additional oops with 3.17 "yay"
Comment 2 Ben Skeggs 2014-12-11 00:08:22 UTC
Created attachment 110702 [details] [review]
possible fix

Is this issue creproducible for you?  If so, please give the attached patch a try and see if it helps!
Comment 3 Tobias Klausmann 2014-12-11 02:06:44 UTC
Created attachment 110703 [details]
nouveau errors with "110702: possible fix"

While running with the above patch, several (40+) suspend/resume cycles worked fine. The initial Warning does not seem to get triggered anymore.

Later on the machine hung while resuming, but recovered from the hang. The attached log is from that timeframe. ~2 min later X was hanging, not recovering. Could ssh in, nothing in dmesg.

I'm not sure if this is still the same bug or if i should open yet another one.
Comment 4 Ilia Mirkin 2015-10-22 07:11:39 UTC
Tobias, does this still happen with recent kernels?
Comment 5 Tobias Klausmann 2015-10-22 07:47:26 UTC
Haven't seen that one in a while now, i guess we can safely close this now!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.