Closed Bug 1670209 Opened 4 years ago Closed 2 months ago

The Firefox browser is shaking when Resized with WebRender on Windows 8.1

Categories

(Core :: Graphics: WebRender, defect)

Desktop
Windows 8.1
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox81 --- disabled
firefox82 --- disabled
firefox83 --- affected

People

(Reporter: rdoghi, Unassigned, NeedInfo)

References

Details

Attachments

(2 files)

[Affected platforms]:
Platforms: Windows 8.1

[Preconditions]
Reach about:config and set the following pref: gfx.webrender.all = true

[Steps to reproduce]:

  1. Launch the Firefox browser and reach reddit.com or 9gag.com
  2. From the top try to resize the window down and then go back up.

Expected Result:
The Browser and the content of the web page should not shake.

Actual Results:
When the user resizes the Browser window with WebRender on it each element from the page will start shaking up and down as the user resizes the window.

Please note that I tried to get a screen recording of this issue but the lower frame rate of the recording is making it seem identical with Webrender on and off as well.
GPU used is AMD Radeon HD 6670.

The Severity for this issue should be an S3.

Do you see something similar in Chrome?

Severity: -- → S3

Also can you post the contents of about:support?

Flags: needinfo?(rares.doghi)
Blocks: wr-win8
Attached file aboutSuppwin8.txt

I have attached the about support from this pc, also on Chrome this issue does not occur at all.

Flags: needinfo?(rares.doghi)

Can this be fixed by disabling layout.css.scroll-anchoring.enabled? If yes, then it's related to bug 1541072.

Flags: needinfo?(rares.doghi)
Blocks: gfx-triage

A few things here, I tested this issue in our latest Beta and Nightly builds and the issue is a lot less noticeable in Beta while in our latest Nightly build even less, only comparing to chrome you can spot any difference.

I tried disabling layout.css.scroll-anchoring.enabled in beta where I could reproduce the issue a little better but I don't see any differences with it on or off.

Flags: needinfo?(rares.doghi)

Sotaro, can you reproduce this? Seems like it might be similar to other resizing race issues we've had in the past.

Flags: needinfo?(sotaro.ikeda.g)

In the past, we noticed 4 causes of windows resizing on Windows. [3] or [4] might be related to this case.

  • [1] Use Compositor Window in GPU process.
    • Compositor window was created only when DirectComposition(only on windows 10).
      It should not affect to Windows8, since it is created only when WebRender uses DirectComposition in GPU process.
  • [2] Use DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL at SwapChain.
  • [3] WebRender rendering happen on RenderThread and multiple WebRendering tasks were queued during resizing.
  • [4] WebRenderLayerManager::FlushRendering() does not work as sync when it is necessary.

Bug 1579732 has links to another resizing bugs.

See Also: → 1579732

I do not have Windows8.1 PC. But I have 2 Windows 7 PCs. The shaking did not happen on one PC, but it happened on another PC. But the shake happened even without WebRender(CompositorD3D11). On the PC, I did not see the shaking with chrome browser.

Rares, remind me, do you have other hardware that has 8.1? Does the problem happen on that hardware?

Flags: needinfo?(rares.doghi)

Yes Jeff, this issue also occured on an Intel HD 530 but not as visible as on the one with that AMD Radeon HD 6670, I will attach the about support from that machine.

Flags: needinfo?(rares.doghi)
Attached file aboutsupportintl.txt

Rares, can you make a video with a cell phone video of it? And confirm that it only happens with WebRender?

Flags: needinfo?(rares.doghi)

Hi Jeff, Im definitely seeing this issue with WebRender off as well just not that strong, I hope you can see something from the following links but I'm not sure if google Drive will take some of the quality, I have also tried to film it in slow motion not sure if you can spot any differences but on the left side we have WebRender ON and on the right side WebRender off.

https://drive.google.com/file/d/1_ykmDyQYfSESWggIlgH_OCUl6GnWNep8/view?usp=sharing

https://drive.google.com/file/d/1i4txeNByknF_mJtnwxvIiyWxSCI9WsIX/view?usp=sharing

Flags: needinfo?(rares.doghi) → needinfo?(jmuizelaar)

(In reply to Rares Doghi from comment #14)

Hi Jeff, Im definitely seeing this issue with WebRender off as well just not that strong, I hope you can see something from the following links but I'm not sure if google Drive will take some of the quality, I have also tried to film it in slow motion not sure if you can spot any differences but on the left side we have WebRender ON and on the right side WebRender off.

https://drive.google.com/file/d/1_ykmDyQYfSESWggIlgH_OCUl6GnWNep8/view?usp=sharing

https://drive.google.com/file/d/1i4txeNByknF_mJtnwxvIiyWxSCI9WsIX/view?usp=sharing

Is there a particular part of the browser I should look at to see it?

Flags: needinfo?(jmuizelaar) → needinfo?(rares.doghi)
Flags: needinfo?(jmuizelaar)

Yes the titles like : "What is your favorite dead video game franchise" as well as the images from the page when I am resizing the left window you can see that they all go down a bit and then jump up , it happens on the right window as well just not as noticeable.

On the slow motion video : https://drive.google.com/file/d/1i4txeNByknF_mJtnwxvIiyWxSCI9WsIX/view?usp=sharing you can see this a little better.

Flags: needinfo?(rares.doghi)
No longer blocks: gfx-triage

Windows 8.1 is not supported now.

Status: NEW → RESOLVED
Closed: 2 months ago
Flags: needinfo?(sotaro.ikeda.g)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: