← Back to team overview

compiz team mailing list archive

[Bug 914773] Re: [radeon] Compiz memory leak and blank screen unable to login when using radeon driver

 

** Description changed:

  The issue appears to be that radeon's implementation of
  glXWaitVideoSyncSGI (from libgl1-mesa-glx) hangs and leaks X events
  while the screen is locked and asleep. The leak is around 200 bytes (one
  XEvent) per frame or about 12.5KB per second.
  
  It is most noticeable if some application is continuously redrawing during this time. But only if the application itself does not sync to vblank. For example: KVM, QEMU or:
-     env vblank_mode=0 glxgears
+     env vblank_mode=0 glxgears
  
  WORKAROUNDS:
  
  1. Before leaving/locking the PC run ccsm, and in the OpenGL section
  disable "Sync To VBlank".
  
  2. Before leaving/locking the PC, minimize all active windows.
  
- 3. Install fglrx driver from AMD/ATI.
+ 3. Install fglrx driver from AMD/ATI. But then you'll have bug 969860.
  
  ORIGINAL DESCRIPTION:
  There are two issues.
  
  Compiz has a memory leak so it expands to take up all memory plus swap
  (12 + 4 gig)
  
  Unity shows a blank screen and does not come up with a login prompt,
  only the mouse pointer is displayed.
  
  ctl+alt F1 works so you can get into a console and create the attached
  bug report.  This was after killing vviewer and before restarting
  lightdm
  
  I was running KVM and vviewer as well and killed vviewer but still did not get get login screen
  Killed compiz which freed the memory still did not get login screen
  had to restart lightdm to get back into Unity and restart everything.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: unity 4.24.0-0ubuntu2b1
  ProcVersionSignature: Ubuntu 3.1.0-2.6-generic 3.1.0
  Uname: Linux 3.1.0-2-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  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]
  CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
  Date: Wed Jan 11 13:16:58 2012
  DistUpgraded: Log time: 2011-10-17 17:02:13.788852
  DistroCodename: oneiric
  DistroVariant: ubuntu
  ExecutablePath: /usr/bin/compiz
  GraphicsCard:
   ATI Technologies Inc Cedar PRO [Radeon HD 5450] [1002:68f9] (prog-if 00 [VGA controller])
     Subsystem: Micro-Star International Co., Ltd. Device [1462:2341]
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  MachineType: Gigabyte Technology Co., Ltd. H67M-UD2H-B3
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.1.0-2-generic root=UUID=75185a0a-ffd1-4a37-9bda-52f17a050b24 ro quiet splash vt.handoff=7
  SourcePackage: unity
  UpgradeStatus: Upgraded to oneiric on 2011-10-17 (85 days ago)
  dmi.bios.date: 02/22/2011
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F2
  dmi.board.name: H67M-UD2H-B3
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF2:bd02/22/2011:svnGigabyteTechnologyCo.,Ltd.:pnH67M-UD2H-B3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnH67M-UD2H-B3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: H67M-UD2H-B3
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
  version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu6
  version.ia32-libs: ia32-libs 20090808ubuntu26
  version.libdrm2: libdrm2 2.4.26-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2.1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

** Also affects: compiz-core/0.9.7
   Importance: Undecided
       Status: New

** Changed in: compiz-core/0.9.7
       Status: New => Confirmed

** Changed in: compiz-core/0.9.7
   Importance: Undecided => Critical

** Changed in: compiz-core/0.9.7
    Milestone: None => 0.9.7.10

** Changed in: compiz-core/0.9.7
     Assignee: (unassigned) => Daniel van Vugt (vanvugt)

-- 
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/914773

Title:
  [radeon] Compiz memory leak and blank screen unable to login when
  using radeon driver

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