With Ubuntu Plucky, what does it take (if it’s even possible) to get hardware accelerated video playback in youtube and google meet with the browsers:
google chrome upstream deb
chromium snap
firefox snap
On xorg, and wayland. Or is only one possible? I’m still hitting issues with wayland in plucky, but that’s a topic for another post.
Last time I had that working was in Oracular, and that was after a lot of messing around with packages and different combinations. And IIRC it only worked in chromium with a special release snap channel. Then never again.
Up until recently it required toggling the about:config flag media.ffmpeg.vaapi.enabled, at least on AMD while google tells me Intel was already enabled by default. Then Firefox 136 enabled it by default for AMD too.
However it is now failing for me with “Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED”; probably the libva version from the core22 snap is too old and this will resume working once we can finally transition to a core24 snap.
You can check your status in Firefox at about:support and look for HARDWARE_VIDEO_DECODING and Codec Support Information.
Be careful if you do that to not let it override your profile, because Firefox (and Thunderbird) do not support downgrading version later. Firefox has a profile manager for that. Although I guess snap revert might also help to recover an older profile.
I fear snap revert would only partially work since FF and TB both do not properly use the SNAP_USER_DATA dirs that are designed for this but both put their data into SNAP_USER_COMMON
Lots of good firefox suggestions, I’ll try it, but I can’t use firefox snap for all my tasks as it doesn’t work with the smart card my government issued (Comment #82 : Bug #1967632 : Bugs : firefox package : Ubuntu). I haven’t tried again, though, so maybt it’s time.
And what about chrome and chromium snap, any hints there? I would really love to be able to use only one browser.
Check this Comment #95 : Bug #1967632 : Bugs : firefox package : Ubuntu as it may just work (and inside a container, at least) as it did for my girlfriend gov card too (sadly I couldn’t support it in OpenSC easily since they use some encryption to expose the certificates, and despite some time with Ghidra, it wasn’t clear how to find out the encryption key and algorithm they are using in the driver blob)…
Well, the problem is that you then double up data on disk (it will keep the old revision data around to roll back to), doing that for caches and all your mail is probably not a good idea …
A proper solution would be to split profile data from payload data but both apps are sadly not doing that OOTB … (you actually want your payload data to live in SNAP_USER_COMMON, but everything tied to a version of the app should be in SNAP_USER_DATA which is tied to the package revision)
Sure I was thinking that, but while I see the point for thunderbird, the firefox case may handled by just symlinking the caches paths (it implies a bit annoying to maintain startup script, though)?
Yeah, that would work … but would need some clever design for a wrapper (best done by someone with deep insight into what is relevant and what isn’t I suspect) …
I tried that in comment #80, but it didn’t work back then. That was before your comment, so maybe something changed later and now it works? I’ll try again.