bevyengine.org - The animation is not displayed
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(firefox-esr115 wontfix, firefox-esr128 fixed, firefox129 wontfix, firefox130 wontfix, firefox131 wontfix, firefox132 fixed)
People
(Reporter: railioaie, Assigned: jgilbert)
References
()
Details
(Keywords: regression, webcompat:platform-bug, webcompat:site-report)
User Story
platform:windows,mac,linux,android impact:site-broken configuration:general affects:all branch:release diagnosis-team:graphics
Attachments
(2 files)
90.89 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr128+
|
Details | Review |
Environment:
Operating System: Linux
Firefox version: Firefox Nightly 131.0a1 (2024-08-08) / Firefox Release 129.0
Preconditions:
Clean profile
Steps to reproduce:
- Navigate on https://bevyengine.org/examples/animation/animated-fox/
- Observe the page
Expected Behavior:
The animation is displayed correctly
Actual Behavior:
The animation is not displayed
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in Firefox Nightly, Firefox Release
- Does not reproduce in Chrome
See also the relevant issue on Bevy where a lot of users running into this reported their environment.
To summarize the Bevy issue:
As of Firefox 128 Bevy's 3d renderer no longer works with WebGL2 on Linux with AMD Mesa drivers. It appears that Intel mesa drivers and LLVMpipe may also be broken, but those aren't fully confirmed (so this seems to be a Linux Mesa drivers + Firefox 128+ specific issue). There was a recent report that it's also broken as of a recent Firefox 115 ESR release.
I asked about the error message on the wgpu matrix
ERROR Shader compilation failed: ERROR: 0:? : '' : Total size of declared private variables exceeds implementation-defined limit
and was told that this was the relevant code https://searchfox.org/mozilla-central/source/gfx/angle/checkout/src/compiler/translator/ValidateTypeSizeLimitations.cpp#114 and https://searchfox.org/mozilla-central/source/dom/canvas/WebGLShaderValidator.cpp#205
Comment 4•6 months ago
|
||
According to the GitHub thread, this is a regression from bug 1888340, so maybe the graphics team can look into this. Kelsey, do you have an idea?
Updated•6 months ago
|
Comment 6•5 months ago
|
||
Kelsey, did you investigate this regression? Thanks
Updated•5 months ago
|
Assignee | ||
Comment 7•5 months ago
|
||
We can test this on any machine by manually setting webgl.glsl.max_private_var_size_in_bytes
.
It looks like the shader requires 69604 here. (69604 renders fine, whereas 69603 has a shader error)
Assignee | ||
Comment 8•5 months ago
|
||
The limit on Mesa is 4*4*1024 -> 16384
.
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 10•5 months ago
|
||
Updated•5 months ago
|
Comment 11•5 months ago
|
||
Comment 12•5 months ago
|
||
bugherder |
Comment 13•5 months ago
|
||
:jgilbert if you want to uplift this to 131, just a reminder that tomorrow is the last day to request an uplift.
Comment 14•5 months ago
|
||
This grafts cleanly to both Beta and ESR128. Probably worth nominating for both.
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 15•5 months ago
|
||
Comment on attachment 9424471 [details]
Bug 1912404 - Remove unneeded 16kiB var limit for Mesa.
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This limit is low enough that it prevents reasonable content from running, causing websites not to work in Firefox.
- User impact if declined: This limit is low enough that it prevents reasonable content from running, causing websites not to work in Firefox.
- Fix Landed on Version: 132
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low risk because it doesn't seem like we ever needed this limit, and we know that no one else has this same limit because the content runs elsewhere. (e.g. Chrome)
Comment 17•5 months ago
|
||
Comment on attachment 9424471 [details]
Bug 1912404 - Remove unneeded 16kiB var limit for Mesa.
Approved for 128.4esr.
Updated•5 months ago
|
Comment 18•5 months ago
|
||
uplift |
Description
•