← Back to team overview

compiz team mailing list archive

Re: [Bug 966744] Re: [i965] Resume from suspend leaves me with black screen or a screen of the desktop before it suspended. Compiz hung in intel_update_renderbuffers() from intel_prepare_render() from brw_draw_prims()

 

Matt - How does one "recover from the crash by switching to VT1"?

I'd be happy if I can get to some kind of desktop and save my work.
-- 
Jason Apol, Sr. Engineer - Logicraft Industrial Systems, Inc
 www.lcrft.com


On Mon, Sep 17, 2012 at 5:28 PM, Matt Price <matt.price@xxxxxxxxxxx>
wrote:

> In a previous post i asserted that turning off gnome-screensaver stops
> these crashes from happening.  This turns out not to be the case.
> Unfortunately, I am having trouble capturing an xtrace of the crash --
> it almost seems as if xtrace itself somehow protects the driver from the
> crash! -- anyway, I'm finding that I can sometimes recover from the
> crash by switching to VT1 and running
>
> DISPLAY=:0 unity
> DISPLAY=:0  xtrace compiz --replace > ~/trace.txt
>
> But usually I'll end up with some problems, like all window management
> being switched off so that it seems as though compiz isn't running at
> all.  And sometimes this attempt at recovery will fail almost
> completely, in that I just end up with an unchanging image of my desktop
> wallpaper (sometimes the active windows will flash briefly when I switch
> to VT7, then disappear behind the wallpaper.   I'm really not sure what
> the next steps in diagnosis are, htough I'll keep trying to capture an
> xtrace.  This is on a Lenovo Thikpad T410, wiht intel graphics & (of
> course) the i965 driver.
>
> Thanks all!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/966744
>
> Title:
>   [i965] Resume from suspend leaves me with black screen or a screen of
>   the desktop before it suspended. Compiz hung in
>   intel_update_renderbuffers() from intel_prepare_render() from
>   brw_draw_prims()
>
> Status in Compiz:
>   Confirmed
> Status in The Linux Kernel:
>   Incomplete
> Status in OEM Priority Project:
>   New
> Status in OEM Priority Project precise series:
>   New
> Status in X.org xf86-video-intel:
>   Confirmed
> Status in “compiz” package in Ubuntu:
>   Invalid
> Status in “xserver-xorg-video-intel” package in Ubuntu:
>   Confirmed
> Status in “compiz” source package in Precise:
>   Invalid
> Status in “xserver-xorg-video-intel” source package in Precise:
>   Confirmed
> Status in “compiz” source package in Quantal:
>   Invalid
> Status in “xserver-xorg-video-intel” source package in Quantal:
>   Confirmed
>
> Bug description:
>   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
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/compiz/+bug/966744/+subscriptions
>

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/966744

Title:
  [i965] Resume from suspend leaves me with black screen or a screen of
  the desktop before it suspended. Compiz hung in
  intel_update_renderbuffers() from intel_prepare_render() from
  brw_draw_prims()

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/966744/+subscriptions


Follow ups

References