Intel GPU lockup on laptop suspend - display stuck on whatever was shown last before suspend.

Bug #960005 reported by Michael
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Triaged
High
Unassigned

Bug Description

I saw this in 11.10, and still do so in 12.04. Not sure whether I did in 11.04 now.

frequently (but not always), when I resume my laptop from "lid down" ACPI suspend I find what seems to be a lock-up of the GPU, which remains stuck at (usually) whatever was in the framebuffer just before suspending. I can switch to a VT and back, same picture when I switch back. The mouse pointer continues to move and changes shape when it should; I can enter my password to unlock the screen saver and see from the mouse pointer that all applications are still active. Killing individual applications from the VT doesn't help, I always have to "killall Xorg". I usually (always?) have the message "[drm:drm_mode_getfb] *ERROR* invalid framebuffer id" near or at the end of dmesg, but googling suggests that this is a very generic message which can appear in lots of different situations.

Note that I normally suspend and resume my laptop at least once a day, often more often, so this is certainly not highly reproducible.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
Uname: Linux 3.2.0-19-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,regex,snap,compiztoolbox,place,gnomecompat,resize,session,grid,mousepoll,animation,move,workarounds,imgpng,expo,wall,unitymtgrabhandles,vpswitch,fade,scale,ezoom,unityshell]
CompositorRunning: compiz
Date: Tue Mar 20 08:59:06 2012
DistUpgraded: Log time: 2012-03-12 12:42:11.100750
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 vboxhost, 4.1.51, 3.2.0-18-generic, x86_64: installed
 vboxhost, 4.1.51, 3.2.0-19-generic, x86_64: installed
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
 Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:040a]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Dell Inc. Latitude E6410
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic root=UUID=062b1769-7309-4422-a59c-ad30b109d53c ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
SourcePackage: xserver-xorg-video-intel
UpgradeStatus: Upgraded to precise on 2012-03-12 (7 days ago)
dmi.bios.date: 08/23/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA10:bd08/23/2011:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6410
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu35
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu5
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu5
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Michael (michaeljt) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
bugbot (bugbot)
tags: added: freeze
tags: added: resume
Revision history for this message
Michael (michaeljt) wrote :

Happened just now (I presume the same hang, though I can't prove it) without the invalid framebuffer id line in dmesg, and when I switched to a VT and back the VT text stayed visible (i.e. the screen was not cleared), but the X server mouse pointer was shown on top.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Hi! Thanks for the bug report. The next time this happens, could you switch to tty1 (via control+alt+F1) and type in 'killall -9 compiz'? You can then see if that fixes the issue. If it does indeed fix it, this is a duplicate of bug 793893.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christoph Claus (christoph-claus) wrote :

The bug affects me too. Killing compiz as you requested didn't really fix the issue. X was updated again, but unity/compiz did not restart. Manually restarting unity/compiz ("DISPLAY=:0.0 compiz" from tty1) re-freezed X, which could subsequently not be unfrozen by killing compiz. Let me know how I can help you further debugging this issue.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

This is affecting me as well. It appears that this indeed is not a compiz bug.

Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Confirmed
importance: Medium → High
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Setting as high priority as "Has a severe impact on a small portion of Ubuntu users (estimated)"

summary: - Intel GPU lockup on laptop suspend
+ Intel GPU lockup on laptop suspend - display stuck on whatever was shown
+ last before suspend.
Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Christoph Claus (christoph-claus) wrote :

Some things to add:
* I suspend at least daily, this strikes me on one out of five resumes.
* I have never experienced any lockups on resume on this machine (installed around maverick) until upgrade to precise alpha, so this is a regression for precise.
* killing gnome-session respawns a functional (non-locked) lightdm

description: updated
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Hi all, I should have asked this earlier. Could anyone affected please test disabling rc6 power management?

To do that, hold shift to display GRUB, but instead of pressing enter to load your OS, press 'e' to edit the boot parameters. Append i915.i915_enable_rc6=0 as a kernel boot parameter.

For example: linux /boot/vmlinuz-3.2.0-17-generic quiet splash vt.handoff=7 i915.i915_enable_rc6=0

See if this solves the problem. I'm testing myself and will report back

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Blargh, disabling RC6 did nothing. It's still broken.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Hi, I'm marking this as a dupe of bug 966744 as it's the same bug but has more relevant information. Thanks for your patience, all.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.