← Back to team overview

touch-packages team mailing list archive

[Bug 1373809] Re: [regression] Mir server uses too much CPU during touch scrolling

 

** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1373809

Title:
  [regression] Mir server uses too much CPU during touch scrolling

Status in Mir:
  Fix Released
Status in Mir 0.7 series:
  Invalid
Status in “mir” package in Ubuntu:
  Invalid

Bug description:
  [regression] Mir server uses too much CPU during touch events.

  Until recently constant touch events never cause the CPU usage of my
  Mir server to exceed 50%. However with the latest code it's 80-90%
  CPU.

  I'm fairly sure this is caused by my recent change:

  ------------------------------------------------------------
  revno: 1936 [merge]
  author: Daniel van Vugt <daniel.van.vugt@xxxxxxxxxxxxx>
  committer: Tarmac
  branch nick: development-branch
  timestamp: Thu 2014-09-25 06:06:57 +0000
  message:
    Fix jerky/stuttering event delivery that could happen inside 
    nested servers sometimes (LP: #1372300)
    
    Waiting significantly longer than a frame before consuming previously
    batched events is too dangerous in slow raw-event environments
    (nested servers or very slow input devices). It causes frame skipping.
    . Fixes: https://bugs.launchpad.net/bugs/1372300.
    
    Approved by Alexandros Frantzis.
  ------------------------------------------------------------

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