-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application cannot start in Windows Firefox when antialiasing is enabled, or transparent canvas disabled #5856
Comments
Is this FF120? I can't replicate |
Interesting, I just suggested PlayCanvas to someone yesterday and he mentioned the same issue, but it worked with WebGL1 for him (Windows + Firefox) 🤔 |
I've tried to run under Ubuntu (WSL in Windows) and it runs fine. |
OK I can replicate this on Windows FF120. Works in engine 165.5, broken in 1.66.2 |
Engine examples work fine, except these (black screen as well): These take very long time to load: |
I can repro on Windows as well, Firefox 120. I captured this in Spector, and under the hood rendering seems ok to a multi-sampled buffer. At the very end, we resolve this multi-sampled buffer to a single sampled default backbuffer (NULL), maybe that does not work for some reason in FF on Windows. API calls to do it seem correct to me. I suspect that if the multi-sampling was disabled, this would work. WebGL1 does not support multi-sampling, so that explains why it works. |
Yes, the first one is compiling many large shaders, and is expected to take longer on Windows (where DX shader compiler is very slow). This is a banchmark for it really. The second one has many complex shaders, and so suffers from the same. Known issue without a solution at the moment. Shared by all WebGL implementations. |
The project runs fine, if Anti-Alias is disabled. |
Interesting that I think all these examples that do not work use |
Latest Firefox beta in Window: |
created a Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1866762 |
The workaround has been released as part of https://github.com/playcanvas/engine/releases/tag/v1.67.1 I'll leave the issue opened to keep an eye on possible Firefox fix, allowing us to enable AA on newer versions. |
Forum:
https://forum.playcanvas.com/t/back-screen-in-latest-firefox-version-120-0-playcanvas-version-166-3/33964/1
https://forum.playcanvas.com/t/camera-blackscreen-with-the-latest-firefox-version-120-0/33986/1
Repro: https://playcanvas.com/project/1167343/overview/roll-a-ball
The project is a new default one from Roll a Ball template. Launch a game in latest Firefox. A black screen is shown.
Console:
The text was updated successfully, but these errors were encountered: