Closed
Bug 1467406
Opened 6 years ago
Closed 6 years ago
Black screen with Esenthel Engine WebGL 2.0 demo
Categories
(Core :: Graphics: CanvasWebGL, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla65
People
(Reporter: esenthel, Assigned: jgilbert)
References
()
Details
(Keywords: parity-chrome, regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
jcristau
:
approval-mozilla-esr60+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Steps to reproduce:
http://www.esenthel.com/?id=live_demo
Actual results:
Screen is black
Expected results:
This WebGL 2.0 demo works fine on Google Chrome, but on FireFox I don't see anything.
Comment 1•6 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
20180606220131
Looks like this was already noted 2 years ago in bug 1109708, comment 22.
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → Canvas: WebGL
Ever confirmed: true
Keywords: parity-chrome
Product: Firefox → Core
Summary: WebGL 2.0 black screen → Black screen with Esenthel Engine WebGL 2.0 demo
This demo used to work fine on an older version of FireFox, so something got broken.
http://esenthel.com/site/Esenthel%20Fantasy%20Demo%20WebGL1/Esenthel%20Fantasy%20Demo%20WebGL1.html
This is same demo but with WebGL 1.0 (instead of 2.0) and it works OK on latest FireFox.
http://esenthel.com/site/Esenthel%20Fantasy%20Demo%20Test/Esenthel%20Fantasy%20Demo%20Test.html
This is WebGL 2.0 but with all calls to 'glInvalidateFramebuffer' disabled, and it works fine.
So latest FireFox must have some problem with handling 'glInvalidateFramebuffer'
Comment 3•6 years ago
|
||
regression-window |
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 6•6 years ago
|
||
I think this is over-invalidation on Firefox's part. We try to optimize invalidation of the default framebuffer, but we assume right now that that any invalidation call is for all attachments, which is probably not the case here. (Are you invalidating only depth/stencil, by chance?)
Flags: needinfo?(jgilbert) → needinfo?(esenthel)
Assignee | ||
Comment 7•6 years ago
|
||
Yes,
In my engine I call 'glInvalidateFramebuffer' with all kinds of different parameters, sometimes color render targets, sometimes depth buffer.
So yes, in FireFox you should definitely make sure to invalidate only what was requested, and not all.
Thanks
Flags: needinfo?(esenthel)
Assignee | ||
Comment 9•6 years ago
|
||
I wouldn't normally try to uplift this to ESR, but it's super low-risk, and fixes this issue. We'll try for it, at least.
Assignee | ||
Comment 10•6 years ago
|
||
[Tracking Requested - why for this release]:
This is extremely low-risk and fixes this correctness issue.
status-firefox63:
--- → wontfix
status-firefox64:
--- → affected
status-firefox65:
--- → affected
status-firefox-esr60:
--- → affected
tracking-firefox64:
--- → ?
tracking-firefox-esr60:
--- → ?
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → jgilbert
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•6 years ago
|
||
(In reply to esenthel from comment #8)
> Yes,
>
> In my engine I call 'glInvalidateFramebuffer' with all kinds of different
> parameters, sometimes color render targets, sometimes depth buffer.
>
> So yes, in FireFox you should definitely make sure to invalidate only what
> was requested, and not all.
>
> Thanks
Awesome, thanks for using the new WebGL 2 functionality! I'll make sure that we have a test for this for the future.
Comment 12•6 years ago
|
||
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eb787b74bd04
Remove broken default-fb invalidation path. r=lsalzman
Comment 13•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Comment 14•6 years ago
|
||
Please request uplift ASAP, we're building the last 64 beta today.
Flags: needinfo?(jgilbert)
Assignee | ||
Comment 15•6 years ago
|
||
Comment on attachment 9027822 [details]
Bug 1467406 - Remove broken default-fb invalidation path.
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: None
User impact if declined: Black screens in some WebGL applications
Is this code covered by automated tests?: No
Has the fix been verified in Nightly?: No
Needs manual test from QE?: No
If yes, steps to reproduce:
List of other uplifts needed: None
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Very low, because we're just removing some overzealous zeroing.
String changes made/needed: none
Flags: needinfo?(jgilbert)
Attachment #9027822 -
Flags: approval-mozilla-beta?
Comment 16•6 years ago
|
||
Comment on attachment 9027822 [details]
Bug 1467406 - Remove broken default-fb invalidation path.
Assuming an esr60 nomination was also intended here. Grafts cleanly, fwiw.
Attachment #9027822 -
Flags: approval-mozilla-esr60?
Assignee | ||
Comment 17•6 years ago
|
||
Sure! For some reason I thought esr60 was unaffected.
Comment 18•6 years ago
|
||
Comment on attachment 9027822 [details]
Bug 1467406 - Remove broken default-fb invalidation path.
Let's take this for beta and see how things go. I don't think we have any pressing need to get this into ESR but we can reconsider that for next cycle if you feel strongly about it.
Attachment #9027822 -
Flags: approval-mozilla-esr60?
Attachment #9027822 -
Flags: approval-mozilla-esr60-
Attachment #9027822 -
Flags: approval-mozilla-beta?
Attachment #9027822 -
Flags: approval-mozilla-beta+
Comment 19•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Assignee | ||
Comment 20•6 years ago
|
||
I don't seem to be authorized to re-request esr60 consideration.
Flags: needinfo?(lhenry)
Comment 21•6 years ago
|
||
Comment on attachment 9027822 [details]
Bug 1467406 - Remove broken default-fb invalidation path.
[ESR Uplift Approval Request]
If this is not a sec:{high,crit} bug, please state case for ESR consideration:
User impact if declined:
Fix Landed on Version:
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky):
String or UUID changes made by this patch:
Flags: needinfo?(lhenry)
Attachment #9027822 -
Flags: approval-mozilla-esr60- → approval-mozilla-esr60?
Comment 22•6 years ago
|
||
Comment on attachment 9027822 [details]
Bug 1467406 - Remove broken default-fb invalidation path.
webgl fix, included in 64.0, approved for 60.5.0esr
Attachment #9027822 -
Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
Updated•6 years ago
|
Comment 23•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
QA Whiteboard: [good first verify]
You need to log in
before you can comment on or make changes to this bug.
Description
•