← Back to team overview

touch-packages team mailing list archive

[Bug 1497828] Re: Apps appear to freeze in Unity8, although they are really still rendering (swap interval zero). Need to interact with the shell to unfreeze it.

 

Found roughly the cause of the freeze. This callback randomly stops
calling back:

        connect(window(), &QQuickWindow::frameSwapped, m_surface, &MirSurfaceInterface::onCompositorSwappedBuffers,
            (Qt::ConnectionType) (Qt::DirectConnection | Qt::UniqueConnection));

and so this function no longer retrieves new buffers, just returns
early:

void MirSurface::updateTexture()
{
    QMutexLocker locker(&m_mutex);

    if (m_textureUpdated) {
        return;
    }


** Changed in: unity8 (Ubuntu)
       Status: New => Invalid

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

Title:
  Apps appear to freeze in Unity8, although they are really still
  rendering (swap interval zero). Need to interact with the shell to
  unfreeze it.

Status in QtMir:
  New
Status in qtmir package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  Invalid

Bug description:
  Apps appear to freeze in Unity8, although they are really still
  rendering (swap interval zero). Need to interact with the shell to
  unfreeze it.

  Test case (on Unity8 wily desktop):
  $ glmark2-mir -b :title=--desktop_file_hint=unity8
  This freezes a couple of times during the benchmark.

  Test case (on a phone):
  $ mir_demo_client_target -n--desktop_file_hint=unity8
  This freezes very quickly when you move your finger around.

  Test case (on a phone):
  $ glmark2-es2-mir -b :title=--desktop_file_hint=unity8

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


References