[radeon] Compiz memory leak and blank screen unable to login when using radeon driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Invalid
|
Critical
|
Daniel van Vugt | ||
0.9.8 |
Invalid
|
Critical
|
Unassigned | ||
Compiz Core |
Invalid
|
Critical
|
Unassigned | ||
compiz (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
mesa (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Bug Description
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
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. 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
ProcVersionSign
Uname: Linux 3.1.0-2-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CompizPlugins: [core,bailer,
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=
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:bvnAwardSof
dmi.product.name: H67M-UD2H-B3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.6+
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
affects: | compiz → compiz-core |
Changed in compiz-core: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
Changed in mesa (Ubuntu): | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | Triaged → Invalid |
description: | updated |
description: | updated |
Changed in compiz (Ubuntu): | |
status: | Invalid → Confirmed |
affects: | indicator-multiload → compiz-core |
Changed in compiz-core: | |
status: | Invalid → Confirmed |
milestone: | none → 0.9.8.0 |
no longer affects: | unity (Ubuntu) |
Changed in compiz-core: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
description: | updated |
Changed in compiz: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in compiz: | |
milestone: | none → 0.9.8.0 |
Changed in compiz-core: | |
milestone: | 0.9.8.0 → none |
no longer affects: | compiz-core/0.9.7 |
Changed in compiz-core: | |
milestone: | none → 0.9.7.10 |
Changed in compiz: | |
milestone: | 0.9.8.0 → 0.9.8.1 |
Changed in compiz: | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
Changed in compiz-core: | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
Changed in mesa (Ubuntu): | |
importance: | Undecided → Critical |
Changed in compiz: | |
milestone: | 0.9.8.2 → 0.9.8.4 |
Changed in compiz: | |
milestone: | 0.9.8.4 → 0.9.9.0 |
Changed in compiz: | |
status: | Confirmed → Fix Released |
Changed in compiz-core: | |
status: | Confirmed → Fix Released |
Changed in compiz (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in mesa (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in compiz: | |
assignee: | nobody → artur bryczek (arturbryczek) |
Changed in compiz-core: | |
assignee: | nobody → artur bryczek (arturbryczek) |
Changed in compiz (Ubuntu): | |
assignee: | nobody → artur bryczek (arturbryczek) |
Changed in mesa (Ubuntu): | |
assignee: | nobody → artur bryczek (arturbryczek) |
Changed in compiz: | |
assignee: | artur bryczek (arturbryczek) → nobody |
status: | Fix Released → Confirmed |
Changed in compiz-core: | |
assignee: | artur bryczek (arturbryczek) → nobody |
status: | Fix Released → Confirmed |
Changed in compiz (Ubuntu): | |
assignee: | artur bryczek (arturbryczek) → nobody |
status: | Fix Released → Confirmed |
Changed in mesa (Ubuntu): | |
assignee: | artur bryczek (arturbryczek) → nobody |
status: | Fix Released → Confirmed |
Changed in compiz-core: | |
milestone: | 0.9.7.10 → 0.9.7.12 |
Changed in compiz: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in compiz: | |
status: | Confirmed → In Progress |
Compiz used up the memory whilst I was away from the computer for a couple of days after restarting lightdm it went back down to 626meg, from about 8gig prior to creating the bug report.