Bug 82843

Summary: [NV96][Regression][Bisected] Failure to resume
Product: xorg Reporter: Trevor Davenport <trevor.davenport>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Trevor Davenport 2014-08-20 06:18:44 UTC
Since 3.15 my laptop has failed to resume while using nouveau (3.14 has been fine).  Finally got a chance to bisect.

Here is the bisect log:

# first bad commit: [ecf24de071f4f6cea79ecef5d990794df5875ee1] drm/nouveau: fix fbcon not being accelerated after suspend

Possible duplicate is Bug 80506.
Comment 1 Trevor Davenport 2014-08-20 06:27:54 UTC
Aug 19 21:46:27 f20 kernel: ACPI: Waking up from system sleep state S3
Aug 19 21:46:27 f20 kernel: PM: noirq resume of devices complete after 111.246 msecs
Aug 19 21:46:27 f20 kernel: PM: early resume of devices complete after 0.101 msecs
Aug 19 21:46:27 f20 kernel: usb usb3: root hub lost power or was reset
Aug 19 21:46:27 f20 kernel: usb usb4: root hub lost power or was reset
Aug 19 21:46:27 f20 kernel: nouveau  [     DRM] re-enabling device...
Aug 19 21:46:27 f20 kernel: snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
Aug 19 21:46:27 f20 kernel: nouveau  [     DRM] resuming kernel object tree...
Aug 19 21:46:27 f20 kernel: nouveau  [   VBIOS][0000:01:00.0] running init tables
Aug 19 21:46:27 f20 kernel: usb usb5: root hub lost power or was reset
Aug 19 21:46:27 f20 kernel: usb usb6: root hub lost power or was reset
Aug 19 21:46:27 f20 kernel: usb usb7: root hub lost power or was reset
Aug 19 21:46:27 f20 kernel: usb usb8: root hub lost power or was reset
Aug 19 21:46:31 f20 kernel: r8169 0000:03:00.0: System wakeup disabled by ACPI
Aug 19 21:46:31 f20 kernel: r8169 0000:03:00.0 p1p1: link down
Aug 19 21:46:31 f20 kernel: nouveau  [    VOLT][0000:01:00.0] GPU voltage: 1050000uv
Aug 19 21:46:31 f20 kernel: nouveau  [  PTHERM][0000:01:00.0] fan management: automatic
Aug 19 21:46:31 f20 kernel: nouveau  [     CLK][0000:01:00.0] --: core 275 MHz shader 550 MHz memory 249 MHz
Aug 19 21:46:31 f20 kernel: nouveau  [     DRM] resuming client object trees...
Aug 19 21:46:31 f20 kernel: nouveau  [     DRM] resuming display...
Aug 19 21:46:31 f20 kernel: i8042 kbd 00:07: System wakeup disabled by ACPI
Aug 19 21:46:31 f20 kernel: ene_ir 00:09: System wakeup disabled by ACPI
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_STATUS  : 0x01000001 BUSY ROP
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x00200000 ROP
Aug 19 21:46:31 f20 kernel: ata5: SATA link down (SStatus 0 SControl 300)
Aug 19 21:46:31 f20 kernel: ata6: SATA link down (SStatus 0 SControl 300)
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_STATUS  : 0x01000001 BUSY ROP
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x00200000 ROP
Aug 19 21:46:31 f20 kernel: usb 2-4: reset high-speed USB device number 2 using ehci-pci
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_STATUS  : 0x01000001 BUSY ROP
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x00200000 ROP
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_STATUS  : 0x01000001 BUSY ROP
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x00000000
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x00200000 ROP
Aug 19 21:46:31 f20 kernel: firewire_core 0000:06:00.0: rediscovered device fw0
Aug 19 21:46:31 f20 kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Aug 19 21:46:31 f20 kernel: ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Aug 19 21:46:31 f20 kernel: ata1.00: configured for UDMA/100
Aug 19 21:46:31 f20 kernel: sd 0:0:0:0: [sda] Starting disk
Aug 19 21:46:31 f20 kernel: ata2.00: configured for UDMA/100
Aug 19 21:46:31 f20 kernel: usb 7-2: reset full-speed USB device number 2 using uhci_hcd
Aug 19 21:46:31 f20 kernel: PM: resume of devices complete after 8551.251 msecs
Aug 19 21:46:31 f20 kernel: nouveau E[     DRM] GPU lockup - switching to software fbcon
Aug 19 21:46:31 f20 kernel: r8169 0000:03:00.0: no hotplug settings from platform
Aug 19 21:46:31 f20 kernel: firewire_ohci 0000:06:00.0: no hotplug settings from platform
Aug 19 21:46:31 f20 kernel: sdhci-pci 0000:06:00.1: no hotplug settings from platform
Aug 19 21:46:31 f20 kernel: pci 0000:06:00.2: no hotplug settings from platform
Aug 19 21:46:31 f20 kernel: PM: Finishing wakeup.
Aug 19 21:46:31 f20 kernel: Restarting tasks ... done.
Aug 19 21:46:31 f20 kernel: jmb38x_ms 0000:06:00.3: no hotplug settings from platform
Aug 19 21:46:31 f20 kernel: pci 0000:06:00.4: no hotplug settings from platform
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_STATUS  : 0x011fde03 BUSY DISPATCH VFETCH CCACHE_PREGEOM STRMOU
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00145b4d CCACHE
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x0000002d
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x0034db40 ENG2D ROP
Aug 19 21:46:31 f20 kernel: Bluetooth: hci0 command 0x0c14 tx timeout
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_STATUS  : 0x011fde03 BUSY DISPATCH VFETCH CCACHE_PREGEOM STRMOU
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00145b4d CCACHE
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x0000002d
Aug 19 21:46:31 f20 kernel: nouveau E[  PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x0034db40 ENG2D ROP
Comment 2 Trevor Davenport 2014-08-20 06:47:13 UTC
I tried reverting this commit on top of 3.16 but it still doesn't work so it appears something else has changed since this that also isn't quite right.  

Before the bad commit resume was quite reliable.  After it always fails.
Comment 3 Trevor Davenport 2014-10-25 23:14:33 UTC
Enabling nofbaccel allows the laptop to suspend and resume fine.
Comment 4 Ilia Mirkin 2015-10-22 07:50:55 UTC
Is this still a problem with recent kernels?
Comment 5 Trevor Davenport 2015-10-23 04:32:55 UTC
The situation has improved drastically.  Still fails randomly but not like it was.  I think this can be closed.

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.