← Back to team overview

desktop-packages team mailing list archive

[Bug 1292830] Re: Resuming from sleep makes black borders around windows to appear

 

Solution found the problem is an old one form previous versions.
The problem is graphic card driver related in particular NVIDIA.

The solution is simple:

In terminal as root:

cd /etc/pm/sleep.d/

$: touch compiz-fix.sh

$: nano compiz-fix.sh

#!/bin/bash
setsid compiz --replace

exit 0

ctrl+x to save

$: chmod +x compiz-fix.sh

to remove the changes just do as root:

$: rm compiz-fix.sh

Worked as  a charm for me!

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

Title:
  Resuming from sleep makes black borders around windows to appear

Status in Compiz:
  Confirmed
Status in compiz package in Ubuntu:
  Triaged

Bug description:
  *******
   ISSUE 
  *******

  HOW TO REPRODUCE

  1. Go to sleep mode.
  2. Resume.

  EXPECTED BEHAVIOUR

  - The computer to resume normally.

  REAL BEHAVIOUR

  - Windows have black borders around them, as seen in the attached
  screen-shot.

  RELEVANT DETAILS

  - None.

  **********
   SOLUTION 
  **********

  WORK-AROUND

  1. Press the "Ctrl+Alt+F2" key combination (Warning: you will be sent to a text console where you won't be able to read this document).
  2. Press "Ctrl+Alt+F7".

  FIX

  - Unspecified.

  REGRESSION POTENTIAL

  - Unspecified.

  ****************
   TECHNICAL INFO 
  ****************

  ProblemType: BugDistroRelease: Ubuntu 14.04
  Package: compiz 1:0.9.11+14.04.20140310-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  NonfreeKernelModules: nvidia wl
  .proc.driver.nvidia.gpus.0: Error: [Error 21] It Is a Directory: '/proc/driver/nvidia/gpus/0'
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  331.38  Wed Jan  8 19:32:30 PST 2014
   GCC version:  gcc version 4.8.2 (Ubuntu 4.8.2-16ubuntu6)
  .tmp.unity.support.test.0:

  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Sat Mar 15 12:22:43 2014
  DistUpgraded: Fresh install
  DistroCodename: trusty
  DistroVariant: ubuntu
  GraphicsCard:
   NVIDIA Corporation GF119M [NVS 4200M] [10de:1056] (rev a1) (prog-if 00 [VGA controller])
     Subsystem: Dell Device [1028:0493]
  MachineType: Dell Inc. Latitude E6420
  PackageArchitecture: all
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-12-generic root=UUID=3af29d5f-e00a-409b-9d57-1ad69dce69d9 ro splash quietSourcePackage: compiz
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/11/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A14
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA14:bd07/11/2012:svnDellInc.:pnLatitudeE6420:pvr01:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6420
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:0.9.11+14.04.20140310-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.52-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.0-1ubuntu1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.0-1ubuntu1
  version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.15.0-1ubuntu7
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
  xserver.bootTime: Tue Mar 11 15:58:58 2014
  xserver.configfile: default
  xserver.errors: open /dev/fb0: No such file or directory
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:

  xserver.version: 2:1.15.0-1ubuntu6

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