Open Bug 1700921 Opened 3 years ago Updated 3 years ago

Flipping pages on Flippingbook.com is jerky with Webrender Software enabled

Categories

(Core :: Graphics: WebRender, defect)

Desktop
Unspecified
defect

Tracking

()

Tracking Status
firefox-esr78 --- disabled
firefox86 --- disabled
firefox87 --- disabled
firefox88 --- affected
firefox89 --- affected

People

(Reporter: tbabos, Unassigned)

References

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

Details

Affected versions:
88.0b2
89.0a1(2020-02-24)

[Tested Platforms]:
Platforms: Windows 7, Ubuntu 20.04

Graphics Cards:
Nvidia Geforce 730
Intel 4600
AMD 550

[Preconditions]:
Reach about:config and set both gfx.webrender.enabled, gfx.webrender.software - true

[Steps to reproduce]:

  1. Launch the Firefox browser.
  2. https://online.flippingbook.com/view/598058/
  3. Flipp the pages by clicking on the ">" button or on the edge of the page

Expected Result:
The animations of flipping over the papers sheets should be smooth

Actual Results:
Flipping pages on Flippingbook.com is jerky with Webrender Software enabled

Notes:
Not reproducible with Webrender Software disabled nor Webrender disabled.
Screen Recording: https://www.awesomescreenshot.com/video/3177824?key=eba29dbbe55131973c4e2b0185f79d2a

Webrender Software profiler (repro): https://share.firefox.dev/3ss9Tsw
Webrender simple profiler (not repro): https://share.firefox.dev/39daTsN

Here's my profile: https://share.firefox.dev/2NPGQji

The time is mostly in blendTextureLinearFallback, blendTextureLinearRepeat and blendTextureLinear which are all relatively fast. Maybe there's too much drawing for some reason.

Here's a profile of basic compositor: https://share.firefox.dev/3lNtO2v

sw-wr: 160ms-170ms
basic: 140ms-200ms

so we're on the same order of magnitude.

Timea, can you confirm that you see similar slowness with gfx.webrender.force-disabled=true and layers.acceleration.disabled=true

Flags: needinfo?(timea.babos)

Yes, I can confirm the same slowness after switching the prefs you mentioned.

Flags: needinfo?(timea.babos)

After the linear repeat slowness was addressed by bug 1678783, it looks like the biggest remaining issue here is cs_border_solid performance.

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