Closed Bug 1470219 Opened 6 years ago Closed 4 years ago

Scrolling jank with webrender and large SVG

Categories

(Core :: Graphics: WebRender, defect, P2)

62 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox62 --- affected

People

(Reporter: sphilp, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

Happening at least on OSX 10.13.4, todays nightly (62.0a1 (2018-06-21) (64-bit))

Confirmed to be webrender only (doesn't happen when I disabled gfx.webrender.all)

Steps:

1. Load http://jlongster.com:8080/s/bigsvg/
2. Scroll down the page
3. Once you get near the bottom (where the bubbles start to fan/thin out), scrolling appears to drop frames/jank

Profile captured at: https://perfht.ml/2Kansq3

Kats suggested this may be fixed by bug 1455422
Also this didn't seem to be a problem for me on my external monitor (24" 1080p), but it is very noticeable on my 13" retina display. I thought it may be related to high dpi, but changing the system display scaling didn't seem to help.
Priority: -- → P2
Whiteboard: [gfx-noted]
How does this feel now?
Flags: needinfo?(sphilp)
Seems about the same, as of 63.0a1 (2018-08-13) (64-bit), still stutters when scrolling down
Flags: needinfo?(sphilp)
Depends on: 1429930
Depends on: 1456555
Priority: P2 → P3
I cannot quite reproduce aforementioned jank on the test page but I've just encountered something that fits the description at https://www.bbc.co.uk/radio: all SVGs move "strange" during scroll: mostly faster than rest of page (on sub-pages slower), some even in wrong direction (presumably due transforms).  But jumps to proper place after scrolling finishes.

Behold the amusing showcase: https://imgur.com/a/s6IhvtO
Priority: P3 → P2
I'm duping against 1391838
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

This still doesn't seem ideal. There are still invalidations during scrolling (can be seen with gfx.webrender.blob.paint-flashing).

The new URL is https://jlongster.com/s/bigsvg/

Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Attached file testcase

This appears to be fixed by bug 1582152.

I can't reproduce on 74.0 (current release).

Closing per comments 9 and 10.

Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: