-
I'm currently attempting to package the Cachy kernels (default and LTS) for NixOS (NixOS/nixpkgs#330917). While these compile and run (haven't tested LTS yet) fine, a point was raised about how some of the optimisations from the Cachy kernel might be coming from the kernel config tweaks that come from upstream Arch and wouldn't be included in the NixOS version as a result. Currently the kernel config we're applying matches the default applied by the PKGCONFIG script (far as I can tell). Is there anything we're possibly missing by exclusively following the PKGCONFIG? We're also enabling the following features as modules for the default kernel:
and for the LTS kernel:
Are there any additional modules that Cachy adds which we've missed? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @drakon64 , Thanks for working on providing the CachyOS Kernel to nixpkgs.
for sched-ext and BORE support, which is as default used in "linux-cachyos" kernel: Be aware, that for sched-ext support there is also BPF and BTF support required. For T2 Support see following: |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response @ptr1337. I have a few questions.
Also, I don't see the Steam Deck module in https://github.com/CachyOS/linux-cachyos/blob/3728444ae7d3ba1ac6b6fa7401089143597b5aba/linux-cachyos/PKGBUILD but I do see it in https://github.com/CachyOS/linux-cachyos/blob/3728444ae7d3ba1ac6b6fa7401089143597b5aba/linux-cachyos-lts/PKGBUILD. I was under the impression that the Steam Deck patches were mainlined now, is it just that the 6.6 kernel is from before the patches were mainlined and the 6.10 kernel has them anyway? There's also two other points I wanted to bring up:
|
Beta Was this translation helpful? Give feedback.
Hey!
Yes, currently this is not fully consistent, since we only made user choices "changeable" via the PKGBUILD and set over there.
NTSync is enabled in our config directly:
https://github.com/CachyOS/linux-cachyos/blob/master/linux-cachyos/config#L2775
The SteamDeck Module is as default enabled, since it got merged upstream, even tough there are more and newer patches but these are handled in an own kernel to not bloat the patchset.
You can find it here: https://github.com/CachyOS/kernel-patches/blob/master/6.10/misc/0001-handheld.patch
I do not suggest to apply this patch as default.