Public bug reported: Days ago I attached an external DVI monitor to my MacBookPro 5,1 and used nvidia-settings with twinview. I opted to make the external monitor the main monitor. I was pleased it worked quite well -- the first time I painlessly had external monitor support on this machine under Ubuntu.
Upon disconnecting the monitor, sessions on just laptop immediately began to fail. When logging in using Unity the menu bar is shown and the launcher works. I can launch a terminal just fine. After about thirty seconds it appears Unity crashes. The menu bar disappears, the launcher disappears, and the window decorations on the terminal disappear. The background is shown with just a black rectangle where the terminal used to be. The terminal doesn't accept keyboard input. The mouse works, can move around the screen, but cannot do anything else. Launching into Unity 2D works fine. I tried resetting Unity using: gconftool-2 --recursive-unset /apps/compiz-1 gconftool-2 --recursive-unset /apps/compizconfig-1 unity --reset The first two commands completed OK. The unity reset ended with a segfault. Description: Ubuntu precise (development branch) Release: 12.04 /home/bac> apt-cache policy unity unity: Installed: 5.0.0-0ubuntu2 Candidate: 5.2.0-0ubuntu1 Version table: 5.2.0-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages *** 5.0.0-0ubuntu2 0 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: unity 5.0.0-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-10.18-generic-pae 3.2.1 Uname: Linux 3.2.0-10-generic-pae i686 NonfreeKernelModules: wl nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86 Kernel Module 290.10 Wed Nov 16 19:27:25 PST 2011 GCC version: gcc version 4.6.2 (Ubuntu/Linaro 4.6.2-12ubuntu1) .tmp.unity.support.test.0: ApportVersion: 1.91-0ubuntu1 Architecture: i386 CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,resize,fade,unitymtgrabhandles,scale,session,unityshell] CompositorRunning: None Date: Mon Feb 6 08:10:03 2012 DistUpgraded: Log time: 2012-01-22 21:18:08.516617 DistroCodename: precise DistroVariant: ubuntu EcryptfsInUse: Yes GraphicsCard: NVIDIA Corporation G96 [GeForce 9600M GT] [10de:0647] (rev a1) (prog-if 00 [VGA controller]) Subsystem: Apple Inc. Device [106b:00a9] InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1) JockeyStatus: kmod:wl - Broadcom STA wireless driver (Proprietary, Enabled, In use) [auto-install] 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. MacBookPro5,1 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-10-generic-pae root=UUID=756a4c32-c725-408a-bd6a-fd1249b4f2dc ro quiet splash drm.debug=0xe vt.handoff=7 SourcePackage: unity UpgradeStatus: Upgraded to precise on 2012-01-22 (14 days ago) dmi.bios.date: 05/05/09 dmi.bios.vendor: Apple Inc. dmi.bios.version: MBP51.88Z.007E.B05.0905051508 dmi.board.asset.tag: Base Board Asset Tag# dmi.board.name: Mac-F42D86C8 dmi.board.vendor: Apple Inc. dmi.board.version: Proto dmi.chassis.asset.tag: Asset Tag# dmi.chassis.type: 8 dmi.chassis.vendor: Apple Inc. dmi.chassis.version: Mac-F42D86C8 dmi.modalias: dmi:bvnAppleInc.:bvrMBP51.88Z.007E.B05.0905051508:bd05/05/09:svnAppleInc.:pnMacBookPro5,1:pvr1.0:rvnAppleInc.:rnMac-F42D86C8:rvrProto:cvnAppleInc.:ct8:cvrMac-F42D86C8: dmi.product.name: MacBookPro5,1 dmi.product.version: 1.0 dmi.sys.vendor: Apple Inc. version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu8 version.libdrm2: libdrm2 2.4.30-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu4 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu4 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.11.3-0ubuntu10 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901-1ubuntu3 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-1ubuntu3 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A ** Affects: unity (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise reproducible running-unity ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927618 Title: Unity crashes after having had an external monitor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/927618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs