Open Bug 1761384 Opened 3 years ago Updated 3 years ago

zoom in/out performance worse than Chrome/Edge

Categories

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

Desktop
Windows 10
defect

Tracking

()

People

(Reporter: hiro, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

This bug is a part of bug 1682974, specifically;

The zoom with touch pad has a weird latency not present in Edge.

On my Thinkpad T460p, indeed zoom in/out is jaggy. Here is a profile result with enabling gfx.webrender.debug.profile and gfx.webrender.debug.gpu-time-queries as Glenn's request;

https://share.firefox.dev/3um7cL4

I've just confirmed it on Window 10 so far.

OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop

A large portion of the time in the profile is spent grabbing screenshots. Could you record another one with screenshots disabled?

In addition, could you scroll this page without profiling, but with the gfx.webrender.debug.profiler and gfx.webrender.debug.gpu-time-queries prefs set so that the the debugging view is shown on top of your window, grab a screenshot (As in press PrtScr, not the screenshot feature of the gecko profiler, sorry if this is confusing) just after the jank and post it here?

Thanks!

Flags: needinfo?(hikezoe.birchill)
Severity: -- → S3
Priority: -- → P3

https://share.firefox.dev/3wGbnUM is a profile result without screenshot. I did one zoom in/out without leaving my fingers.

(In reply to Nicolas Silva [:nical] from comment #2)

In addition, could you scroll this page without profiling, but with the gfx.webrender.debug.profiler and gfx.webrender.debug.gpu-time-queries prefs set so that the the debugging view is shown on top of your window, grab a screenshot (As in press PrtScr, not the screenshot feature of the gecko profiler, sorry if this is confusing) just after the jank and post it here?

I guess you meant about zoom rather than scroll, right? Though I will take a screenshot, it would be quite hard to take a screenshot just after the janky zooming happened.

Attached image a screenshot
Flags: needinfo?(hikezoe.birchill)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: