****************ATTENTION*****************
THIS BUG HAS BEEN MARKED AS FIXED AND THE ISSUE HAS BEEN RESOLVED.
ANYONE EXPERIENCING THESE SYMPTOMS ON A COMPLETELY UP-TO-DATE SYSTEM SHOULD LOG A NEW BUG:
'ubuntu-bug xserver-xorg-video-intel'
PLEASE REFRAIN FROM UNNECESSARY COMMENTS. THANKS!
****************ATTENTION*****************
[Impact]:
severe, compiz hangs frequently after resuming from suspend or the screensaver
[Testcase]:
- grab xserver-xorg-video-intel from quantal
- build it from the extracted directory
- after the build run 'cd test && make dri2-swap'
- log in X
- start two terminals
- get dpms.sh from this bug, run it in the other terminal
- on the other run ./dri2-swap
compiz should hang during the first couple of runs of dri2-swap
with the fixed package, it doesn't
[Regression potential]
To ease the backporting, I did replace patch 101 with the commit that was pulled upstream. This patch is needed for smooth transition from plymouth to X. There _could_ be some issues with it (meaning additional patches needed from upstream), but it seems to be working just fine for me.
The precise upload has another upstream fix for an issue referenced in bug 992391, it should be safe.
---
This bug is about problems after resume, with Intel video hardware and i965_dri.so. If you're having these symptoms with other hardware, Nvidia or ATI/Radeon, this isn't the place for reports or questions.
[Those comments are building up, so brief links to direct other people to appropriate bugs might be good here, if anyone has them. Thanks.]
----------------------------------------------------------------------------------------
This happens intermittently. Sometimes upon resume, all I see is a black screen and the cursor. the mouse and keyboard respond (the mouse moves) but nothing changes. Switching to console and back doesn't fix it. Killing Compiz also does not fix the issue. Further, if one has password lock disabled on resume the user will be stuck with a frozen display of whatever was last shown on the screen before suspend. The mouse cursor still changes as you hover over various elements but the display is frozen solid. One can switch to another TTY via ctrl+alt+F1 but killing the X session is the only way to get back to the desktop.
Attempts to replace compiz have been fruitless. Trying the 3.4 kernel also did not fix the issue.
BTW, I haven nothing connected to the laptop when I resume and before suspend. This is a very annoying issue because the only way to recover is to reboot, which means all the open files will be lost.
[UPDATE]
It was discovered that switching to a tty, killing compiz, then invoking 'metacity --replace' would successfully switch over to metacity. Attempting to invoke 'compiz --replace' afterwards would put the state right back where it was (frozen screen, etc.) and output error messages saying something similar to "invalid configuration, this should never happen, you should probably raise a bug report about it". After killing Compiz again and invoking compiz --replace yet again I can get basic window management back (though unity --replace still does not work as it whines about unclean exit states). So one still needs to start over again to get it all functioning properly.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.8.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
.tmp.unity.support.test.0:
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Tue Mar 27 21:47:25 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120124)
MachineType: LENOVO 32492HU
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-20-generic root=UUID=8afc43b9-4675-46b0-8bf8-49bfd422c2c7 ro quiet splash i915.i915_enable_rc6=1 vt.handoff=7
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/29/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET67WW (1.37 )
dmi.board.name: 32492HU
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET67WW(1.37):bd06/29/2011:svnLENOVO:pn32492HU:pvrThinkPadX201:rvnLENOVO:rn32492HU:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 32492HU
dmi.product.version: ThinkPad X201
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.7.2-0ubuntu4
version.ia32-libs: ia32-libs 20090808ubuntu35
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu7
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
X-HWE-Bug: Bug #1004771
Status changed to 'Confirmed' because the bug affects multiple users.