** 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 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 resource location or an explicit contract between the + graphics provider and Firefox's sandbox prevent such regressions? A + hardware decoding smoke test during future runtime migrations might also + help. + 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 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. + - 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 resource location or an explicit contract between the graphics provider and Firefox's sandbox prevent such regressions? A hardware decoding smoke test during future runtime migrations might also help. 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 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 + - 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 resource location or an explicit contract between the - graphics provider and Firefox's sandbox prevent such regressions? A - hardware decoding smoke test during future runtime migrations might also - help. - - 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. + 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. -- 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
