Closed Bug 1671498 Opened 4 years ago Closed 2 years ago

Slow/janky scroll on vanity fair article

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox83 --- affected

People

(Reporter: yoasif, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Keywords: nightly-community)

Attachments

(1 file)

Basic information

Steps to Reproduce:

  1. Visit https://www.vanityfair.com/style/2020/10/rudy-giulianis-daughter-on-voting-for-biden
  2. Scroll down page

Expected Results:

Smooth scroll.

Actual Results:

Lots of judder.


More information

Profile URL: https://share.firefox.dev/317CnvF

Basic systems configuration:

OS version: Windows 10

GPU model: Intel(R) UHD Graphics 600

Number of cores: 2

Amount of memory (RAM): 8GB

Thanks so much for your help.

Attached file about:support

:yoasif, if you think that's a regression, then could you try to find a regression range in using for example mozregression?

Slow composites on the renderer thread, and the profiler wasn't able to obtain a lot of samples from the GPU process. Raising the priority of the GPU process might help (bug 1671490). But I wonder why the discrepancy in the sampling rate between the parent process and the GPU process is so large. Is the priority of the GPU process currently lower than the priority of the parent process?

Component: Performance → Graphics: WebRender
Depends on: 1671490
Blocks: wr-perf
Severity: -- → S3
Priority: -- → P3

Fresh profile after disabling some Windows services that helped lower my idle CPU use: https://share.firefox.dev/2KeX6bp

Similar effect as before: The parent process is getting sampled consistently but the GPU process only has very sporadic samples.
Also, for some reason I don't see any "Composite" markers in the Renderer thread. That's weird.

Asif, could you get another profile where you sample fewer threads on the GPU process? Remove "RenderBackend,SceneBuilder,WrWorker" from the profiled thread list.

Also, the profile shows some input events getting delayed by D3D11DXVA2Manager code, and D3D11DXVA2Manager::Init runs at least 6 times.

Flags: needinfo?(yoasif)
Depends on: 1678684

Markus, grabbed a new profile - removing RenderBackend,SceneBuilder,WrWorker

Take a look: https://share.firefox.dev/35Oa0p4

Flags: needinfo?(yoasif)

Thanks, we're getting more samples now but still not a lot. I'm curious, does the profiler noticeably impact scrolling smoothness on this page? I'd also be curious in a profile with a much longer sampling interval, e.g. 100ms.

I'm curious, does the profiler noticeably impact scrolling smoothness on this page?

Not really - maybe a tiny amount.

I'd also be curious in a profile with a much longer sampling interval, e.g. 100ms.

Here you go: https://share.firefox.dev/2UOQQsQ

Thanks. Once we have the markers back (bug 1678698) we'll need to take a look at the duration and timing of the "Composite" markers on the renderer thread.

I've filed bug 1678684 on the D3D11DXVA2Manager issue. Jya, I'm moving your comment there.

Depends on: 1680787
Blocks: wr-low-end-perf
No longer blocks: wr-perf

Seems very smooth now on a couple of machines I tested, not much going on in any of the WR profiler buckets.

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

Attachment

General

Creator:
Created:
Updated:
Size: