Closed Bug 1023457 Opened 10 years ago Closed 10 years ago

Scrolling Twitter on the Flame is super janky

Categories

(Core :: Graphics: Layers, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1006084
blocking-b2g 2.0+

People

(Reporter: cwiiis, Assigned: cwiiis)

References

Details

(Keywords: regression)

If you log in to Twitter and fling the tweet list, the resulting scrolling is *very* janky. This is completely smooth in 1.4, it almost seems like Gralloc isn't being used and we're getting upload pauses.

Given the popularity of Twitter, I think this should be a blocker. I imagine this also manifests in many other places too, I've just not had the time to do thorough testing.

I'll see about getting a profile tomorrow.
Locking and then unlocking the phone 'fixes' the issue - I suspect that a layer that should be a tiled layer is initially an unscrollable layer and then is promoted to a scrollable layer but retains the old layer and doesn't become tiled. I also suspect that the displayport is bigger than the max texture size, and so we are indeed missing the gralloc path.

This is all just an educated guess, but I'll look at this properly tomorrow and see if there's a quick/simple fix.
Depends on: 1006084
Blocking as this is a key app and a regression. Hopefully landing of 1006084 can fix this, lets see what happens...
blocking-b2g: 2.0? → 2.0+
Assigning to Chris assuming bug 1006084 is a dupe; if it turns out not to be, pass it back to me.
Assignee: nobody → chrislord.net
Is this issue gone now that bug 1006084 is fixed?
So on my v2.0 flame with buildid 20140617000201 it seems twitter is still janky.  In addition, the lock/unlock work around from comment 1 does not seem to fix the jank any more.

I confirmed this build contains this fix, unfortunately.  The nightly I used is:

  https://pvtbuilds.mozilla.org/pvt/mozilla.org/b2gotoro/nightly/mozilla-aurora-flame/2014/06/2014-06-17-00-02-01/

I think sources.xml points to this gecko commit:

  http://git.mozilla.org/?p=releases/gecko.git;a=commit;h=bcfc4f811852631e99e9393976a6ea5d87621105

Which is hg rev 7f309a3a4d3d which contains this fix.
Actually, somehow tiling got disabled in settings on my phone.  I certainly didn't do that on purpose.

Once I re-enabled tiling the jank appears to be fixed, even on first app open.
Based on my own testing and comment #6, duping this to bug 1006084.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.