Closed Bug 1699042 Opened 4 years ago Closed 6 months ago

on scroll event have a page visual update lag

Categories

(Core :: Layout, defect)

Firefox 88
Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr91 --- disabled
firefox-esr102 --- disabled
firefox88 --- disabled
firefox104 --- disabled
firefox105 --- disabled
firefox106 --- disabled
firefox107 --- disabled

People

(Reporter: karlcow, Unassigned)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: regression)

I'm not sure if it's graphics the issue or if it's because of intense getComputedPosition

  1. With Firefox Nightly on Android
  2. Go to https://m.hoyolab.com/genshin/#/home/0
  3. Then scroll

Expected:
Smooth scrool

Actual:

  • Scroll janky
  • Layout disappears and then reappears.

Performance issue?
Working fine on chrome.

A profile https://share.firefox.dev/38OFXPv
Check in between 18 and 23s

The renderer thread does appear to be doing anything for the first 2 seconds of that period, which would certainly explain the jank. It's possible that webrender is taking too long further back in the pipeline. Karl, could you take another profile using the "Firefox Graphics" preset?

Could you also try setting gfx.webrender.force-disabled to true, restart, and see if that helps?

Flags: needinfo?(kdubost)

Jamie,
Yeah sure.

Firefox Graphics on with two subsequent scrolls.
https://share.firefox.dev/3cRifTE

And indeed setting gfx.webrender.force-disabled to true solves the issue

Flags: needinfo?(kdubost) → needinfo?(jnicol)
Component: Graphics → Graphics: WebRender
Severity: -- → S3
Priority: -- → P3

On desktop with an android user agent set I can't even scroll this page with a mouse/touchpad scroll. Clicking and dragging reproduces the same bug as on android. Have they implemented their own scrolling behaviour??

Mozregression points to this - bug 1656418.

Partial pre-render is currently only enabled on Nightly. Karl, can you confirm that you can only reproduce this on nightly. And does setting layout.animation.prerender.partial=false fix it? It does for me.

Scrolling is still janky but it's like that in Chrome and Firefox both with and without webrender. I'm guessing it's due to whatever way they're implementing the scrolling. The profile shows there's no webrender perf issue here.

Blocks: 1656473
No longer blocks: wr-android-perf
Component: Graphics: WebRender → Layout
Flags: needinfo?(jnicol) → needinfo?(kdubost)

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P3 → --

Jamie,

layout.animation.prerender.partial set to false on desktop with RDM on desktop and a Firefox Android UA doesn't fix it for me.
but it fixes it on android device indeed.

Flags: needinfo?(kdubost)
Webcompat Priority: ? → ---
Regressed by: 1656418

Set release status flags based on info from the regressing bug 1656418

:hiro, since you are the author of the regressor, bug 1656418, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hikezoe.birchill)

The pref causes this has already been disabled.

Flags: needinfo?(hikezoe.birchill)

Set release status flags based on info from the regressing bug 1656418

The site design has changed and the issue with scrolling in https://webcompat.com/issues/67703 doesn't seem to be reproducible anymore with or without layout.animation.prerender.partial enabled.

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.