Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cachyos/copr-linux-cachyos

CachyOS Packages for Fedora
https://github.com/cachyos/copr-linux-cachyos

cachyos copr kernel optimized

Last synced: about 2 hours ago
JSON representation

CachyOS Packages for Fedora

Awesome Lists containing this project

README

        


CachyOS logo


CachyOS COPR Repository for Fedora


Goodies from CachyOS ported to Fedora.


This repository is maintained by [@1Naim](https://github.com/1Naim), [@andersrh](https://github.com/andersrh) and [@TrixieUA](https://github.com/TrixieUA).

- [List of Packages We Provide](#list-of-ported-packages)
- [kernel-cachyos & kernel-cachyos-lts](#kernel-cachyos--kernel-cachyos-lts)
- [Addons](#addons)
- [CachyOS-Settings](#cachyos-settings)
- [scx-scheds](#scx-scheds)
- [uksmd](#uksmd)
- [ananicy-cpp](#ananicy-cpp)

# List of Packages We Provide
## `kernel-cachyos` & `kernel-cachyos-lts`
### A port of the default `linux-cachyos` and LTS `linux-cachyos-lts` kernels for Fedora.
#### :arrow_heading_down: Features
- Choose between `GCC` and `LLVM-ThinLTO`
- Optimized for `x86-64v3` CPUs for `kernel-cachyos` and `x86-64v2` for `kernel-cachyos-lts`
- BORE scheduler with sched-ext support (sched-ext support only for `kernel-cachyos`)
- AMD P-State Preferred Core, AMD CPB Switch and upstream `amd-pstate` enchancements (exclusive to `kernel-cachyos`)
- Cachy Sauce - Provides tweaks for the scheduler and other settings
- Prebuilt `nvidia-open` kernel modules
- Latest & improved ZSTD patchset
- Improved BFQ Scheduler
- BBRv3 tcp_congestion_control
- v4l2loopback modules as default included
- Cherry picked patches from Clear Linux
- Backported patches from `linux-next`
- OpenRGB and ACS Override support
- NTSync patched and integrated into the kernel (exclusive to `kernel-cachyos`)

#### Installation Instructions
Make sure your CPU supports the higher target `x86-64` architectures.
```bash
/lib64/ld-linux-x86-64.so.2 --help | grep "(supported, searched)"
```

Next, enable the COPR repository hosting the kernels.
```bash
sudo dnf copr enable bieszczaders/kernel-cachyos # For GCC built kernels
# or
sudo dnf copr enable bieszczaders/kernel-cachyos-lto # For LLVM-ThinLTO build kernels
```

Now you can install the kernels
```bash
sudo dnf install kernel-cachyos kernel-cachyos-devel-matched # For GCC built kernels
# or
sudo dnf install kernel-cachyos-lto kernel-cachyos-lto-devel-matched # For LLVM-ThinLTO built kernels

## LTS Kernel
sudo dnf install kernel-cachyos-lts kernel-cachyos-lts-devel-matched
# or
sudo dnf install kernel-cachyos-lts-lto kernel-cachyos-lts-lto-devel-matched
```

Lastly if you use SELinux, you need to enable the necessary policy to be able to load kernel modules.
```bash
sudo setsebool -P domain_kernel_load_modules on
```

##### Fedora Silverblue
```bash
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
```

## Addons
We provide a few addons that supplement the kernel packages and system.
- [CachyOS-Settings](https://github.com/CachyOS/CachyOS-Settings) - Settings used in CachyOS (includes modprobe config, udev rules, etc) packaged for Fedora.
- [scx-scheds](https://github.com/sched-ext/scx) - sched-ext schedulers. Provides both `scx-scheds` releases and `scx-scheds-git` package.
- [uksmd](https://github.com/CachyOS/uksmd) - Userspace KSM helper daemon.
- [ananicy-cpp](https://gitlab.com/ananicy-cpp/ananicy-cpp/) & [cachyos-ananicy-rules](https://github.com/CachyOS/ananicy-rules) - Auto nice daemon with rules support.

### Installation instructions
First, enable the COPR repository hosting addon packages.
```bash
sudo dnf copr enable bieszczaders/kernel-cachyos-addons
```

Now you can install the addon packages.

#### CachyOS-Settings
```bash
sudo dnf install cachyos-settings
sudo dracut -f
```

#### scx-scheds
```bash
sudo dnf install scx-scheds
#or
sudo dnf install scx-scheds-git # For -git package

# Choose which scx scheduler to use by editting `/etc/default/scx`
sudo nano /etc/default/scx

# Then enable the systemd service to make it persistent across boots
sudo systemctl enable --now scx.service
```

#### uksmd
```bash
sudo dnf install uksmd
sudo systemctl enable --now uksmd.service
```

#### ananicy-cpp
```bash
sudo dnf install ananicy-cpp
sudo systemctl enable --now ananicy-cpp
```