Closed Bug 1147745 Opened 9 years ago Closed 8 years ago

[e10s] fallback gracefully to Basic (OMTC) when we lose our D3D11 device

Categories

(Core :: Graphics: Layers, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s + ---

People

(Reporter: gw280, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

Fallout from bug 1128062 - if we lose our D3D11 device and compositor, we end up losing the page and never recovering.

Bas assures me that this should never happen under normal circumstances, but we should probably fix the fallback anyway.
Blocks: 1111396
tracking-e10s: --- → ?
This seems to only affect Windows 7 machines that have received the Platform Update. Vanilla Win7 doesn't exhibit this issue.
(In reply to George Wright (:gw280) from comment #0)
> Fallout from bug 1128062 - if we lose our D3D11 device and compositor, we
> end up losing the page and never recovering.
> 
> Bas assures me that this should never happen under normal circumstances, but
> we should probably fix the fallback anyway.

We should be falling back to D3D11 warp in this case, at the moment. We loose the page because we keep trying to create a regular D3D11 compositor or is the warp backend failing too?
WARP was failing. I think we need to account for the potential loss of a WARP device.
Gah. It's like failing at failing.
Whiteboard: [gfx-noted]
Blocks: e10s-gfx
No longer blocks: 1111396
I suspect the main problem here is that we don't call UpdateRenderMode in the child process, which is what detects driver resets and recreates the devices.

In the parent process this happens in nsWindow::OnPaint.
We should be handling this scenario a lot better now, right David?
Flags: needinfo?(dvander)
Yeah, this should be basically solved by now.
Flags: needinfo?(dvander)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.