thequickfixer / linux-super

Linux-super, a script to build a gentoo-only kernel made for gaming.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to linux-super

Linux-super is a modified 5.14.xx kernel patched for speed. This kernel isn't expected to be super secure, but secure to some degree.

  • This kernel doesn't have hardening to certain extents.
  • Frequently updated, so if there is bugs please feel free to let us know!
  • Fixing things because I'm smart of course.
  • Reverting any patch requires removing the folder using ./reset-cleanup-super.sh

We recommend linux 5.14.21 as there are more options for the kernel. The kernel will appear in GRUB under advanced options labeled as linux-5.14.21-super.

Patches (Default Kernel)

All of these patches are optional and one will be prompted for each one

  • Experimental Alder-lake ITMT support (Not recommended and at your own risk) (Improves performance)
  • Experimental GCC optimizations (Not recommended and at your own risk, not -O3 for your infomation)
  • BMQ/PDS schedulers (Improves performance)
  • And more...

If you've already done the patches once, you will not need to do them again or revert them.

Known-issues

  • Supports only 5.xx.xx kernels
  • Will use git soon!
  • Doesn't support multi-spaced folders
  • Repo is broken for non-Gentoo users at the moment

Requirements

  • sudo / doas (for elevation)
  • make (for building)
  • dracut (for initramfs)
  • patch (to patch the kernel)
  • tar (to extract)
  • zstd (for compatibility)
  • flex (for compatibility)
  • bison (for compatibility)
  • bc (for compatibility)
  • grub (required to be installed)
  • wget (required but will be removed soon)
  • gcc (required)

Check to see if you already have sudo / doas installed (don't re-install).

Check to see if you already have grub installed (don't re-install), if you don't have grub please don't proceed installing.

For copy-paste reasons:

gcc wget bc bison flex zstd tar patch dracut make

Installation

Setting up grub beforehand:

sudo nano /etc/default/grub

Ctrl+w to find this:

GRUB_CMDLINE_LINUX_DEFAULT

Un-comment (#) it out and replace it with this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet audit=0 loglevel=0 no_debug_objects"

git clone the linux-super repo:

git clone https://github.com/thequickfixer/linux-super.git

Change the directory:

cd linux-super/

Then do:

./run.sh

Credits

TkG Linux kernel!

Xanmod!

Graysky for his uarch patch!

Setting the patches (default kernel) (optional)

Include personal patches for the default kernel version (5.14.21) as follows:

Change directory if you have not already

cd linux-super

Make the default (5.14.21) patch directory:

mkdir linux-super-usr-patches-def

Include patches in that folder for the (5.14.21) kernel

Setting the patches (alternative kernel) (optional)

Include personal patches for the alternative kernel as follows:

Change directory if you have not already

cd linux-super

Make the default kernel patch directory:

mkdir linux-super-usr-patches

Include patches in that folder for the kernel.

About

Linux-super, a script to build a gentoo-only kernel made for gaming.

License:GNU General Public License v2.0


Languages

Language:Shell 100.0%