OSTree

About OSTree

This Howto is meant to deal with particular issues that can be found with OSTree systems such as SilverBlue, Kinoite and CoreOS.

Installation

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).

Multimedia

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 libva-nvidia-driver

Software codecs

rpm-ostree install gstreamer1-plugin-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly gstreamer1-vaapi

rpm-ostree override remove libavcodec-free libavfilter-free libavformat-free libavutil-free libpostproc-free libswresample-free libswscale-free --install ffmpeg

Updates with OSTree

Minor releases

Major releases

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


CategoryHowto

Howto/OSTree (last edited 2024-05-16 08:43:54 by NicolasChauvet)