Closed Bug 1422298 Opened 7 years ago Closed 6 years ago

When webrender is is activated, some DOM elements are replaced by black boxes

Categories

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

x86
Windows 7
defect

Tracking

()

RESOLVED DUPLICATE of bug 1440849
Tracking Status
firefox-esr52 --- unaffected
firefox57 --- unaffected
firefox58 --- unaffected
firefox59 --- unaffected

People

(Reporter: flore, Unassigned)

References

Details

(Keywords: nightly-community, Whiteboard: [wr-reserve])

Attachments

(5 files, 2 obsolete files)

Attached image New tab (obsolete) —
STR:

- about:config
- switch gfx.webrender.enabled to true
- restart Nightly
- open a new tab: black boxes everywhere (see 1st screenshot)
- open bugzilla to create a new bug : black boxes (see 2nd screenshot)
- about:config
- switch gfx.webrender.enabled to false
- Restart Nightly
- Everything is back to normal

About support posted as attachment
Attached image bugzilla new bug page (obsolete) —
Whiteboard: [wr-mvp] [triage]
> "windowLayerManagerType": "WebRender",
> "adapterDescription": "Intel(R) HD Graphics 4600",

> "name": "NO_CONSTANT_BUFFER_OFFSETTING",
> "message": "Unsupported by driver"
OS: Unspecified → Windows 7
Hardware: Unspecified → x86
Version: unspecified → Trunk
Back home, taking a look at this bug and showing the screenshots to a friend. And I just realized those screenshots look perfectly normal.
Probabaly because I took them with the screenshot feature integrated in Nightly.
I just feel like someone who would take a screenshot of their phone to show people what their broken screen looks like.

It will have to wait until monday to get "proper" screenshots of the bug. Sorry for not having checked the screenshots before...
Attached image newpage_webrender.png
Screenshot showing (really) the issue on a new tab page.
Attachment #8933623 - Attachment is obsolete: true
Attached image bug_webrender.png
Bugzilla new bug page showing this bug (also scrollbars are black). But everything works, it's just black...
Attached image bz_fields.png
Dropdown menus, checkboxes, filepicker button (and its text)... A lot of elements are affected.
But they are functional, I submitted these screenshots with the bug.
Comment on attachment 8933624 [details]
bugzilla new bug page

Obsolete (does not show the bug)
Attachment #8933624 - Attachment is obsolete: true
Whiteboard: [wr-mvp] [triage] → [wr-reserve]
I have found that when this occurs, I can make the problem go away with the "Trigger Device Reset" button in about:support.


Steps to reproduce behavior:
 > Freshly launch Firefox nightly with WebRender enabled (per WebRender newsletter 11 instructions: https://mozillagfx.wordpress.com/2018/01/03/webrender-newsletter-11/)

Steps to mitigate behavior:
 > Make sure a tab is open showing DOM elements replaced with black rectangles
 > Open a new tab, go to about:support
 > Under Graphics : Diagnostics : Device Reset, click "Trigger Device Reset"
 > Check other tabs to confirm that the problem has been mitigated.

1-2 "Trigger Device Reset" clicks may be needed to restore display back to normal.

I have also noticed that when the device resets, the shadows on tab titles becomes a lot clearer.
This attachment shows how to mitigate the effects of this bug.

When encountered, open about:support and trigger a Device Reset.

    "name": "Firefox",
    "osVersion": "Windows_NT 6.1",
    "version": "59.0a1",
    "buildID": "20180111100722",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0",
    "safeMode": false,
    "updateChannel": "nightly",
Attachment #8941901 - Flags: feedback+
Attachment #8941901 - Flags: feedback+
Do you still have WebRender after triggering device reset?  about:support graphics section would tell us that.
I have the same issue here. Triggering device reset solve the issue, but the compositor is back to Direct3D 11, no more WebRender.
This seems like dup of Bug 1433696.
(In reply to Sotaro Ikeda [:sotaro] from comment #13)
> This seems like dup of Bug 1433696

The fix is actually working Bug 1434522. When D3D device does not support NV12 format, ANGLE does not handle eglCreateStreamProducerD3DTextureNV12ANGLE() and eglStreamPostD3DTextureNV12ANGLE() functions.
Depends on: 1434522
:flore, can you confirm if the problem is addressed with latest m-c?
Flags: needinfo?(Flore)
Sorry, latest m-c means latest nightly.
I would say, this bug is fixed. No more black boxes.
As for the rest of the interface, it probably deserves a new bug (probably already filed) because all interface elements (buttons, icons...) disappeared.
Flags: needinfo?(Flore)
Everything is fine for me, no black boxes and interface is ok.
Good! Thanks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: