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 (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

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 (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 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 (1164)* EPEL 9 (96 downloads)
Fedora 37 x86_64 (14765)* Fedora 37 (0 downloads)
Fedora 38 x86_64 (54370)* Fedora 38 (3776 downloads)
Fedora 39 x86_64 (50993)* Fedora 39 (3891 downloads)
Fedora 40 x86_64 (10470)* Fedora 40 (1022 downloads)
Fedora rawhide x86_64 (3013)* Fedora rawhide (411 downloads)

* Total number of downloaded packages.