Open Bug 1713648 (sw-wr-perf-large-blur) Opened 3 years ago Updated 3 years ago

Bad performance with SWGL on https://termsandconditions.game/

Categories

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

Desktop
Unspecified
defect

Tracking

()

Tracking Status
firefox91 --- affected

People

(Reporter: h.winnemoeller, Unassigned)

References

(Blocks 2 open bugs)

Details

STR

  1. Enable SWGL.
  2. Open https://termsandconditions.game/.
  3. Play the game.

Profile
https://share.firefox.dev/3fDVSE5

Device info
Intel Core i5-6500
32 GiB RAM
NVIDIA GeForce GTX 1650
Windows 10 21H1

Seems to be a lot of alpha and blur shaders.

Blocks: gfx-triage
Severity: -- → S3
Priority: -- → P3

This seems to be slow even without WR using basic layers, so I am not sure there is a terrible lot that can be done.

The blur bottleneck is just from the fact that this blurs the entire background every single frame, and this isn't a particularly cheap operation. Since this is still hitting the blur fast-path, I am not sure there is too much we can do to make blur faster without some significant rearchitecting.

The other noticeable bottleneck is a lot of time is spent in brush_blend, which we have no fast-path for at the moment.

Alias: sw-wr-perf-large-blur
No longer blocks: gfx-triage
You need to log in before you can comment on or make changes to this bug.