This Howto is meant to deal with particular issues that can be found with OSTree systems such as SilverBlue, Kinoite and CoreOS.
Most of the time, the Installation procedure is mentioned in the Configuration page and works:
sudo rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm sudo reboot
Then follow the additional sections as needed.
Note: One may have preferred a non-RPM version of the installation process, but we really need this RPM to be able to propagate changes at full scale if needed (like security issue, repository change or else).
One may need to add few packages on OSTree Host
Hardware codecs with Intel(recent)
rpm-ostree install intel-media-driver
Hardware codecs with Intel(older)
rpm-ostree install libva-intel-driver
Hardware codecs with AMD (mesa)
This is needed since Fedora 37 and later... and mainly concern AMD hardware since NVIDIA hardware with nouveau doesn't work well
rpm-ostree override remove mesa-va-drivers --install mesa-va-drivers-freeworld rpm-ostree override remove mesa-vdpau-drivers --install mesa-vdpau-drivers-freeworld
Hardware codecs with NVIDIA
The Nvidia proprieatary driver doesn't support VAAPI, but there is a wrapper that can bridge NVDEC/NVENC with VAAPI
rpm-ostree install nvidia-vaapi-backend
rpm-ostree install ffmpeg gstreamer1-plugin-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly gstreamer1-vaapi
Updates with OSTree
At least of the rpmfusion*-release RPM package that rely on a given Fedora release, there is a need to rebase theses RPM "along" the normal "ostree" rebase. This can be acheived by
sudo rpm-ostree update --uninstall rpmfusion-free-release --uninstall rpmfusion-nonfree-release --install rpmfusion-free-release --install rpmfusion-nonfree-release
Note: at RPM Fusion, we consider that the special needs to mention theses packages while upgrading is a very evil design flow from rpm-ostree perspective. See also this thread