Open Bug 1912404 Opened 1 month ago Updated 19 minutes ago

bevyengine.org - The animation is not displayed

Categories

(Web Compatibility :: Site Reports, defect, P1)

Firefox 131
Desktop
Linux

Tracking

(firefox-esr115 affected, firefox-esr128 affected, firefox129 wontfix, firefox130 wontfix, firefox131 affected)

Tracking Status
firefox-esr115 --- affected
firefox-esr128 --- affected
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- affected

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)

Environment:
Operating System: Linux
Firefox version: Firefox Nightly 131.0a1 (2024-08-08) / Firefox Release 129.0

Preconditions:
Clean profile

Steps to reproduce:

  1. Navigate on https://bevyengine.org/examples/animation/animated-fox/
  2. 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

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?

Severity: -- → S2
User Story: (updated)
Flags: needinfo?(jgilbert)
Priority: P3 → P1

I will look

Assignee: nobody → jgilbert
Flags: needinfo?(jgilbert)

Kelsey, did you investigate this regression? Thanks

Flags: needinfo?(jgilbert)

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)

Flags: needinfo?(jgilbert)

The limit on Mesa is 4*4*1024 -> 16384.

See Also: → CVE-2023-6856
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: