Closed
Bug 1271770
Opened 8 years ago
Closed 8 years ago
Fallback to WARP if accelerated ANGLE fails
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla50
People
(Reporter: jrmuizel, Assigned: ernest)
References
(Blocks 1 open bug)
Details
(Whiteboard: gfx-noted)
Attachments
(2 files)
58 bytes,
text/x-review-board-request
|
BenWa
:
review+
jrmuizel
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details |
1.91 KB,
patch
|
Details | Diff | Splinter Review |
Currently we don't do this. It seems like we should.
How's this related to bug 1260944?
Reporter | ||
Comment 2•8 years ago
|
||
Bug 1260944 made it possible to use WARP. FWIW, it looks like the machine I was seeing this on has an additional problem that makes WARP fail.
Updated•8 years ago
|
Whiteboard: gfx-noted
Reporter | ||
Comment 3•8 years ago
|
||
I think this bug is probably the reason for the remaining webgl (non performance caveat) failures on Windows 7
Benoit, something Ernest can cover?
Flags: needinfo?(bgirard)
Comment 6•8 years ago
|
||
Yes, I think this is a good bug.
Assignee: nobody → eyim
Flags: needinfo?(bgirard) → needinfo?(eyim)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(eyim)
Comment 7•8 years ago
|
||
(In reply to Jeff Gilbert [:jgilbert] from comment #5) > This is mostly solved by bug 1281050. AIUI bug 1281050 would let us run with both ANGLE/Warp at the same time in the same process. I'm not sure that's desirable outside of testing environments. Is bug 1281050 really a blocker for this?
Flags: needinfo?(jgilbert)
Comment 8•8 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #7) > (In reply to Jeff Gilbert [:jgilbert] from comment #5) > > This is mostly solved by bug 1281050. > > AIUI bug 1281050 would let us run with both ANGLE/Warp at the same time in > the same process. I'm not sure that's desirable outside of testing > environments. Is bug 1281050 really a blocker for this? Yes, because once we initialize EGL for non-WARP ANGLE, we can't re-initialize it for WARP ANGLE.
Flags: needinfo?(jgilbert)
Comment 9•8 years ago
|
||
If we aren't checking the ANGLE blocklist before initializing EGL, we can and should do that. But once we initialize EGL, we're stuck with that ANGLE config. (including d3d9 vs d3d11)
Assignee | ||
Comment 10•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/61570/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/61570/
Assignee | ||
Comment 11•8 years ago
|
||
Wrote a small patch for adding WARP fallback at initialization, will look into other locations where ANGLE may fail and see if we can fallback to WARP as discussed.
Reporter | ||
Comment 12•8 years ago
|
||
Early data from Nightly suggests that roughly 20% of our webgl failures would be fixed by this.
We're waiting on bug 1283594 before we want to land this, so that we can see the numbers change, or is there more that needs to be done to this patch? Covering 20% of failures sounds great.
Assignee | ||
Comment 14•8 years ago
|
||
Currently the patch I wrote will only fallback at initialization, if we wait for bug 1281050 also, we can look into writing a patch to also fallback during runtime. But we can land the patch as is first, as the latter may take a bit more time and work.
Comment 15•8 years ago
|
||
I don't think we need to block on bug 1283594. I believe we will still report the empty string so we should be able to study the data just fine.
Comment 16•8 years ago
|
||
Actually the relationship needs to be the other way. Bug 1283594 is going to change heavily once this is landed because this will add ways we can fallback higher up in call graph.
Assignee | ||
Comment 17•8 years ago
|
||
Comment on attachment 8766848 [details] Bug 1271770 - Fallback to WARP if accelerated ANGLE fails Review request updated; see interdiff: https://reviewboard.mozilla.org/r/61570/diff/1-2/
Attachment #8766848 -
Flags: review?(jmuizelaar)
Attachment #8766848 -
Flags: review?(bgirard)
Comment 18•8 years ago
|
||
I think you want something like this instead. We should try Accel unless we don't think it'll work. After (maybe) trying Accel, we should fallback to WARP, except if we shouldn't be falling back to WARP.
Updated•8 years ago
|
Flags: needinfo?(eyim)
Assignee | ||
Comment 19•8 years ago
|
||
With your suggestion, it will remove the overriding WARP preference (if ANGLE is successful)? Is this the intended behaviour?
Flags: needinfo?(eyim)
Assignee | ||
Comment 20•8 years ago
|
||
Ignore the above comment, I lied.
Comment 21•8 years ago
|
||
With this patch we might be trying WARP twice in some cases where it fails. Let's see if we can come up with better logic here.
Assignee | ||
Comment 22•8 years ago
|
||
Comment on attachment 8766848 [details] Bug 1271770 - Fallback to WARP if accelerated ANGLE fails Review request updated; see interdiff: https://reviewboard.mozilla.org/r/61570/diff/2-3/
Assignee | ||
Comment 23•8 years ago
|
||
Comment on attachment 8766848 [details] Bug 1271770 - Fallback to WARP if accelerated ANGLE fails Review request updated; see interdiff: https://reviewboard.mozilla.org/r/61570/diff/3-4/
Reporter | ||
Updated•8 years ago
|
Attachment #8766848 -
Flags: review?(jmuizelaar) → review+
Reporter | ||
Comment 24•8 years ago
|
||
Comment on attachment 8766848 [details] Bug 1271770 - Fallback to WARP if accelerated ANGLE fails https://reviewboard.mozilla.org/r/61570/#review61366 There's a machine in the office that would be good to test this on.
Comment 25•8 years ago
|
||
Comment on attachment 8766848 [details] Bug 1271770 - Fallback to WARP if accelerated ANGLE fails https://reviewboard.mozilla.org/r/61570/#review61702
Attachment #8766848 -
Flags: review?(bgirard) → review+
Comment 26•8 years ago
|
||
Pushed by b56girard@gmail.com: https://hg.mozilla.org/integration/autoland/rev/af5a866739e9 Fallback to WARP if accelerated ANGLE fails r=BenWa,jrmuizel
Comment 27•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/af5a866739e9
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Reporter | ||
Comment 28•8 years ago
|
||
Comment on attachment 8766848 [details] Bug 1271770 - Fallback to WARP if accelerated ANGLE fails Approval Request Comment [Feature/regressing bug #]: Not a regression [User impact if declined]: WinVista+ users with GPUs that are old but haven't been explicitly blacklisted will not get WebGL. This looks to be the reason that Vista+ users don't get WebGL 71% of the time. [Describe test coverage new/current, TreeHerder]: Has been on Nightly for a couple of days. However, it only exposes a path that we've already been testing on blacklisted GPUs. [Risks and why]: I'd like to get as much testing as soon as possible, especially on the more diverse set of hardware that Aurora provides.
Attachment #8766848 -
Flags: approval-mozilla-aurora?
Updated•8 years ago
|
status-firefox49:
--- → affected
Comment 29•8 years ago
|
||
Comment on attachment 8766848 [details] Bug 1271770 - Fallback to WARP if accelerated ANGLE fails Improve WebGL support, taking it into aurora.
Attachment #8766848 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•8 years ago
|
Reporter | ||
Comment 30•8 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/b28393478258
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 31•8 years ago
|
||
Release Note Request (optional, but appreciated) [Why is this notable]: This increases our WebGL success rate noticeably (on beta the Win7 success rate went from 87% to 98%) [Suggested wording]: Availability of WebGL increased to 98%+ on Windows 7 and newer.
relnote-firefox:
--- → ?
Added to Fx50 release notes
You need to log in
before you can comment on or make changes to this bug.
Description
•