diff --git a/content/posts/2024-08-05-linux-on-thinkpad-P14s-Gen-5/index.md b/content/posts/2024-08-05-linux-on-thinkpad-P14s-Gen-5/index.md index 1948d83..4ed7e14 100644 --- a/content/posts/2024-08-05-linux-on-thinkpad-P14s-Gen-5/index.md +++ b/content/posts/2024-08-05-linux-on-thinkpad-P14s-Gen-5/index.md @@ -8,6 +8,7 @@ toc: true scrolltotop: true tags: - Fedora + - F40 - KDE - Linux - NVIDIA @@ -223,14 +224,42 @@ Two important things to add: echo level 7 > /proc/acpi/ibm/fan; sleep 5; echo level 1 > /proc/acpi/ibm/fan ``` +## Update 2024-08-22 + +Fedora installs only free software by default, which means that [Kdenlive][] and +other multimedia software will have trouble using H.264 and H.265 video codecs. +A free version of [ffmpeg][] is installed by default. This is what I did to +replace `ffmpeg-free` with the non-free `ffmpeg` on F40: + +1. Enable the non-free [RPM Fusion][] repositories as written on the [RPM Fusion + homepage][]: + + ```bash + sudo dnf 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 dnf config-manager --enable fedora-cisco-openh264 + ``` + +2. Remove `ffmpeg-free` in favor of `ffmpeg`: + + ```bash + sudo dnf swap ffmpeg-free ffmpeg --allowerasing + ``` + +After doing that and restarting Kdenlive, I was able to render my project using +the H.264 and H.265 codecs as I used to be able to do with Ubuntu-based systems. + [Darktable]: https://darktable.org [fancontrol]: https://ounapuu.ee/posts/2022/09/26/minimum-viable-fan-control-script/ [Fedora]: https://fedoraproject.org/ +[ffmpeg]: https://ffmpeg.org [KDE forum]: https://discuss.kde.org/t/unable-to-start-kde-neon-plasma-on-core-ultra-nvidia-rtx-500-ada/18578 [KDE neon]: https://neon.kde.org [KDE plasma]: https://kde.org/plasma-desktop/ [KDE spin]: https://fedoraproject.org/spins/ +[Kdenlive]: https://kdenlive.org [p14s-weight]: https://www.lenovo.com/us/en/p/laptops/thinkpad/thinkpadp/thinkpad-p14s-gen-5-(14-inch-intel)-mobile-workstation/21g2002cus#tech_specs +[rpm fusion]: https://rpmfusion.org +[rpm fusion homepage]: https://rpmfusion.org/Configuration [rstudio]: https://posit.co/products/open-source/rstudio [s3]: https://en.wikipedia.org/wiki/ACPI#S3 [techtipsy]: https://ounapuu.ee/posts/2024/04/12/lenovo-p14s-gen4/