Open Bug 1882081 Opened 3 months ago Updated 23 days ago

Laggy/High GPU usage when "Sign up" page is accessed on github.com

Categories

(Core :: Graphics: WebRender, defect)

Firefox 125
Desktop
Windows 10
defect

Tracking

()

Tracking Status
firefox123 --- affected
firefox124 --- affected
firefox125 --- affected

People

(Reporter: ctanase, Unassigned)

References

(Depends on 1 open bug, )

Details

Attachments

(4 files)

Attached video github FF vs Chrome.mp4

Environment:
Operating system: Windows 10
Firefox version: Nightly 125.0a1 (2024-02-25)

Steps to reproduce:

  1. Go to https://github.com
  2. Click on "Sign up" button.
  3. Wait for the animation to end.
  4. Start filling in the required fields.
  5. Observe the behaviour.
  6. Check the GPU usage on Task Manager.

Expected Behaviour:
The page works correctly without any delays/lag, the GPU usage is normal.

Actual Behaviour:
The background animation and the experience is laggy, the GPU is usage is high.

Notes:

  1. Screen rec attached
  2. Reproducible regardless ETP status (reproducible on FF Release as well)
  3. Not reproducible on Chrome
  4. Issue found during WebCompat team [Top100] websites testing

Performance profile: https://share.firefox.dev/3TeOyTb

Priority: P3 → --
Component: Desktop → Performance
Product: Web Compatibility → Core

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Component: Performance → Graphics: WebRender
Flags: needinfo?(gwatson)

The first profile has screenshots enabled, which make it hard to see from the profile what is happening. In the second set of profiles, the hw-wr version seems to performing well, while the sw-wr version seems to be spending a lot of time drawing and blending.

Is it possible for the OP to get a profile with screenshots disabled, and also support the about:support of the machine experiencing the problem?

Flags: needinfo?(gwatson) → needinfo?(ctanase)

Not the OP, but here is some more detail:

Nightly with Graphics preset logging: https://share.firefox.dev/3UVuhTY (GPU use: 50%-70%)
Chrome: GPU use 10%-15%

Edit:
If I zoom-out to 30%, Nightly uses more GPU but Chrome continues to use the same amount as before.
Nightly with 30% Zoom : https://share.firefox.dev/3TeWsfk (GPU use 95%-100%)
Chrome with 30% Zoom: 15% GPU use

Attached file about:support
Attached file OP about support.txt

The issue was tested on a clean new profile. GPU usage ramps up gradually until it starts lagging.

Performance Profile with screenshots disabled: https://share.firefox.dev/3uP5xC0

Flags: needinfo?(ctanase)

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gwatson)
Severity: -- → S2
Flags: needinfo?(gwatson)
Blocks: wr-investigate-perf
No longer blocks: wr-renderer-perf

It looks like the problem here is the 2.1 second draw of the SVG image at the beginning of the profile.

No longer blocks: wr-investigate-perf
Depends on: deferrable-blobs
Severity: S2 → S3

The svg image is very large and it's pretty simple, a few ellipses with large gaussian blur filters.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: