Closed Bug 1765218 Opened 4 years ago Closed 2 years ago

Desktop visible through page

Categories

(Core :: Graphics, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1815481
Tracking Status
firefox101 --- affected

People

(Reporter: tsmith, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(3 files)

Attached file testcase.html

Sections of the page suddenly become transparent and the desktop is visible. I've seen this happen many times in the past but was unable to consistently reproduce the issue.

While reducing a test case for a separate issue I got a test case that will reproduce this behavior.

I am running Ubuntu 20.04.

STR:

  • Open the test case
  • If the problem is not apparent open the hamburger menu and move mouse up and down over the options.
Attached image screenshot.jpg

I seem to remember a similar issue when we were shipping webrender. Andrew, any thoughts?

Flags: needinfo?(aosmond)

Possibly related to Bug 1669840.

Hi Tyson. Could you attach the content of your about:support (Copy text to clipboard) here so we know what kind of setup you're running? There's a high chance that this is somewhat GPU driver related.

Flags: needinfo?(twsmith)
Attached file about_support.txt

With the latest build I don't see the same missing chunk but I do see icons flicking through.

Adding setTimeout(() => { window.location.reload(true) }, 100) to the test case makes it easier to see when it happens.

Flags: needinfo?(twsmith)

(In reply to Tyson Smith [:tsmith] from comment #5)

Created attachment 9274733 [details]
about_support.txt

Thanks a lot! So IIUC this is in a virtual machine, running an X11 session - is that correct? If you have time, could you check if:

  1. running a Wayland session (i.e. Firefox runs on Xwayland) helps?
  2. running Firefox with MOZ_ENABLE_WAYLAND=1 in a Wayland session helps?
  3. setting gfx.x11-egl.force-disabled in about:support (in the current X11 setup) helps?

Also, could you add what kind of host machine this is on, especially GPU and driver (Nvidia?).

Flags: needinfo?(twsmith)
Flags: needinfo?(aosmond)

(In reply to Robert Mader [:rmader] from comment #6)

Thanks a lot! So IIUC this is in a virtual machine, running an X11 session - is that correct?

Yes

  1. running a Wayland session (i.e. Firefox runs on Xwayland) helps?

No

  1. running Firefox with MOZ_ENABLE_WAYLAND=1 in a Wayland session helps?

Black box flickers (instead of transparent box).

  1. setting gfx.x11-egl.force-disabled in about:support (in the current X11 setup) helps?

No

Also, could you add what kind of host machine this is on, especially GPU and driver (Nvidia?).

Windows 10 (21H2), Nvidia GTX1080

This also seems to go away with gfx.webrender.software=true.

Flags: needinfo?(twsmith)

(In reply to Tyson Smith [:tsmith] from comment #7)

...

Thanks!

Windows 10 (21H2), Nvidia GTX1080

Oof, ok, many layers where things can go wrong here.

This also seems to go away with gfx.webrender.software=true.

Yeah, that's likely the solution we need to take here (disabling hardware acceleration).

The severity field is not set for this bug.
:bhood, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bhood)
Severity: -- → S3
Flags: needinfo?(bhood)
See Also: → 1768690

With HW-WR, does flipping gfx.webrender.allow-partial-present-buffer-age to false and/or gfx.webrender.max-partial-present-rects to 0 help? Just wondering if this is partial present related. Probably best to disable HW-WR when in a VM.

Flags: needinfo?(twsmith)

(In reply to Andrew Osmond [:aosmond] (he/him) from comment #10)

gfx.webrender.allow-partial-present-buffer-age to false

Still reproduces

gfx.webrender.max-partial-present-rects to 0

Still reproduces

gfx.webrender.allow-partial-present-buffer-age to false and gfx.webrender.max-partial-present-rects to 0

Still reproduces

Flags: needinfo?(twsmith)

A bug should be filed against the upstream mesa for this. The vmwgfx / svga driver is open source.

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

Attachment

General

Created:
Updated:
Size: