Closed Bug 1659562 Opened 4 years ago Closed 4 years ago

Janky scrolling with precision trackpad after zooming in

Categories

(Core :: Panning and Zooming, defect, P3)

ARM64
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox81 --- affected

People

(Reporter: kats, Unassigned)

References

Details

I was scrolling around while pinch-zoomed in on https://staktrace.com/spout/ and it was surprisingly janky. This was on a Lenovo ARM laptop with windows 10, precision trackpad. Scrolling at regular zoom is fast and smooth, so I suspect something about being zoomed in is causing issues.

Profile is at https://share.firefox.dev/2Q7kvLv and seems to show mostly time in the MLGPU backend. Matt, do you know what might be the problem here?

Flags: needinfo?(matt.woodrow)

Really hard to say from that sorry.

It looks like it's spending a lot of time trying to Map a GPU buffer into system memory, so I think it's just blocking on the previous composite finishing for the buffer to become available.

The solution might be to predict this case and allocate a new buffer instead, but it'd be worth knowing why the previous draw is taking so long, and seeing if we can address that instead.

Flags: needinfo?(matt.woodrow)

I tried reproducing this today but was unable to. I also cannot reproduce it on the Aug 17 nightly so presumably this was caused by some other factor on the machine I'm using that has since resolved itself. I'm going to close this as WFM.

While trying to repro I did see a reliable way to produce unexpected transient checkerboarding, but I'll file that as another bug.

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