Webrender on Metal ANGLE crashes due to incorrect context type when attempting to migrate GPUs
Categories
(Core :: Graphics, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: jnicol, Assigned: jnicol)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxpe])
Attachments
(1 file)
We crash here due to aContext->mGL being a GLContextEGL rather than GLContextCGL.
This only occurs when running with the GPU process disabled, due to bug 2052891.
Long term we need to find an alternative to GPU switching on Metal ANGLE (something like "option B" in bug 1600178), but in the short term we're going to ship only on single-GPU devices. We should therefore check the context type before calling this function, avoiding the crash.
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
With not yet landed patches to enable Metal ANGLE, we crash due to an
invalid GLContext cast when attempting to migrate GPUs. This only
occurs when the GPU process is disabled, due to bug 2052891.
Longer term, we need to find an alternative to GPU switching when
running on Metal ANGLE, as Metal does not have an equivalent API to
CGLSetVirtualScreen(). In the short term, however, we will keep Metal
ANGLE disabled on multi-GPU devices, so can simply avoid calling this
function for non-CGL contexts.
Updated•2 months ago
|
Updated•1 month ago
|
Description
•