← Back to team overview

touch-packages team mailing list archive

[Bug 1480164] Re: [regression] Mir is holding buffers much longer than it used to.

 

mir (0.16.0+15.10.20150921.1-0ubuntu1) wily; urgency=medium


** Also affects: mir (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: mir (Ubuntu)
   Importance: Undecided => Medium

** Changed in: mir (Ubuntu)
       Status: New => 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/1480164

Title:
  [regression] Mir is holding buffers much longer than it used to.

Status in Mir:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  Mir is holding buffers much longer than it used to. You can see from
  this bespoke logging that it's now holding each buffer from the client
  for a full frame even though the compositor itself only holds it for
  less than a millisecond (the render time):

  [1438332770.923332] mirserver: 0x7f66bc0030b0: compositor acquired 0x7f66bc0039f0
  [1438332770.923444] mirserver: 0x7f66bc0030b0: compositor release1 0x7f66bc0039f0
  [1438332770.923454] mirserver: 0x7f66bc0030b0: compositor release2 0x7f66bc0039f0
  [1438332770.939927] mirserver: 0x7f66bc0030b0: compositor release3 0x7f66bc0039f0
  [1438332770.939966] mirserver: 0x7f66bc0030b0: compositor release4 0x7f66bc0039f0
  [1438332770.940011] mirserver: 0x7f66bc0030b0: compositor acquired 0x7f66bc006990
  [1438332770.940117] mirserver: 0x7f66bc0030b0: compositor release1 0x7f66bc006990
  [1438332770.940127] mirserver: 0x7f66bc0030b0: compositor release2 0x7f66bc006990
  [1438332770.956487] mirserver: 0x7f66bc0030b0: compositor release3 0x7f66bc006990
  [1438332770.956507] mirserver: 0x7f66bc0030b0: compositor release4 0x7f66bc006990

  The issue appears to have been introduced in:
  ------------------------------------------------------------
  revno: 2323 [merge]
  author: Daniel van Vugt <daniel.van.vugt@xxxxxxxxxxxxx>
  committer: Tarmac
  branch nick: development-branch
  timestamp: Tue 2015-02-17 08:19:29 +0000
  message:
    Fix the multi-monitor frame sync logic to support high speed
    compositors (tm) which only need to hold buffers very briefly
    (introduced in r2183). (LP: #1420678)
    
    Both the multi-monitor frame sync logic and the optimization of r2183
    behave correctly independently. It's only when combined that they start
    to interfere with each other. But we'd very much like to keep both. Fixes: https://bugs.launchpad.net/bugs/1420678.
    
    Approved by Chris Halse Rogers, PS Jenkins bot, Alan Griffiths.
  ------------------------------------------------------------

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