I installed Fedora 42 Kinoite on my parents’ laptop, then added Firefox from Flatpak.
The problem is that video playback “stutters”, as if images did not arrive in the right sequence.
lspci tells me it is an Intel HD 5300. glxgears works fine. The display is 3200x1800, running at 200%, but using 1600x900 does not solve the issue.
I found many topics with similar problems, but none of them match my problem, I haven’t installed anything from rpmfusion and it is not an nvidia card. Please tell me how I can debug this further.
If you install the Firefox flatpak it will supersede the baked in Firefox. Then you can install the ffmpeg flatpak as outlined above. If you don’t install the flatpak and you end up using the layered Firefox package you will need to install the RPM Fusion repositories and install the associated packages and codecs that way (like a regular version of Fedora).
The runtime of org.mozilla.firefox is org.fedoraproject.Platform/x86_64/f42, but I am not sure which ffmpeg-full matches that. Can I find that out using flatpak list? I tried installing some versions but their runtime field is empty.
(I think I am missing something fundamental here, thanks for your patience. I am coming from Debian and I used very little Flatpak before)
The current installation of Firefox is from Fedora Flatpak repo, which does not support some video format. Instead, you can install Firefox from Flathub using the following command:
OK. I get the same output for runtime (org.fedoraproject.Platform/x86_64/f42) when I install Firefox from the Fedora repos. I don’t use the Fedora flatpak repositories (or know many who do). The first thing I do on install is…
The Flathub version will show 24.08 like in my above output. Then when you issue the command to install the ffmpeg package, it will give you a list of packages to choose from. You choose the ffmpeg runtime that matches the firefox runtime.
I know it does. But in my case, I re-install everything it deletes through Flathub. Flathub has more software, more recently updated software and more “doesn’t have to deal with American litigation worries” software.
Can you please tell me what the future-proof solution is then? Eg simply install firefox from the Flathub repo? Or something else?
@brianallenby’s solution fixes the issue for me. But this is a machine that my parents use, and I don’t live nearby so I would prefer to keep it working without manual intervention even after (automatic) updates in the future. That’s why I am experimenting with an atomic distribution.
You don’t need to delete the Fedora repo as @tqcharm says. But you have to specify which repo you want to install from if you add the Flathub repository as well. For simplicity sake, it’s also one of the reasons I remove the Fedora flatpak repositories. Everything then just comes from the Flathub repo.
With Firefox and multimedia, installing it from Flathub is probably the easiest method and then adding the corresponding ffmpeg runtime. Otherwise as @tqcharm and I pointed out earlier, you would need to use the RPM Fusion repositories for the layered Firefox package. On Silverblue/Kinoite, I use the Flathub Firefox / ffmpeg method. Otherwise on a regular Fedora install I use the RPM Fusion method.
It depends on your needs. There have been a couple of discussion threads in the Fedora space already and one is ongoing right now, about which Flatpak remote is better: Fedora or Flathub. The answer is, as usual, it depends:
If you want free software which is only built from source, more easily auditable, then you should go with Fedora;
If you want best of both worlds: preferably free software, preferably built from source, providing the latest version of apps, and being able to access also packages not built by Fedora, including proprietary packages if needed, then go with Flathub.
If the second alternative suits you more, then you could either go with @brianallenby’s suggestion and replace the Fedora Flatpaks with the Flathub ones, or you keep Fedora as the remote source of those Flatpaks that come with the initial installation, and for the rest generally use Flathub. The software manager will update apps from both sources. Either way, it’s probably best if you replace those Fedora Flatpaks with Flathub ones which handle multimedia content (image, audio, video, browser), in order to benefit the extra codecs provided by the org.freedesktop.Platform.ffmpeg-full runtime.
Also check for resources discussing some of the security concerns around browsers provided as Flatpak.
I’d say points 1 and 2 apply to both traditional and atomic desktops, whereas point 3 is better handled by atomic desktops. If an update causes issues, in most cases rebooting and selecting a previous deployment keeps the system usable. From there it’s easier to troubleshoot, or just wait for a newer deployment which would fix the issues.
Have a look also to the instructions regarding pinning existing deployments (solved with sudo ostree admin pin <boot-id>, which brings an additional safety net (though usually not necessary, as the system always keeps at least 2 deployments).
The manual for rpm-ostree and ostree should give you additional details.
Overall, for a system less “tweakable”, but also with less chances to break, atomic desktops are a good choice.