Update blog post with nonfree libs info.

This commit is contained in:
daniel 2024-08-22 18:43:22 +02:00
parent 9e1a2dfce4
commit 830c120e54

View File

@ -8,6 +8,7 @@ toc: true
scrolltotop: true scrolltotop: true
tags: tags:
- Fedora - Fedora
- F40
- KDE - KDE
- Linux - Linux
- NVIDIA - 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 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 [Darktable]: https://darktable.org
[fancontrol]: https://ounapuu.ee/posts/2022/09/26/minimum-viable-fan-control-script/ [fancontrol]: https://ounapuu.ee/posts/2022/09/26/minimum-viable-fan-control-script/
[Fedora]: https://fedoraproject.org/ [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 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 neon]: https://neon.kde.org
[KDE plasma]: https://kde.org/plasma-desktop/ [KDE plasma]: https://kde.org/plasma-desktop/
[KDE spin]: https://fedoraproject.org/spins/ [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 [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 [rstudio]: https://posit.co/products/open-source/rstudio
[s3]: https://en.wikipedia.org/wiki/ACPI#S3 [s3]: https://en.wikipedia.org/wiki/ACPI#S3
[techtipsy]: https://ounapuu.ee/posts/2024/04/12/lenovo-p14s-gen4/ [techtipsy]: https://ounapuu.ee/posts/2024/04/12/lenovo-p14s-gen4/