[regression] Compiz wakes up 200Hz while the screen is locked

Bug #1194004 reported by Daniel van Vugt on 2013-06-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu Power Consumption Project
compiz (Ubuntu)
xserver-xorg-video-intel (Ubuntu)

Bug Description

I noticed my laptop fan going crazy while the screen is locked. But logging in via ssh showed it's mostly CPU-idle according to top. Powertop on the other hand shows compiz is spinning at 200 wakeups per second.

I seem to recall that 200 Hz is the upper limit in Compiz, designed to throttle it when SwapBuffers is failing to so.

Maybe we need to do some work in our Mir client logic for SwapBuffers then. As I am using XMir and unity-system-compositor.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: compiz 1:0.9.9~daily13.04.18.1~13.04-0ubuntu1
ProcVersionSignature: Ubuntu 3.9.0-6.14-generic 3.9.6
Uname: Linux 3.9.0-6-generic x86_64

ApportVersion: 2.10.2-0ubuntu2
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
Date: Mon Jun 24 13:51:47 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21da]
InstallationDate: Installed on 2013-06-11 (12 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130611)
MachineType: LENOVO 4286CTO
MarkForUpload: True
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.9.0-6-generic root=UUID=25c27832-0efa-4fc4-8a14-41af68d008dc ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/11/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET68WW (1.38 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4286CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8DET68WW(1.38):bd04/11/2013:svnLENOVO:pn4286CTO:pvrThinkPadX220:rvnLENOVO:rn4286CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4286CTO
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.9~daily13.04.18.1~13.04-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.45-2ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2~git20130611.761320b1-0ubuntu0+mir3-jenkins81saucy0
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2~git20130611.761320b1-0ubuntu0+mir3-jenkins81saucy0
version.xserver-xorg-core: xserver-xorg-core 2:1.13.3+xmir1-0
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2b2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0+xmir2504-0~saucy1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.9+xmir5862-0~saucy1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.8+xmir2338-0~saucy1
xserver.bootTime: Mon Jun 24 13:49:26 2013
xserver.configfile: default

xserver.logfile: /var/log/Xorg.0.log

xserver.version: 2:1.13.3+xmir1-0

Daniel van Vugt (vanvugt) wrote :
Changed in compiz:
importance: Undecided → High
Changed in mir:
importance: Undecided → High
Changed in compiz (Ubuntu):
importance: Undecided → High
Daniel van Vugt (vanvugt) wrote :

I had a simple workaround in mind. Unfortunately that can't work due to another saucy compiz regression: bug 1194009.

Daniel van Vugt (vanvugt) wrote :

Hmm, and if I disable Mir/unity-system-compositor via lightdm.conf, compiz now spins at 200Hz all the time. Even when the screen's not locked.

But hopefully the bug is limited to the Mir PPAs. Haven't verified yet.

Daniel van Vugt (vanvugt) wrote :

Nope, the bug happens on a plain saucy machine. It's got nothing to do with Mir or PPAs :(

summary: - Compiz wakes up 200Hz while the screen is locked
+ [regression] Compiz wakes up 200Hz while the screen is locked
Changed in mir:
status: New → Invalid
tags: added: regression-release
Changed in compiz:
milestone: none →
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → High
Daniel van Vugt (vanvugt) wrote :

This problem is likely coming from the Intel X graphics driver. Because Compiz depends on it to block in glXSwapBuffers when the screen is locked/off.

Chris Wilson (ickle) wrote :

That has never been policy.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Invalid
Daniel van Vugt (vanvugt) wrote :

Sounds like a Won't Fix, or Opinion then. Which is troublesome for Compiz.

Daniel van Vugt (vanvugt) wrote :

I wonder if the issue is the lock screen triggering constant damage then...

Changed in compiz:
milestone: →
Daniel van Vugt (vanvugt) wrote :

Hmm, duplicate of my own bug 1163099 (!)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers