bieszczaders/kernel-cachyos

Project ID: 78908

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 (08.01.2024): The LTS kernel has now been upgraded to version 6.6. If you have uksmd-lts installed, then uninstall it and follow the instructions on the addons repo.

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

GCC-compiled kernels

The kernels in this repository are compiled with GCC. We have a seperate repo with Clang-compiled LTO kernels, which can be found here.

The Clang-compiled kernels give better performance, but may have issues with some kernel modules.

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
  • 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 default kernel. Otherwise you will end up with a non-functioning operating system! If it detects only x86_64_v2, you can use the LTS kernel.

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

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

OR for realtime kernel

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

OR for LTS kernel

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

LTS kernel works with x86_64v2 cpu's and legacy nvidia drivers

FEDORA SILVERBLUE

cd /etc/yum.repos.d/

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

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

sudo systemctl reboot

OR for realtime kernel

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

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

sudo systemctl reboot

LTS kernel works with x86_64v2 cpu's and legacy nvidia drivers

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 (1127)* EPEL 9 (89 downloads)
Fedora 37 x86_64 (14765)* Fedora 37 (0 downloads)
Fedora 38 x86_64 (53971)* Fedora 38 (3710 downloads)
Fedora 39 x86_64 (49079)* Fedora 39 (3765 downloads)
Fedora 40 x86_64 (4591)* Fedora 40 (528 downloads)
Fedora rawhide x86_64 (2959)* Fedora rawhide (407 downloads)

* Total number of downloaded packages.