[QtComp] Vertical scrolling in Apps scope is jumpy

Bug #1337904 reported by Omer Akram
This bug report is a duplicate of:  Bug #1336724: Scrolling the dash is jumpy. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity 8
In Progress
High
Gerry Boland

Bug Description

The vertical scrolling in Apps scope was improved a bit previously but now with QtComp ppa the scrolling is pretty slow and the frameskip is pretty visible on the eye.

unity8:
  Installed: 7.90+14.10.20140703.2-0ubuntu1
  Candidate: 7.90+14.10.20140703.2-0ubuntu1
  Version table:
 *** 7.90+14.10.20140703.2-0ubuntu1 0
        500 http://ppa.launchpad.net/ci-train-ppa-service/landing-006/ubuntu/ utopic/main armhf Packages
        100 /var/lib/dpkg/status
     7.90+14.10.20140703.1-0ubuntu1 0
        500 http://ports.ubuntu.com/ubuntu-ports/ utopic/universe armhf Packages

libqtmir:
  Installed: 0.4.0+14.10.20140703-0ubuntu1
  Candidate: 0.4.0+14.10.20140703-0ubuntu1
  Version table:
 *** 0.4.0+14.10.20140703-0ubuntu1 0
        500 http://ppa.launchpad.net/ci-train-ppa-service/landing-006/ubuntu/ utopic/main armhf Packages
        100 /var/lib/dpkg/status

qtubuntu-android:
  Installed: 0.60+14.10.20140703-0ubuntu1
  Candidate: 0.60+14.10.20140703-0ubuntu1
  Version table:
 *** 0.60+14.10.20140703-0ubuntu1 0
        500 http://ppa.launchpad.net/ci-train-ppa-service/landing-006/ubuntu/ utopic/main armhf Packages
        100 /var/lib/dpkg/status
     0.54+14.10.20140613-0ubuntu1 0
        500 http://ports.ubuntu.com/ubuntu-ports/ utopic/universe armhf Packages

Tags: qtcomp
Omer Akram (om26er)
description: updated
Gerry Boland (gerboland)
Changed in unity8:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
kevin gunn (kgunn72) wrote :

Isn't this bug actually a duplicate of
https://bugs.launchpad.net/bugs/1338430
which happens in the virgin image ?

Revision history for this message
Gerry Boland (gerboland) wrote :

I've enabled a setting for Qt's renderer which appears to improve animations like this scrolling (I enabled support for buffer queuing, which means Qt can assume that each frame is displayed a fixed time after the previous - something Mir pretty much guarantees - so it can use fixed animation steps, and has less calculations to perform).

I had this accidentally turned off. The old unity8 arch was enabling the same optimization with QSG_FIXED_ANIMATION_STEP=1), so we know it works.

It hasn't landed in the silo yet. I'll update this bug when it has

Changed in unity8:
status: Confirmed → In Progress
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Omer Akram (om26er) wrote :

One thing to note here is that the scrolling is only slow in those scopes which load local icons. Like the apps scope and the Scopes scope. It is however smooth in Music and Videos scope which generally does not load icons, rather show thumbnails.

Revision history for this message
Michał Sawicz (saviq) wrote :

It's weird here. Not sure if it's something that happened after image 125, but, for example when switching scopes left-to-right, it goes from buttery-smooth to dropping probably over half of the frames with no obvious reason, then back to full fps again.

It feels like maybe I/O has a much higher impact...

Revision history for this message
Gerry Boland (gerboland) wrote :

I've optimised the scopes as much as I can for now. The primary change: marking off-screen scopes as "visible: false"

While switching scopes, you'll have 2 scopes being rendered simultaneously, which can cause a slowdown.

The scopes scope is very severe on GPU (lots of UbuntuShapes, uncached, causes over 1500GL calls, compared to apps scope at 700) and CPU (scrolling and generating geometry for those UbuntuShapes), so still exhibits performance issues.

Overall performance has improved though, please check it out!

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Duplicate of bug 1336724 I think.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.