bieszczaders/kernel-cachyos-lto

Project ID: 113355

Description

Official port linux-cachyos-bore and linux-cachyos-lts for Fedora

CachyOS

Meet CachyOS team!

linux-cachyos and linux-cachyos-lts use as default the BORE-EEVDF scheduler

  • BORE - (Burst-Oriented Response Enhancer) CPU Scheduler by firelzrd (BORE)
  • EEVDF - (Earliest Eligiable Virtual Deadline) First EEVDF is a replacement for the CFS Scheduler from Peter Zijlstra

Announcement (05.05.2024): The Lenovo Legion patchset has been removed from the LTS kernel from version 6.6.30 and will also be removed from the 6.8 kernel in the 6.8.10 release. The reason is, that some users have reported issues with it. There's a chance, we will add them again, if the issues get fixed from upstream.

Announcement (02.11.2023): Due to EEVDF scheduler getting into the upstream kernel we are renaming kernel-cachyos-bore-eevdf to kernel-cachyos and dropping cfs based kernel.

DNF may give you this error when updating: Problem: The operation would result in removing the following protected packages: kernel-cachyos-bore-eevdf-core, to get around this remove the protected package with sudo rpm -e --nodeps --allmatches protected package name update the system and then reboot

Important Notice: Clang-compiled LTO Kernel Repository

This repository offers a kernel compiled with Clang and LTO (Link-Time Optimization). It's crucial to note that enabling this repository may disrupt AKMODs functionality on kernels compiled with GCC, such as the stock Fedora kernel or kernel-cachyos (non-LTO).

Please be aware that if you activate this repository, akmods modules may not work correctly on GCC-compiled kernels.

Features

  • AMD PSTATE Preferred Core and enabled as default
  • Latest BTRFS and XFS improvements & fixes.
  • Latest & improved ZSTD 1.5.5 patch-set.
  • UserKSM daemon from pf.
  • Improved BFQ Scheduler.
  • Back-ported patches from linux-next.
  • BBRv3 tcp_congestion_control.
  • Scheduler patches from linux-next/tip.
  • General improved sysctl settings and upstream scheduler fixes.
  • OpenRGB and ACS Override support.
  • HDR Patches for AMD GPU's and gamescope.
  • Default support for Steam Deck.
  • Lenovo Legion Patchset (removed from the LTS kernel from version 6.6.30)
  • GitHub copr-linux-cachyos.

Checking for the cpu support

Check support by the following the command

/lib64/ld-linux-x86-64.so.2 --help | grep "(supported, searched)"

If it does not detect x86_64_v3 support do not install the kernel. Otherwise you will end up with a non-functioning operating system!

SElinux and cachyos kernel

sudo setsebool -P domain_kernel_load_modules on

If you are using SElinux. Enable the above policy to load kernel modules.

Installation Instructions

FEDORA WORKSTATION

sudo dnf copr enable bieszczaders/kernel-cachyos-lto

sudo dnf install kernel-cachyos-lto kernel-cachyos-lto-devel-matched

OR for LTS kernel

sudo dnf install kernel-cachyos-lts-lto kernel-cachyos-lts-lto-devel-matched

FEDORA SILVERBLUE

cd /etc/yum.repos.d/

sudo wget https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-lto/repo/fedora-$(rpm -E %fedora)/bieszczaders-kernel-cachyos-fedora-lto-$(rpm -E %fedora).repo

sudo rpm-ostree override remove kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra --install kernel-cachyos-lto

sudo systemctl reboot

OR for LTS kernel

sudo rpm-ostree override remove kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra --install kernel-cachyos-lts-lto

sudo systemctl reboot

OPTIONAL (HIGHLY RECOMMENDED) FOR BETTER PERFORMANCE

Install UKSMD.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
EPEL 9 x86_64 (52)* EPEL 9 (13 downloads)
Fedora 38 x86_64 (147)* Fedora 38 (15 downloads)
Fedora 39 x86_64 (3286)* Fedora 39 (237 downloads)
Fedora 40 x86_64 (1906)* Fedora 40 (180 downloads)
Fedora rawhide x86_64 (341)* Fedora rawhide (25 downloads)

* Total number of downloaded packages.


Quick Enable

#> dnf copr enable bieszczaders/kernel-cachyos-lto
More info about enabling Copr repositories

Other Actions