Open Bug 1948107 Opened 1 month ago Updated 1 month ago

Scrolling antithesis.com with animated background is very slow with SWGL

Categories

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

defect

Tracking

()

Tracking Status
firefox-esr115 --- affected
firefox-esr128 --- affected
firefox135 --- affected
firefox136 --- affected
firefox137 --- affected

People

(Reporter: cpeterson, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: perf:animation)

Steps to reproduce

  1. Enable SWGL: gfx.webrender.software pref = true and restart Firefox.
  2. Load https://antithesis.com/
  3. Scroll the page.

Expected behavior

Scrolling should be smooth.

Actual behavior

Scrolling is very slow, presumably due to the page's animated background.

I'm running Nightly 137.0a1 on Windows 11.

Here is a profile: https://share.firefox.dev/3Qih9og

This is not a recent regression. I can reproduce in ESR 115 and Nightly 124 (from February 2024).

Summary: Scrolling antithesis.com is very slow with SWGL → Scrolling antithesis.com with animated background is very slow with SWGL

Lee, can you please have a look here?

Severity: -- → S3
Flags: needinfo?(lsalzman)
Priority: -- → P2
Blocks: sw-wr-perf

This looks like it is using animated 3D transforms over the entire background, along with filters, which is going to unfortunately be slow in software. I don't know that there is an easy fix for this.

Component: Graphics → Graphics: WebRender
Flags: needinfo?(lsalzman)
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.