Fixes release kernel versioning, which is lacking the subversion. Example: kernel 6.0 release was versioned as "6.0." and will now be "6.0.0".
This also unifies versioning as it'll now always be x.x.x format.
* RPM: fix the script that generates kernel.spec
- Avoids conflicts with official kernels
- Fixes the reported issues with "unversionned obsoletes"
- Works now with akmod-nvidia
Fixes: #609#513#375#339#375#173#271
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
* install.sh: RPM: do not install kernel-headers package
We do not need it to build out-of-tree kernel modules. And that's
all we want actually.
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Reportedly, multiple games (mostly Unity based, but not only?) are seeing much higher CPU usage at lower tickrates resulting in degraded performance when CPU bound.
300 Hz and less are the worst offenders, but 500 and 750 Hz are also affected to some extent. CacULE is seemingly less efficient than everything else and needs 2000 Hz to keep up in those scenarios.
OS (kernel, CONFIG_HZ) Min Average Max
Arch Linux (linux, 300 Hz) 81% 91% 96%
Arch Linux (linux-zen, 1000 Hz) 21% 25% 42%
Fedora Linux (linux (Default), 1000 Hz) 20% 25% 53%
1000 Hz isn't an issue on modern systems, but older or very weak CPUs (like Atoms) which aren't used for gaming might want to use lower values. Since our main target audience is gamers, it only makes sense to change the defaults here.
* prepare: auto-fetch latest versions + harmonize kernel version var
- Latest version is fetched from git: this prepares the road to
moving to git cloning and fetching
- Introduce the $_kver variable that follows a three digit
convention (e.g. '600', '519', '504') to enable comparing
simply between kernel versions
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
* All distros: use git to fetch/update kernel sources
- Force git cloning `linux-tkg` so the patches and config
files are automatically checksummed
- Arch: remove all the sha256sums and source files and automatically
populate them on script run.
- Move git cloning/fetching script to 'prepare' script file
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
* accept customization.cfg vars as env vars
This makes CLI way easier by enabling e.g.
_version="5.19" makepkg or
_version="5.19" ./install.sh install
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
* prepare: better handle git remotes
now there's a dictionary that gives the list of remotes
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
* prepare: add default git remote if not set or not recognized
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
* customization.cfg: allow specific kernel versions
e.g. "6.0-rc4" or "5.10.51"
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
* ci: improved workflow
1. Check periodically for newer kernels with git
2. If a newer kernel exists, with respect to l
latest Github release:
1. Build for cfs, pds, bmq for Arch
2. Make release
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
It seems to be needed for some elan touchpads among other things. It was built as a module before, but recent updates prevent that, so let's enable unconditionally.