Public bug reported: On Ubuntu 24.04 Wayland with Intel UHD 620, play 3840×2160 VP9 at 24 fps in a clean Firefox Snap 160.0.1 profile (rev 9229, mesa-2604 rev 123). VA-API initializes, then Firefox falls back to software. H.264 reproduces the same failure.
With gpu-2604, the provider sets __EGL_VENDOR_LIBRARY_DIRS to a directory outside Firefox’s RDD policy. The strict Snap shell can read the manifest and import a VA surface into EGL. See the linked Mozilla issue 2095773. Similar Snap graphics sandbox integration failures have occurred previously: - 2021: https://bugzilla.mozilla.org/show_bug.cgi?id=1732580 - 2022: https://bugzilla.mozilla.org/show_bug.cgi?id=1772142 - 2024: https://bugzilla.mozilla.org/show_bug.cgi?id=1921520 The last two involve RDD sandbox denials of EGL manifest directories, including during the core24 migration. Could a stable, trusted resource location or an explicit contract between the graphics provider and Firefox's sandbox prevent such regressions? If a stable location is impractical, guidance on which provider paths Mozilla can safely allow across generations would help. An automated hardware decoding smoke test during runtime migrations might also prevent recurrence. ** Affects: firefox Importance: Unknown Status: Unknown ** Affects: firefox (Ubuntu) Importance: Undecided Status: New ** Tags: snap vaapi ** Bug watch added: Mozilla Bugzilla #2095773 https://bugzilla.mozilla.org/show_bug.cgi?id=2095773 ** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=2095773 Importance: Unknown Status: Unknown ** Description changed: On Ubuntu 24.04 Wayland with Intel UHD 620, play 3840×2160 VP9 at 24 fps in a clean Firefox Snap 160.0.1 profile (rev 9229, mesa-2604 rev 123). VA-API initializes, then Firefox falls back to software. H.264 reproduces the same failure. - After the transition from `gpu-2404` to `gpu-2604`, the provider sets - `__EGL_VENDOR_LIBRARY_DIRS` to a directory outside Firefox’s RDD policy. - The strict Snap shell can read the manifest and import a VA surface into - EGL. [Mozilla bug - 2095773](https://bugzilla.mozilla.org/show_bug.cgi?id=2095773) + With gpu-2604, the provider sets __EGL_VENDOR_LIBRARY_DIRS to a + directory outside Firefox’s RDD policy. The strict Snap shell can read + the manifest and import a VA surface into EGL. See linked Mozilla bug + 2095773. Could the graphics runtime expose EGL manifests at a stable, trusted location already permitted by Firefox? If that is impractical, guidance on which provider paths Mozilla can safely allow across generations would help. ** Description changed: On Ubuntu 24.04 Wayland with Intel UHD 620, play 3840×2160 VP9 at 24 fps in a clean Firefox Snap 160.0.1 profile (rev 9229, mesa-2604 rev 123). VA-API initializes, then Firefox falls back to software. H.264 reproduces the same failure. With gpu-2604, the provider sets __EGL_VENDOR_LIBRARY_DIRS to a directory outside Firefox’s RDD policy. The strict Snap shell can read - the manifest and import a VA surface into EGL. See linked Mozilla bug + the manifest and import a VA surface into EGL. See linked Mozilla issue 2095773. Could the graphics runtime expose EGL manifests at a stable, trusted location already permitted by Firefox? If that is impractical, guidance on which provider paths Mozilla can safely allow across generations would help. ** Description changed: On Ubuntu 24.04 Wayland with Intel UHD 620, play 3840×2160 VP9 at 24 fps in a clean Firefox Snap 160.0.1 profile (rev 9229, mesa-2604 rev 123). VA-API initializes, then Firefox falls back to software. H.264 reproduces the same failure. With gpu-2604, the provider sets __EGL_VENDOR_LIBRARY_DIRS to a directory outside Firefox’s RDD policy. The strict Snap shell can read - the manifest and import a VA surface into EGL. See linked Mozilla issue - 2095773. + the manifest and import a VA surface into EGL. See the linked Mozilla + issue 2095773. Could the graphics runtime expose EGL manifests at a stable, trusted location already permitted by Firefox? If that is impractical, guidance on which provider paths Mozilla can safely allow across generations would help. ** Tags added: wayl ** Tags removed: wayl ** Tags added: snap vaapi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2178208 Title: Firefox Snap falls back to software video decoding with gpu-2604 To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2178208/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
