Compiz crash on resume from suspend w/ NVIDIA 302.11 driver

Bug #1008515 reported by Steve Magoun on 2012-06-04
This bug affects 10 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
nvidia-graphics-drivers (Ubuntu)

Bug Description

I upgraded to the nvidia 302.11 drivers to test out xrandr functionality on my MacbookPro3,1. I found that compiz crashes on resume from suspend with these drivers. This is reliably reproducible on my system (8600M GT).

To reproduce:
1) Purge nvidia-current and nvidia-settings
2) Install nvidia-current 302.11-0ubuntu1~xedgers~precise2 and nvidia-settings 302.11-0ubuntu1~xedgers~precise1 from the xorg edgers PPA:
3) Reboot. The machine boots normally
4) Suspend the machine
5) Wake from suspend

Expected results:
Machine resumes to the lightdm unlock screen

Actual results:
Screen turns on but remains black; mouse cursor appears. Mouse cursor flashes rapidly (5-10Hz). The system stays in this state for at least a minute.

While the system was in this state I switched to another VT to login and poke around. I saw that there was a compiz segfault at the time of resume noted in dmesg, and compiz was not running.

The system may recover to a lightdm login prompt without intervention, allowing you to login to your running apps. If this works, unity may not be running - you may be prompted by apport that compiz crashed.

dmesg output:
[10586.962722] compiz[5427]: segfault at 0 ip 00000000408ebd72 sp 00007fff5ee4ddc8 error 4 in glmOpzJd (deleted)[408ea000+2000]

Jun 4 09:06:25 steve-laptop gnome-session[1998]: WARNING: Application 'compiz.desktop' killed by signal
Jun 4 09:06:25 steve-laptop gnome-session[1998]: WARNING: App 'compiz.desktop' respawning too quickly
Jun 4 09:06:25 steve-laptop gnome-session[1998]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Jun 4 09:06:33 steve-laptop kernel: [10586.962722] compiz[5427]: segfault at 0 ip 00000000408ebd72 sp 00007fff5ee4ddc8 error 4 in glmOpzJd (deleted)[408ea000+2000]
Jun 4 09:06:42 steve-laptop gnome-session[1998]: WARNING: App 'compiz.desktop' respawning too quickly
Jun 4 09:06:42 steve-laptop gnome-session[1998]: WARNING: Application 'compiz.desktop' killed by signal
Jun 4 09:06:42 steve-laptop gnome-session[1998]: WARNING: App 'compiz.desktop' respawning too quickly

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.12-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 302.11 Thu May 17 17:40:03 PDT 2012
 GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

ApportVersion: 2.0.1-0ubuntu8
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: Mon Jun 4 09:13:16 2012
DistUpgraded: 2012-01-26 17:30:39,041 DEBUG enabling apt cron job
DistroCodename: precise
DistroVariant: ubuntu
 alsa-hda, 0.201202292205~precise1, 3.2.0-24-generic, x86_64: installed
 alsa-hda, 0.201202292205~precise1, 3.2.0-25-generic, x86_64: installed
 nvidia-current, 302.11, 3.2.0-25-generic, x86_64: installed
 virtualbox, 4.1.12, 3.2.0-24-generic, x86_64: installed
 virtualbox, 4.1.12, 3.2.0-25-generic, x86_64: installed
 NVIDIA Corporation G84 [GeForce 8600M GT] [10de:0407] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Apple Inc. Device [106b:00a0]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)
 xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
MachineType: Apple Inc. MacBookPro3,1
 PATH=(custom, user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=4b3d81ed-fb5d-4946-97c0-ec537e1bfa3f ro quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: Upgraded to precise on 2012-01-26 (129 days ago) 03/05/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP31.88Z.0070.B07.0803051658
dmi.board.asset.tag: Base Board Asset Tag Mac-F4238BC8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4238BC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP31.88Z.0070.B07.0803051658:bd03/05/08:svnAppleInc.:pnMacBookPro3,1:pvr1.0:rvnAppleInc.:rnMac-F4238BC8:rvrPVT:cvnAppleInc.:ct2:cvrMac-F4238BC8: MacBookPro3,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.1
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

Steve Magoun (smagoun) wrote :
affects: unity (Ubuntu) → compiz (Ubuntu)
Launchpad Janitor (janitor) wrote :

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

Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
bugbot (bugbot) on 2012-06-21
tags: added: edgers
Steve Magoun (smagoun) wrote :

This seems to be fixed with the 304.22 driver from NVIDIA

Changed in compiz (Ubuntu):
status: Confirmed → Invalid
affects: compiz-core → compiz
Changed in compiz:
status: New → Invalid
To post a comment you must log in.